From 03fb9776481567d15b61437479a364d779f8f36e Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 20:51:34 +0000 Subject: [PATCH 1/2] fix: update gapic-generator-java with mock service generation fixes PiperOrigin-RevId: 457524730 Source-Link: https://github.com/googleapis/googleapis/commit/917e7f21cb1dc062744c6694437cdd46219f28cb Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9 --- .../livestream/v1/LivestreamServiceGrpc.java | 2119 ------------- .../v1/LivestreamServiceClient.java | 62 +- .../v1/LivestreamServiceSettings.java | 7 +- .../video/livestream/v1/gapic_metadata.json | 0 .../video/livestream/v1/package-info.java | 0 .../GrpcLivestreamServiceCallableFactory.java | 0 .../v1/stub/GrpcLivestreamServiceStub.java | 1 + ...pJsonLivestreamServiceCallableFactory.java | 0 .../stub/HttpJsonLivestreamServiceStub.java | 1 + .../v1/stub/LivestreamServiceStub.java | 0 .../stub/LivestreamServiceStubSettings.java | 6 +- .../LivestreamServiceClientHttpJsonTest.java | 0 .../v1/LivestreamServiceClientTest.java | 0 .../livestream/v1/MockLivestreamService.java | 0 .../v1/MockLivestreamServiceImpl.java | 0 .../livestream/v1/LivestreamServiceGrpc.java | 1625 ++++++++++ .../video/livestream/v1/AudioFormat.java | 453 ++- .../livestream/v1/AudioFormatOrBuilder.java | 48 +- .../video/livestream/v1/AudioStream.java | 1158 +++---- .../livestream/v1/AudioStreamOrBuilder.java | 72 +- .../livestream/v1/AudioStreamProperty.java | 370 +-- .../v1/AudioStreamPropertyOrBuilder.java | 29 +- .../cloud/video/livestream/v1/Channel.java | 2664 ++++++----------- .../video/livestream/v1/ChannelName.java | 0 .../v1/ChannelOperationResponse.java | 246 +- .../v1/ChannelOperationResponseOrBuilder.java | 9 + .../video/livestream/v1/ChannelOrBuilder.java | 259 +- .../livestream/v1/CreateChannelRequest.java | 646 ++-- .../v1/CreateChannelRequestOrBuilder.java | 73 +- .../livestream/v1/CreateEventRequest.java | 649 ++-- .../v1/CreateEventRequestOrBuilder.java | 73 +- .../livestream/v1/CreateInputRequest.java | 649 ++-- .../v1/CreateInputRequestOrBuilder.java | 73 +- .../livestream/v1/DeleteChannelRequest.java | 458 ++- .../v1/DeleteChannelRequestOrBuilder.java | 47 +- .../livestream/v1/DeleteEventRequest.java | 421 ++- .../v1/DeleteEventRequestOrBuilder.java | 44 +- .../livestream/v1/DeleteInputRequest.java | 421 ++- .../v1/DeleteInputRequestOrBuilder.java | 44 +- .../video/livestream/v1/ElementaryStream.java | 690 ++--- .../v1/ElementaryStreamOrBuilder.java | 54 +- .../cloud/video/livestream/v1/Event.java | 1755 ++++------- .../cloud/video/livestream/v1/EventName.java | 0 .../video/livestream/v1/EventOrBuilder.java | 145 +- .../livestream/v1/GetChannelRequest.java | 342 +-- .../v1/GetChannelRequestOrBuilder.java | 31 + .../video/livestream/v1/GetEventRequest.java | 339 +-- .../v1/GetEventRequestOrBuilder.java | 31 + .../video/livestream/v1/GetInputRequest.java | 339 +-- .../v1/GetInputRequestOrBuilder.java | 31 + .../cloud/video/livestream/v1/Input.java | 1905 +++++------- .../video/livestream/v1/InputAttachment.java | 962 +++--- .../v1/InputAttachmentOrBuilder.java | 59 +- .../cloud/video/livestream/v1/InputName.java | 0 .../video/livestream/v1/InputOrBuilder.java | 155 +- .../livestream/v1/InputStreamProperty.java | 765 ++--- .../v1/InputStreamPropertyOrBuilder.java | 56 +- .../livestream/v1/ListChannelsRequest.java | 615 ++-- .../v1/ListChannelsRequestOrBuilder.java | 65 +- .../livestream/v1/ListChannelsResponse.java | 573 ++-- .../v1/ListChannelsResponseOrBuilder.java | 63 +- .../livestream/v1/ListEventsRequest.java | 615 ++-- .../v1/ListEventsRequestOrBuilder.java | 65 +- .../livestream/v1/ListEventsResponse.java | 573 ++-- .../v1/ListEventsResponseOrBuilder.java | 63 +- .../livestream/v1/ListInputsRequest.java | 615 ++-- .../v1/ListInputsRequestOrBuilder.java | 65 +- .../livestream/v1/ListInputsResponse.java | 573 ++-- .../v1/ListInputsResponseOrBuilder.java | 63 +- .../video/livestream/v1/LocationName.java | 0 .../cloud/video/livestream/v1/LogConfig.java | 382 +-- .../livestream/v1/LogConfigOrBuilder.java | 24 +- .../cloud/video/livestream/v1/Manifest.java | 710 ++--- .../livestream/v1/ManifestOrBuilder.java | 70 +- .../cloud/video/livestream/v1/MuxStream.java | 602 ++-- .../livestream/v1/MuxStreamOrBuilder.java | 62 +- .../livestream/v1/OperationMetadata.java | 776 ++--- .../v1/OperationMetadataOrBuilder.java | 82 +- .../video/livestream/v1/OutputsProto.java | 253 ++ .../livestream/v1/PreprocessingConfig.java | 1218 +++----- .../v1/PreprocessingConfigOrBuilder.java | 34 +- .../video/livestream/v1/ResourcesProto.java | 352 +++ .../video/livestream/v1/SegmentSettings.java | 337 +-- .../v1/SegmentSettingsOrBuilder.java | 26 +- .../video/livestream/v1/ServiceProto.java | 460 +++ .../video/livestream/v1/SpriteSheet.java | 647 ++-- .../livestream/v1/SpriteSheetOrBuilder.java | 59 +- .../livestream/v1/StartChannelRequest.java | 421 ++- .../v1/StartChannelRequestOrBuilder.java | 44 +- .../livestream/v1/StopChannelRequest.java | 421 ++- .../v1/StopChannelRequestOrBuilder.java | 44 +- .../cloud/video/livestream/v1/TextStream.java | 304 +- .../livestream/v1/TextStreamOrBuilder.java | 27 +- .../livestream/v1/UpdateChannelRequest.java | 556 ++-- .../v1/UpdateChannelRequestOrBuilder.java | 55 +- .../livestream/v1/UpdateInputRequest.java | 559 ++-- .../v1/UpdateInputRequestOrBuilder.java | 55 +- .../video/livestream/v1/VideoFormat.java | 416 ++- .../livestream/v1/VideoFormatOrBuilder.java | 36 +- .../video/livestream/v1/VideoStream.java | 1547 ++++------ .../livestream/v1/VideoStreamOrBuilder.java | 26 +- .../livestream/v1/VideoStreamProperty.java | 370 +-- .../v1/VideoStreamPropertyOrBuilder.java | 29 +- .../cloud/video/livestream/v1/outputs.proto | 0 .../cloud/video/livestream/v1/resources.proto | 0 .../cloud/video/livestream/v1/service.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createchannel/AsyncCreateChannel.java | 0 .../createchannel/AsyncCreateChannelLRO.java | 0 .../createchannel/SyncCreateChannel.java | 0 ...reateChannelLocationnameChannelString.java | 6 +- .../SyncCreateChannelStringChannelString.java | 0 .../createevent/AsyncCreateEvent.java | 0 .../createevent/SyncCreateEvent.java | 0 ...SyncCreateEventChannelnameEventString.java | 0 .../SyncCreateEventStringEventString.java | 0 .../createinput/AsyncCreateInput.java | 0 .../createinput/AsyncCreateInputLRO.java | 0 .../createinput/SyncCreateInput.java | 0 ...yncCreateInputLocationnameInputString.java | 0 .../SyncCreateInputStringInputString.java | 0 .../deletechannel/AsyncDeleteChannel.java | 0 .../deletechannel/AsyncDeleteChannelLRO.java | 0 .../deletechannel/SyncDeleteChannel.java | 1 + .../SyncDeleteChannelChannelname.java | 1 + .../SyncDeleteChannelString.java | 1 + .../deleteevent/AsyncDeleteEvent.java | 0 .../deleteevent/SyncDeleteEvent.java | 1 + .../deleteevent/SyncDeleteEventEventname.java | 1 + .../deleteevent/SyncDeleteEventString.java | 1 + .../deleteinput/AsyncDeleteInput.java | 0 .../deleteinput/AsyncDeleteInputLRO.java | 0 .../deleteinput/SyncDeleteInput.java | 1 + .../deleteinput/SyncDeleteInputInputname.java | 1 + .../deleteinput/SyncDeleteInputString.java | 1 + .../getchannel/AsyncGetChannel.java | 0 .../getchannel/SyncGetChannel.java | 0 .../getchannel/SyncGetChannelChannelname.java | 0 .../getchannel/SyncGetChannelString.java | 0 .../getevent/AsyncGetEvent.java | 0 .../getevent/SyncGetEvent.java | 0 .../getevent/SyncGetEventEventname.java | 0 .../getevent/SyncGetEventString.java | 0 .../getinput/AsyncGetInput.java | 0 .../getinput/SyncGetInput.java | 0 .../getinput/SyncGetInputInputname.java | 0 .../getinput/SyncGetInputString.java | 0 .../listchannels/AsyncListChannels.java | 0 .../listchannels/AsyncListChannelsPaged.java | 0 .../listchannels/SyncListChannels.java | 0 .../SyncListChannelsLocationname.java | 0 .../listchannels/SyncListChannelsString.java | 0 .../listevents/AsyncListEvents.java | 0 .../listevents/AsyncListEventsPaged.java | 0 .../listevents/SyncListEvents.java | 0 .../listevents/SyncListEventsChannelname.java | 0 .../listevents/SyncListEventsString.java | 0 .../listinputs/AsyncListInputs.java | 0 .../listinputs/AsyncListInputsPaged.java | 0 .../listinputs/SyncListInputs.java | 0 .../SyncListInputsLocationname.java | 0 .../listinputs/SyncListInputsString.java | 0 .../startchannel/AsyncStartChannel.java | 0 .../startchannel/AsyncStartChannelLRO.java | 0 .../startchannel/SyncStartChannel.java | 0 .../SyncStartChannelChannelname.java | 0 .../startchannel/SyncStartChannelString.java | 0 .../stopchannel/AsyncStopChannel.java | 0 .../stopchannel/AsyncStopChannelLRO.java | 0 .../stopchannel/SyncStopChannel.java | 0 .../SyncStopChannelChannelname.java | 0 .../stopchannel/SyncStopChannelString.java | 0 .../updatechannel/AsyncUpdateChannel.java | 0 .../updatechannel/AsyncUpdateChannelLRO.java | 0 .../updatechannel/SyncUpdateChannel.java | 0 .../SyncUpdateChannelChannelFieldmask.java | 0 .../updateinput/AsyncUpdateInput.java | 0 .../updateinput/AsyncUpdateInputLRO.java | 0 .../updateinput/SyncUpdateInput.java | 0 .../SyncUpdateInputInputFieldmask.java | 0 .../getchannel/SyncGetChannel.java | 0 .../getchannel/SyncGetChannel.java | 0 .../v1/ChannelOperationResponseOrBuilder.java | 24 - .../v1/GetChannelRequestOrBuilder.java | 56 - .../v1/GetEventRequestOrBuilder.java | 56 - .../v1/GetInputRequestOrBuilder.java | 56 - .../video/livestream/v1/OutputsProto.java | 316 -- .../video/livestream/v1/ResourcesProto.java | 416 --- .../video/livestream/v1/ServiceProto.java | 493 --- 191 files changed, 13995 insertions(+), 22775 deletions(-) delete mode 100644 grpc-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceGrpc.java rename {google-cloud-live-stream => owl-bot-staging/v1/google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java (98%) rename {google-cloud-live-stream => owl-bot-staging/v1/google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceSettings.java (98%) rename {google-cloud-live-stream => owl-bot-staging/v1/google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/gapic_metadata.json (100%) rename {google-cloud-live-stream => owl-bot-staging/v1/google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/package-info.java (100%) rename {google-cloud-live-stream => owl-bot-staging/v1/google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceCallableFactory.java (100%) rename {google-cloud-live-stream => owl-bot-staging/v1/google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceStub.java (99%) rename {google-cloud-live-stream => owl-bot-staging/v1/google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceCallableFactory.java (100%) rename {google-cloud-live-stream => owl-bot-staging/v1/google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceStub.java (99%) rename {google-cloud-live-stream => owl-bot-staging/v1/google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStub.java (100%) rename {google-cloud-live-stream => owl-bot-staging/v1/google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStubSettings.java (99%) rename {google-cloud-live-stream => owl-bot-staging/v1/google-cloud-live-stream}/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientHttpJsonTest.java (100%) rename {google-cloud-live-stream => owl-bot-staging/v1/google-cloud-live-stream}/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientTest.java (100%) rename {google-cloud-live-stream => owl-bot-staging/v1/google-cloud-live-stream}/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamService.java (100%) rename {google-cloud-live-stream => owl-bot-staging/v1/google-cloud-live-stream}/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamServiceImpl.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceGrpc.java rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/AudioFormat.java (72%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/AudioFormatOrBuilder.java (66%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/AudioStream.java (77%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamOrBuilder.java (83%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamProperty.java (69%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamPropertyOrBuilder.java (63%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/Channel.java (72%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ChannelName.java (100%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponse.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponseOrBuilder.java rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ChannelOrBuilder.java (80%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequest.java (70%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequestOrBuilder.java (70%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequest.java (70%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequestOrBuilder.java (70%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequest.java (69%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequestOrBuilder.java (70%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequest.java (73%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequestOrBuilder.java (73%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequest.java (72%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequestOrBuilder.java (70%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequest.java (72%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequestOrBuilder.java (70%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStream.java (71%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStreamOrBuilder.java (76%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/Event.java (69%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/EventName.java (100%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/EventOrBuilder.java (73%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequestOrBuilder.java rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequestOrBuilder.java rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequestOrBuilder.java rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/Input.java (70%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/InputAttachment.java (69%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/InputAttachmentOrBuilder.java (57%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/InputName.java (100%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/InputOrBuilder.java (76%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/InputStreamProperty.java (72%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/InputStreamPropertyOrBuilder.java (80%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequest.java (70%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequestOrBuilder.java (66%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponse.java (73%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponseOrBuilder.java (71%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequest.java (70%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequestOrBuilder.java (66%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponse.java (73%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponseOrBuilder.java (71%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequest.java (70%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequestOrBuilder.java (66%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponse.java (73%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponseOrBuilder.java (71%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/LocationName.java (100%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/LogConfig.java (71%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/LogConfigOrBuilder.java (57%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/Manifest.java (76%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ManifestOrBuilder.java (82%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/MuxStream.java (74%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/MuxStreamOrBuilder.java (79%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadata.java (70%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadataOrBuilder.java (74%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfig.java (72%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfigOrBuilder.java (71%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettings.java (74%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettingsOrBuilder.java (78%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheet.java (76%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheetOrBuilder.java (81%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequest.java (72%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequestOrBuilder.java (70%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequest.java (72%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequestOrBuilder.java (70%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/TextStream.java (69%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/TextStreamOrBuilder.java (53%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequest.java (77%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequestOrBuilder.java (84%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequest.java (74%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequestOrBuilder.java (80%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/VideoFormat.java (71%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/VideoFormatOrBuilder.java (60%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/VideoStream.java (78%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamOrBuilder.java (62%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamProperty.java (69%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamPropertyOrBuilder.java (63%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/proto/google/cloud/video/livestream/v1/outputs.proto (100%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/proto/google/cloud/video/livestream/v1/resources.proto (100%) rename {proto-google-cloud-live-stream-v1 => owl-bot-staging/v1/proto-google-cloud-live-stream-v1}/src/main/proto/google/cloud/video/livestream/v1/service.proto (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannelLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelLocationnameChannelString.java (88%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelStringChannelString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/AsyncCreateEvent.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEvent.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventChannelnameEventString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventStringEventString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInput.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInputLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInput.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputLocationnameInputString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputStringInputString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannelLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannel.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelChannelname.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelString.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/AsyncDeleteEvent.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEvent.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventEventname.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventString.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInput.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInputLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInput.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputInputname.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputString.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/AsyncGetChannel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelChannelname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/AsyncGetEvent.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEvent.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventEventname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/AsyncGetInput.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInput.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputInputname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannels.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannelsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannels.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEvents.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEventsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEvents.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsChannelname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannelLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelChannelname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannelLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelChannelname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannelLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannelChannelFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInput.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInputLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInput.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInputInputFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamservicesettings/getchannel/SyncGetChannel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/livestream/v1/stub/livestreamservicestubsettings/getchannel/SyncGetChannel.java (100%) delete mode 100644 proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponseOrBuilder.java delete mode 100644 proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequestOrBuilder.java delete mode 100644 proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequestOrBuilder.java delete mode 100644 proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequestOrBuilder.java delete mode 100644 proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java delete mode 100644 proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java delete mode 100644 proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java diff --git a/grpc-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceGrpc.java b/grpc-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceGrpc.java deleted file mode 100644 index 03689d2..0000000 --- a/grpc-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceGrpc.java +++ /dev/null @@ -1,2119 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.video.livestream.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Using Live Stream API, you can generate live streams in the various
- * renditions and streaming formats. The streaming format include HTTP Live
- * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
- * a source stream in the various ways, including Real-Time Messaging
- * Protocol (RTMP) and Secure Reliable Transport (SRT).
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/video/livestream/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class LivestreamServiceGrpc { - - private LivestreamServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.video.livestream.v1.LivestreamService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.CreateChannelRequest, - com.google.longrunning.Operation> - getCreateChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateChannel", - requestType = com.google.cloud.video.livestream.v1.CreateChannelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.CreateChannelRequest, - com.google.longrunning.Operation> - getCreateChannelMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.CreateChannelRequest, - com.google.longrunning.Operation> - getCreateChannelMethod; - if ((getCreateChannelMethod = LivestreamServiceGrpc.getCreateChannelMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getCreateChannelMethod = LivestreamServiceGrpc.getCreateChannelMethod) == null) { - LivestreamServiceGrpc.getCreateChannelMethod = - getCreateChannelMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.CreateChannelRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new LivestreamServiceMethodDescriptorSupplier("CreateChannel")) - .build(); - } - } - } - return getCreateChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.ListChannelsRequest, - com.google.cloud.video.livestream.v1.ListChannelsResponse> - getListChannelsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListChannels", - requestType = com.google.cloud.video.livestream.v1.ListChannelsRequest.class, - responseType = com.google.cloud.video.livestream.v1.ListChannelsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.ListChannelsRequest, - com.google.cloud.video.livestream.v1.ListChannelsResponse> - getListChannelsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.ListChannelsRequest, - com.google.cloud.video.livestream.v1.ListChannelsResponse> - getListChannelsMethod; - if ((getListChannelsMethod = LivestreamServiceGrpc.getListChannelsMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getListChannelsMethod = LivestreamServiceGrpc.getListChannelsMethod) == null) { - LivestreamServiceGrpc.getListChannelsMethod = - getListChannelsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListChannels")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.ListChannelsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.ListChannelsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new LivestreamServiceMethodDescriptorSupplier("ListChannels")) - .build(); - } - } - } - return getListChannelsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.GetChannelRequest, - com.google.cloud.video.livestream.v1.Channel> - getGetChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetChannel", - requestType = com.google.cloud.video.livestream.v1.GetChannelRequest.class, - responseType = com.google.cloud.video.livestream.v1.Channel.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.GetChannelRequest, - com.google.cloud.video.livestream.v1.Channel> - getGetChannelMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.GetChannelRequest, - com.google.cloud.video.livestream.v1.Channel> - getGetChannelMethod; - if ((getGetChannelMethod = LivestreamServiceGrpc.getGetChannelMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getGetChannelMethod = LivestreamServiceGrpc.getGetChannelMethod) == null) { - LivestreamServiceGrpc.getGetChannelMethod = - getGetChannelMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.GetChannelRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.Channel.getDefaultInstance())) - .setSchemaDescriptor( - new LivestreamServiceMethodDescriptorSupplier("GetChannel")) - .build(); - } - } - } - return getGetChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.DeleteChannelRequest, - com.google.longrunning.Operation> - getDeleteChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteChannel", - requestType = com.google.cloud.video.livestream.v1.DeleteChannelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.DeleteChannelRequest, - com.google.longrunning.Operation> - getDeleteChannelMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.DeleteChannelRequest, - com.google.longrunning.Operation> - getDeleteChannelMethod; - if ((getDeleteChannelMethod = LivestreamServiceGrpc.getDeleteChannelMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getDeleteChannelMethod = LivestreamServiceGrpc.getDeleteChannelMethod) == null) { - LivestreamServiceGrpc.getDeleteChannelMethod = - getDeleteChannelMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.DeleteChannelRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new LivestreamServiceMethodDescriptorSupplier("DeleteChannel")) - .build(); - } - } - } - return getDeleteChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.UpdateChannelRequest, - com.google.longrunning.Operation> - getUpdateChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateChannel", - requestType = com.google.cloud.video.livestream.v1.UpdateChannelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.UpdateChannelRequest, - com.google.longrunning.Operation> - getUpdateChannelMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.UpdateChannelRequest, - com.google.longrunning.Operation> - getUpdateChannelMethod; - if ((getUpdateChannelMethod = LivestreamServiceGrpc.getUpdateChannelMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getUpdateChannelMethod = LivestreamServiceGrpc.getUpdateChannelMethod) == null) { - LivestreamServiceGrpc.getUpdateChannelMethod = - getUpdateChannelMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.UpdateChannelRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new LivestreamServiceMethodDescriptorSupplier("UpdateChannel")) - .build(); - } - } - } - return getUpdateChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.StartChannelRequest, - com.google.longrunning.Operation> - getStartChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StartChannel", - requestType = com.google.cloud.video.livestream.v1.StartChannelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.StartChannelRequest, - com.google.longrunning.Operation> - getStartChannelMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.StartChannelRequest, - com.google.longrunning.Operation> - getStartChannelMethod; - if ((getStartChannelMethod = LivestreamServiceGrpc.getStartChannelMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getStartChannelMethod = LivestreamServiceGrpc.getStartChannelMethod) == null) { - LivestreamServiceGrpc.getStartChannelMethod = - getStartChannelMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.StartChannelRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new LivestreamServiceMethodDescriptorSupplier("StartChannel")) - .build(); - } - } - } - return getStartChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.StopChannelRequest, com.google.longrunning.Operation> - getStopChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StopChannel", - requestType = com.google.cloud.video.livestream.v1.StopChannelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.StopChannelRequest, com.google.longrunning.Operation> - getStopChannelMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.StopChannelRequest, - com.google.longrunning.Operation> - getStopChannelMethod; - if ((getStopChannelMethod = LivestreamServiceGrpc.getStopChannelMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getStopChannelMethod = LivestreamServiceGrpc.getStopChannelMethod) == null) { - LivestreamServiceGrpc.getStopChannelMethod = - getStopChannelMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StopChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.StopChannelRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new LivestreamServiceMethodDescriptorSupplier("StopChannel")) - .build(); - } - } - } - return getStopChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.CreateInputRequest, com.google.longrunning.Operation> - getCreateInputMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInput", - requestType = com.google.cloud.video.livestream.v1.CreateInputRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.CreateInputRequest, com.google.longrunning.Operation> - getCreateInputMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.CreateInputRequest, - com.google.longrunning.Operation> - getCreateInputMethod; - if ((getCreateInputMethod = LivestreamServiceGrpc.getCreateInputMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getCreateInputMethod = LivestreamServiceGrpc.getCreateInputMethod) == null) { - LivestreamServiceGrpc.getCreateInputMethod = - getCreateInputMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInput")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.CreateInputRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new LivestreamServiceMethodDescriptorSupplier("CreateInput")) - .build(); - } - } - } - return getCreateInputMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.ListInputsRequest, - com.google.cloud.video.livestream.v1.ListInputsResponse> - getListInputsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInputs", - requestType = com.google.cloud.video.livestream.v1.ListInputsRequest.class, - responseType = com.google.cloud.video.livestream.v1.ListInputsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.ListInputsRequest, - com.google.cloud.video.livestream.v1.ListInputsResponse> - getListInputsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.ListInputsRequest, - com.google.cloud.video.livestream.v1.ListInputsResponse> - getListInputsMethod; - if ((getListInputsMethod = LivestreamServiceGrpc.getListInputsMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getListInputsMethod = LivestreamServiceGrpc.getListInputsMethod) == null) { - LivestreamServiceGrpc.getListInputsMethod = - getListInputsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInputs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.ListInputsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.ListInputsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new LivestreamServiceMethodDescriptorSupplier("ListInputs")) - .build(); - } - } - } - return getListInputsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.GetInputRequest, - com.google.cloud.video.livestream.v1.Input> - getGetInputMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInput", - requestType = com.google.cloud.video.livestream.v1.GetInputRequest.class, - responseType = com.google.cloud.video.livestream.v1.Input.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.GetInputRequest, - com.google.cloud.video.livestream.v1.Input> - getGetInputMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.GetInputRequest, - com.google.cloud.video.livestream.v1.Input> - getGetInputMethod; - if ((getGetInputMethod = LivestreamServiceGrpc.getGetInputMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getGetInputMethod = LivestreamServiceGrpc.getGetInputMethod) == null) { - LivestreamServiceGrpc.getGetInputMethod = - getGetInputMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInput")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.GetInputRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.Input.getDefaultInstance())) - .setSchemaDescriptor( - new LivestreamServiceMethodDescriptorSupplier("GetInput")) - .build(); - } - } - } - return getGetInputMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.DeleteInputRequest, com.google.longrunning.Operation> - getDeleteInputMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInput", - requestType = com.google.cloud.video.livestream.v1.DeleteInputRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.DeleteInputRequest, com.google.longrunning.Operation> - getDeleteInputMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.DeleteInputRequest, - com.google.longrunning.Operation> - getDeleteInputMethod; - if ((getDeleteInputMethod = LivestreamServiceGrpc.getDeleteInputMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getDeleteInputMethod = LivestreamServiceGrpc.getDeleteInputMethod) == null) { - LivestreamServiceGrpc.getDeleteInputMethod = - getDeleteInputMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInput")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.DeleteInputRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new LivestreamServiceMethodDescriptorSupplier("DeleteInput")) - .build(); - } - } - } - return getDeleteInputMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.UpdateInputRequest, com.google.longrunning.Operation> - getUpdateInputMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateInput", - requestType = com.google.cloud.video.livestream.v1.UpdateInputRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.UpdateInputRequest, com.google.longrunning.Operation> - getUpdateInputMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.UpdateInputRequest, - com.google.longrunning.Operation> - getUpdateInputMethod; - if ((getUpdateInputMethod = LivestreamServiceGrpc.getUpdateInputMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getUpdateInputMethod = LivestreamServiceGrpc.getUpdateInputMethod) == null) { - LivestreamServiceGrpc.getUpdateInputMethod = - getUpdateInputMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInput")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.UpdateInputRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new LivestreamServiceMethodDescriptorSupplier("UpdateInput")) - .build(); - } - } - } - return getUpdateInputMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.CreateEventRequest, - com.google.cloud.video.livestream.v1.Event> - getCreateEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateEvent", - requestType = com.google.cloud.video.livestream.v1.CreateEventRequest.class, - responseType = com.google.cloud.video.livestream.v1.Event.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.CreateEventRequest, - com.google.cloud.video.livestream.v1.Event> - getCreateEventMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.CreateEventRequest, - com.google.cloud.video.livestream.v1.Event> - getCreateEventMethod; - if ((getCreateEventMethod = LivestreamServiceGrpc.getCreateEventMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getCreateEventMethod = LivestreamServiceGrpc.getCreateEventMethod) == null) { - LivestreamServiceGrpc.getCreateEventMethod = - getCreateEventMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.CreateEventRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.Event.getDefaultInstance())) - .setSchemaDescriptor( - new LivestreamServiceMethodDescriptorSupplier("CreateEvent")) - .build(); - } - } - } - return getCreateEventMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.ListEventsRequest, - com.google.cloud.video.livestream.v1.ListEventsResponse> - getListEventsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEvents", - requestType = com.google.cloud.video.livestream.v1.ListEventsRequest.class, - responseType = com.google.cloud.video.livestream.v1.ListEventsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.ListEventsRequest, - com.google.cloud.video.livestream.v1.ListEventsResponse> - getListEventsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.ListEventsRequest, - com.google.cloud.video.livestream.v1.ListEventsResponse> - getListEventsMethod; - if ((getListEventsMethod = LivestreamServiceGrpc.getListEventsMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getListEventsMethod = LivestreamServiceGrpc.getListEventsMethod) == null) { - LivestreamServiceGrpc.getListEventsMethod = - getListEventsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEvents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.ListEventsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.ListEventsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new LivestreamServiceMethodDescriptorSupplier("ListEvents")) - .build(); - } - } - } - return getListEventsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.GetEventRequest, - com.google.cloud.video.livestream.v1.Event> - getGetEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEvent", - requestType = com.google.cloud.video.livestream.v1.GetEventRequest.class, - responseType = com.google.cloud.video.livestream.v1.Event.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.GetEventRequest, - com.google.cloud.video.livestream.v1.Event> - getGetEventMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.GetEventRequest, - com.google.cloud.video.livestream.v1.Event> - getGetEventMethod; - if ((getGetEventMethod = LivestreamServiceGrpc.getGetEventMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getGetEventMethod = LivestreamServiceGrpc.getGetEventMethod) == null) { - LivestreamServiceGrpc.getGetEventMethod = - getGetEventMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.GetEventRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.Event.getDefaultInstance())) - .setSchemaDescriptor( - new LivestreamServiceMethodDescriptorSupplier("GetEvent")) - .build(); - } - } - } - return getGetEventMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.DeleteEventRequest, com.google.protobuf.Empty> - getDeleteEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteEvent", - requestType = com.google.cloud.video.livestream.v1.DeleteEventRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.DeleteEventRequest, com.google.protobuf.Empty> - getDeleteEventMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.livestream.v1.DeleteEventRequest, com.google.protobuf.Empty> - getDeleteEventMethod; - if ((getDeleteEventMethod = LivestreamServiceGrpc.getDeleteEventMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getDeleteEventMethod = LivestreamServiceGrpc.getDeleteEventMethod) == null) { - LivestreamServiceGrpc.getDeleteEventMethod = - getDeleteEventMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.DeleteEventRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new LivestreamServiceMethodDescriptorSupplier("DeleteEvent")) - .build(); - } - } - } - return getDeleteEventMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static LivestreamServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public LivestreamServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LivestreamServiceStub(channel, callOptions); - } - }; - return LivestreamServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static LivestreamServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public LivestreamServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LivestreamServiceBlockingStub(channel, callOptions); - } - }; - return LivestreamServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static LivestreamServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public LivestreamServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LivestreamServiceFutureStub(channel, callOptions); - } - }; - return LivestreamServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Using Live Stream API, you can generate live streams in the various
-   * renditions and streaming formats. The streaming format include HTTP Live
-   * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
-   * a source stream in the various ways, including Real-Time Messaging
-   * Protocol (RTMP) and Secure Reliable Transport (SRT).
-   * 
- */ - public abstract static class LivestreamServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a channel with the provided unique ID in the specified
-     * region.
-     * 
- */ - public void createChannel( - com.google.cloud.video.livestream.v1.CreateChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateChannelMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns a list of all channels in the specified region.
-     * 
- */ - public void listChannels( - com.google.cloud.video.livestream.v1.ListChannelsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListChannelsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the specified channel.
-     * 
- */ - public void getChannel( - com.google.cloud.video.livestream.v1.GetChannelRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetChannelMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes the specified channel.
-     * 
- */ - public void deleteChannel( - com.google.cloud.video.livestream.v1.DeleteChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteChannelMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the specified channel.
-     * 
- */ - public void updateChannel( - com.google.cloud.video.livestream.v1.UpdateChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateChannelMethod(), responseObserver); - } - - /** - * - * - *
-     * Starts the specified channel. Part of the video pipeline will be created
-     * only when the StartChannel request is received by the server.
-     * 
- */ - public void startChannel( - com.google.cloud.video.livestream.v1.StartChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getStartChannelMethod(), responseObserver); - } - - /** - * - * - *
-     * Stops the specified channel. Part of the video pipeline will be released
-     * when the StopChannel request is received by the server.
-     * 
- */ - public void stopChannel( - com.google.cloud.video.livestream.v1.StopChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getStopChannelMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates an input with the provided unique ID in the specified region.
-     * 
- */ - public void createInput( - com.google.cloud.video.livestream.v1.CreateInputRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateInputMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns a list of all inputs in the specified region.
-     * 
- */ - public void listInputs( - com.google.cloud.video.livestream.v1.ListInputsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInputsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the specified input.
-     * 
- */ - public void getInput( - com.google.cloud.video.livestream.v1.GetInputRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInputMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes the specified input.
-     * 
- */ - public void deleteInput( - com.google.cloud.video.livestream.v1.DeleteInputRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteInputMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the specified input.
-     * 
- */ - public void updateInput( - com.google.cloud.video.livestream.v1.UpdateInputRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateInputMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates an event with the provided unique ID in the specified channel.
-     * 
- */ - public void createEvent( - com.google.cloud.video.livestream.v1.CreateEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateEventMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns a list of all events in the specified channel.
-     * 
- */ - public void listEvents( - com.google.cloud.video.livestream.v1.ListEventsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEventsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the specified event.
-     * 
- */ - public void getEvent( - com.google.cloud.video.livestream.v1.GetEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEventMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes the specified event.
-     * 
- */ - public void deleteEvent( - com.google.cloud.video.livestream.v1.DeleteEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteEventMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.CreateChannelRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_CHANNEL))) - .addMethod( - getListChannelsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.ListChannelsRequest, - com.google.cloud.video.livestream.v1.ListChannelsResponse>( - this, METHODID_LIST_CHANNELS))) - .addMethod( - getGetChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.GetChannelRequest, - com.google.cloud.video.livestream.v1.Channel>(this, METHODID_GET_CHANNEL))) - .addMethod( - getDeleteChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.DeleteChannelRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_CHANNEL))) - .addMethod( - getUpdateChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.UpdateChannelRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_CHANNEL))) - .addMethod( - getStartChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.StartChannelRequest, - com.google.longrunning.Operation>(this, METHODID_START_CHANNEL))) - .addMethod( - getStopChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.StopChannelRequest, - com.google.longrunning.Operation>(this, METHODID_STOP_CHANNEL))) - .addMethod( - getCreateInputMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.CreateInputRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_INPUT))) - .addMethod( - getListInputsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.ListInputsRequest, - com.google.cloud.video.livestream.v1.ListInputsResponse>( - this, METHODID_LIST_INPUTS))) - .addMethod( - getGetInputMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.GetInputRequest, - com.google.cloud.video.livestream.v1.Input>(this, METHODID_GET_INPUT))) - .addMethod( - getDeleteInputMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.DeleteInputRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_INPUT))) - .addMethod( - getUpdateInputMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.UpdateInputRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_INPUT))) - .addMethod( - getCreateEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.CreateEventRequest, - com.google.cloud.video.livestream.v1.Event>(this, METHODID_CREATE_EVENT))) - .addMethod( - getListEventsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.ListEventsRequest, - com.google.cloud.video.livestream.v1.ListEventsResponse>( - this, METHODID_LIST_EVENTS))) - .addMethod( - getGetEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.GetEventRequest, - com.google.cloud.video.livestream.v1.Event>(this, METHODID_GET_EVENT))) - .addMethod( - getDeleteEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.DeleteEventRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_EVENT))) - .build(); - } - } - - /** - * - * - *
-   * Using Live Stream API, you can generate live streams in the various
-   * renditions and streaming formats. The streaming format include HTTP Live
-   * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
-   * a source stream in the various ways, including Real-Time Messaging
-   * Protocol (RTMP) and Secure Reliable Transport (SRT).
-   * 
- */ - public static final class LivestreamServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private LivestreamServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected LivestreamServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LivestreamServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a channel with the provided unique ID in the specified
-     * region.
-     * 
- */ - public void createChannel( - com.google.cloud.video.livestream.v1.CreateChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateChannelMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns a list of all channels in the specified region.
-     * 
- */ - public void listChannels( - com.google.cloud.video.livestream.v1.ListChannelsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListChannelsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns the specified channel.
-     * 
- */ - public void getChannel( - com.google.cloud.video.livestream.v1.GetChannelRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetChannelMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes the specified channel.
-     * 
- */ - public void deleteChannel( - com.google.cloud.video.livestream.v1.DeleteChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteChannelMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the specified channel.
-     * 
- */ - public void updateChannel( - com.google.cloud.video.livestream.v1.UpdateChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateChannelMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Starts the specified channel. Part of the video pipeline will be created
-     * only when the StartChannel request is received by the server.
-     * 
- */ - public void startChannel( - com.google.cloud.video.livestream.v1.StartChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartChannelMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Stops the specified channel. Part of the video pipeline will be released
-     * when the StopChannel request is received by the server.
-     * 
- */ - public void stopChannel( - com.google.cloud.video.livestream.v1.StopChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStopChannelMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates an input with the provided unique ID in the specified region.
-     * 
- */ - public void createInput( - com.google.cloud.video.livestream.v1.CreateInputRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInputMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns a list of all inputs in the specified region.
-     * 
- */ - public void listInputs( - com.google.cloud.video.livestream.v1.ListInputsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInputsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Returns the specified input.
-     * 
- */ - public void getInput( - com.google.cloud.video.livestream.v1.GetInputRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInputMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes the specified input.
-     * 
- */ - public void deleteInput( - com.google.cloud.video.livestream.v1.DeleteInputRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInputMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the specified input.
-     * 
- */ - public void updateInput( - com.google.cloud.video.livestream.v1.UpdateInputRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInputMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates an event with the provided unique ID in the specified channel.
-     * 
- */ - public void createEvent( - com.google.cloud.video.livestream.v1.CreateEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEventMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns a list of all events in the specified channel.
-     * 
- */ - public void listEvents( - com.google.cloud.video.livestream.v1.ListEventsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEventsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Returns the specified event.
-     * 
- */ - public void getEvent( - com.google.cloud.video.livestream.v1.GetEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEventMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes the specified event.
-     * 
- */ - public void deleteEvent( - com.google.cloud.video.livestream.v1.DeleteEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEventMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Using Live Stream API, you can generate live streams in the various
-   * renditions and streaming formats. The streaming format include HTTP Live
-   * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
-   * a source stream in the various ways, including Real-Time Messaging
-   * Protocol (RTMP) and Secure Reliable Transport (SRT).
-   * 
- */ - public static final class LivestreamServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private LivestreamServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected LivestreamServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LivestreamServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a channel with the provided unique ID in the specified
-     * region.
-     * 
- */ - public com.google.longrunning.Operation createChannel( - com.google.cloud.video.livestream.v1.CreateChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateChannelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns a list of all channels in the specified region.
-     * 
- */ - public com.google.cloud.video.livestream.v1.ListChannelsResponse listChannels( - com.google.cloud.video.livestream.v1.ListChannelsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListChannelsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the specified channel.
-     * 
- */ - public com.google.cloud.video.livestream.v1.Channel getChannel( - com.google.cloud.video.livestream.v1.GetChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetChannelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes the specified channel.
-     * 
- */ - public com.google.longrunning.Operation deleteChannel( - com.google.cloud.video.livestream.v1.DeleteChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteChannelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the specified channel.
-     * 
- */ - public com.google.longrunning.Operation updateChannel( - com.google.cloud.video.livestream.v1.UpdateChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateChannelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Starts the specified channel. Part of the video pipeline will be created
-     * only when the StartChannel request is received by the server.
-     * 
- */ - public com.google.longrunning.Operation startChannel( - com.google.cloud.video.livestream.v1.StartChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartChannelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Stops the specified channel. Part of the video pipeline will be released
-     * when the StopChannel request is received by the server.
-     * 
- */ - public com.google.longrunning.Operation stopChannel( - com.google.cloud.video.livestream.v1.StopChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStopChannelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates an input with the provided unique ID in the specified region.
-     * 
- */ - public com.google.longrunning.Operation createInput( - com.google.cloud.video.livestream.v1.CreateInputRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInputMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns a list of all inputs in the specified region.
-     * 
- */ - public com.google.cloud.video.livestream.v1.ListInputsResponse listInputs( - com.google.cloud.video.livestream.v1.ListInputsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInputsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the specified input.
-     * 
- */ - public com.google.cloud.video.livestream.v1.Input getInput( - com.google.cloud.video.livestream.v1.GetInputRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInputMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes the specified input.
-     * 
- */ - public com.google.longrunning.Operation deleteInput( - com.google.cloud.video.livestream.v1.DeleteInputRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInputMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the specified input.
-     * 
- */ - public com.google.longrunning.Operation updateInput( - com.google.cloud.video.livestream.v1.UpdateInputRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInputMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates an event with the provided unique ID in the specified channel.
-     * 
- */ - public com.google.cloud.video.livestream.v1.Event createEvent( - com.google.cloud.video.livestream.v1.CreateEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateEventMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns a list of all events in the specified channel.
-     * 
- */ - public com.google.cloud.video.livestream.v1.ListEventsResponse listEvents( - com.google.cloud.video.livestream.v1.ListEventsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEventsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the specified event.
-     * 
- */ - public com.google.cloud.video.livestream.v1.Event getEvent( - com.google.cloud.video.livestream.v1.GetEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEventMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes the specified event.
-     * 
- */ - public com.google.protobuf.Empty deleteEvent( - com.google.cloud.video.livestream.v1.DeleteEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteEventMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Using Live Stream API, you can generate live streams in the various
-   * renditions and streaming formats. The streaming format include HTTP Live
-   * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
-   * a source stream in the various ways, including Real-Time Messaging
-   * Protocol (RTMP) and Secure Reliable Transport (SRT).
-   * 
- */ - public static final class LivestreamServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private LivestreamServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected LivestreamServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LivestreamServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a channel with the provided unique ID in the specified
-     * region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createChannel(com.google.cloud.video.livestream.v1.CreateChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateChannelMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns a list of all channels in the specified region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.video.livestream.v1.ListChannelsResponse> - listChannels(com.google.cloud.video.livestream.v1.ListChannelsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListChannelsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns the specified channel.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.video.livestream.v1.Channel> - getChannel(com.google.cloud.video.livestream.v1.GetChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetChannelMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes the specified channel.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteChannel(com.google.cloud.video.livestream.v1.DeleteChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteChannelMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the specified channel.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateChannel(com.google.cloud.video.livestream.v1.UpdateChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateChannelMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Starts the specified channel. Part of the video pipeline will be created
-     * only when the StartChannel request is received by the server.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - startChannel(com.google.cloud.video.livestream.v1.StartChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStartChannelMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Stops the specified channel. Part of the video pipeline will be released
-     * when the StopChannel request is received by the server.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - stopChannel(com.google.cloud.video.livestream.v1.StopChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStopChannelMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates an input with the provided unique ID in the specified region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createInput(com.google.cloud.video.livestream.v1.CreateInputRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInputMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns a list of all inputs in the specified region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.video.livestream.v1.ListInputsResponse> - listInputs(com.google.cloud.video.livestream.v1.ListInputsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInputsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns the specified input.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.video.livestream.v1.Input> - getInput(com.google.cloud.video.livestream.v1.GetInputRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInputMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes the specified input.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteInput(com.google.cloud.video.livestream.v1.DeleteInputRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInputMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the specified input.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateInput(com.google.cloud.video.livestream.v1.UpdateInputRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateInputMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates an event with the provided unique ID in the specified channel.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.video.livestream.v1.Event> - createEvent(com.google.cloud.video.livestream.v1.CreateEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateEventMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns a list of all events in the specified channel.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.video.livestream.v1.ListEventsResponse> - listEvents(com.google.cloud.video.livestream.v1.ListEventsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEventsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns the specified event.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.video.livestream.v1.Event> - getEvent(com.google.cloud.video.livestream.v1.GetEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEventMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes the specified event.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteEvent(com.google.cloud.video.livestream.v1.DeleteEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteEventMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_CHANNEL = 0; - private static final int METHODID_LIST_CHANNELS = 1; - private static final int METHODID_GET_CHANNEL = 2; - private static final int METHODID_DELETE_CHANNEL = 3; - private static final int METHODID_UPDATE_CHANNEL = 4; - private static final int METHODID_START_CHANNEL = 5; - private static final int METHODID_STOP_CHANNEL = 6; - private static final int METHODID_CREATE_INPUT = 7; - private static final int METHODID_LIST_INPUTS = 8; - private static final int METHODID_GET_INPUT = 9; - private static final int METHODID_DELETE_INPUT = 10; - private static final int METHODID_UPDATE_INPUT = 11; - private static final int METHODID_CREATE_EVENT = 12; - private static final int METHODID_LIST_EVENTS = 13; - private static final int METHODID_GET_EVENT = 14; - private static final int METHODID_DELETE_EVENT = 15; - - 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 LivestreamServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(LivestreamServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_CHANNEL: - serviceImpl.createChannel( - (com.google.cloud.video.livestream.v1.CreateChannelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CHANNELS: - serviceImpl.listChannels( - (com.google.cloud.video.livestream.v1.ListChannelsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.video.livestream.v1.ListChannelsResponse>) - responseObserver); - break; - case METHODID_GET_CHANNEL: - serviceImpl.getChannel( - (com.google.cloud.video.livestream.v1.GetChannelRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_CHANNEL: - serviceImpl.deleteChannel( - (com.google.cloud.video.livestream.v1.DeleteChannelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CHANNEL: - serviceImpl.updateChannel( - (com.google.cloud.video.livestream.v1.UpdateChannelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_START_CHANNEL: - serviceImpl.startChannel( - (com.google.cloud.video.livestream.v1.StartChannelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_STOP_CHANNEL: - serviceImpl.stopChannel( - (com.google.cloud.video.livestream.v1.StopChannelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_INPUT: - serviceImpl.createInput( - (com.google.cloud.video.livestream.v1.CreateInputRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INPUTS: - serviceImpl.listInputs( - (com.google.cloud.video.livestream.v1.ListInputsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_INPUT: - serviceImpl.getInput( - (com.google.cloud.video.livestream.v1.GetInputRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_INPUT: - serviceImpl.deleteInput( - (com.google.cloud.video.livestream.v1.DeleteInputRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_INPUT: - serviceImpl.updateInput( - (com.google.cloud.video.livestream.v1.UpdateInputRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_EVENT: - serviceImpl.createEvent( - (com.google.cloud.video.livestream.v1.CreateEventRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_EVENTS: - serviceImpl.listEvents( - (com.google.cloud.video.livestream.v1.ListEventsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_EVENT: - serviceImpl.getEvent( - (com.google.cloud.video.livestream.v1.GetEventRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_EVENT: - serviceImpl.deleteEvent( - (com.google.cloud.video.livestream.v1.DeleteEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class LivestreamServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - LivestreamServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("LivestreamService"); - } - } - - private static final class LivestreamServiceFileDescriptorSupplier - extends LivestreamServiceBaseDescriptorSupplier { - LivestreamServiceFileDescriptorSupplier() {} - } - - private static final class LivestreamServiceMethodDescriptorSupplier - extends LivestreamServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - LivestreamServiceMethodDescriptorSupplier(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 (LivestreamServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new LivestreamServiceFileDescriptorSupplier()) - .addMethod(getCreateChannelMethod()) - .addMethod(getListChannelsMethod()) - .addMethod(getGetChannelMethod()) - .addMethod(getDeleteChannelMethod()) - .addMethod(getUpdateChannelMethod()) - .addMethod(getStartChannelMethod()) - .addMethod(getStopChannelMethod()) - .addMethod(getCreateInputMethod()) - .addMethod(getListInputsMethod()) - .addMethod(getGetInputMethod()) - .addMethod(getDeleteInputMethod()) - .addMethod(getUpdateInputMethod()) - .addMethod(getCreateEventMethod()) - .addMethod(getListEventsMethod()) - .addMethod(getGetEventMethod()) - .addMethod(getDeleteEventMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java b/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java similarity index 98% rename from google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java rename to owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java index 39aa5a0..1474bcd 100644 --- a/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java +++ b/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; +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; @@ -65,13 +66,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. *
* @@ -195,6 +196,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } @@ -763,12 +765,18 @@ public final UnaryCallable deleteChannelCallabl * @param updateMask Field mask is used to specify the fields to be overwritten in the Channel * resource by the update. You can only update the following fields: *
    - *
  • [`inputAttachments`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputattachment) - *
  • [`output`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#output) - *
  • [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#ElementaryStream) - *
  • [`muxStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#muxstream) - *
  • [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#Manifest) - *
  • [`spritesheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet) + *
  • + * [`inputAttachments`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputattachment) + *
  • + * [`output`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#output) + *
  • + * [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#ElementaryStream) + *
  • + * [`muxStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#muxstream) + *
  • + * [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#Manifest) + *
  • + * [`spritesheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet) *
*

The fields specified in the update_mask are relative to the resource, not the full * request. A field will be overwritten if it is in the mask. @@ -1691,8 +1699,10 @@ public final UnaryCallable deleteInputCallable() * @param updateMask Field mask is used to specify the fields to be overwritten in the Input * resource by the update. You can only update the following fields: *

    - *
  • [`preprocessingConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#PreprocessingConfig) - *
  • [`securityRules`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#SecurityRule) + *
  • + * [`preprocessingConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#PreprocessingConfig) + *
  • + * [`securityRules`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#SecurityRule) *
*

The fields specified in the update_mask are relative to the resource, not the full * request. A field will be overwritten if it is in the mask. @@ -2293,10 +2303,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListChannelsPagedResponse extends AbstractPagedListResponse< - ListChannelsRequest, - ListChannelsResponse, - Channel, - ListChannelsPage, + ListChannelsRequest, ListChannelsResponse, Channel, ListChannelsPage, ListChannelsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2345,10 +2352,7 @@ public ApiFuture createPageAsync( public static class ListChannelsFixedSizeCollection extends AbstractFixedSizeCollection< - ListChannelsRequest, - ListChannelsResponse, - Channel, - ListChannelsPage, + ListChannelsRequest, ListChannelsResponse, Channel, ListChannelsPage, ListChannelsFixedSizeCollection> { private ListChannelsFixedSizeCollection(List pages, int collectionSize) { @@ -2368,10 +2372,7 @@ protected ListChannelsFixedSizeCollection createCollection( public static class ListInputsPagedResponse extends AbstractPagedListResponse< - ListInputsRequest, - ListInputsResponse, - Input, - ListInputsPage, + ListInputsRequest, ListInputsResponse, Input, ListInputsPage, ListInputsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2418,10 +2419,7 @@ public ApiFuture createPageAsync( public static class ListInputsFixedSizeCollection extends AbstractFixedSizeCollection< - ListInputsRequest, - ListInputsResponse, - Input, - ListInputsPage, + ListInputsRequest, ListInputsResponse, Input, ListInputsPage, ListInputsFixedSizeCollection> { private ListInputsFixedSizeCollection(List pages, int collectionSize) { @@ -2441,10 +2439,7 @@ protected ListInputsFixedSizeCollection createCollection( public static class ListEventsPagedResponse extends AbstractPagedListResponse< - ListEventsRequest, - ListEventsResponse, - Event, - ListEventsPage, + ListEventsRequest, ListEventsResponse, Event, ListEventsPage, ListEventsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2491,10 +2486,7 @@ public ApiFuture createPageAsync( public static class ListEventsFixedSizeCollection extends AbstractFixedSizeCollection< - ListEventsRequest, - ListEventsResponse, - Event, - ListEventsPage, + ListEventsRequest, ListEventsResponse, Event, ListEventsPage, ListEventsFixedSizeCollection> { private ListEventsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceSettings.java b/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceSettings.java similarity index 98% rename from google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceSettings.java rename to owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceSettings.java index b7ad623..3328a2b 100644 --- a/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceSettings.java +++ b/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceSettings.java @@ -31,6 +31,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.video.livestream.v1.stub.LivestreamServiceStubSettings; @@ -47,9 +48,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/gapic_metadata.json similarity index 100% rename from google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/gapic_metadata.json diff --git a/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/package-info.java b/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/package-info.java similarity index 100% rename from google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/package-info.java diff --git a/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceCallableFactory.java b/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceCallableFactory.java similarity index 100% rename from google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceCallableFactory.java rename to owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceCallableFactory.java diff --git a/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceStub.java b/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceStub.java similarity index 99% rename from google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceStub.java rename to owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceStub.java index f991801..9fd9948 100644 --- a/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceStub.java +++ b/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceStub.java @@ -58,6 +58,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceCallableFactory.java b/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceCallableFactory.java similarity index 100% rename from google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceCallableFactory.java rename to owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceCallableFactory.java diff --git a/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceStub.java b/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceStub.java similarity index 99% rename from google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceStub.java rename to owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceStub.java index 5202b87..4777e31 100644 --- a/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceStub.java +++ b/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceStub.java @@ -32,6 +32,7 @@ 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/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStub.java b/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStub.java similarity index 100% rename from google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStub.java rename to owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStub.java diff --git a/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStubSettings.java b/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStubSettings.java similarity index 99% rename from google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStubSettings.java rename to owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStubSettings.java index 4100742..6703f45 100644 --- a/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStubSettings.java @@ -91,9 +91,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientHttpJsonTest.java similarity index 100% rename from google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientHttpJsonTest.java diff --git a/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientTest.java b/owl-bot-staging/v1/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientTest.java similarity index 100% rename from google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientTest.java rename to owl-bot-staging/v1/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientTest.java diff --git a/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamService.java b/owl-bot-staging/v1/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamService.java similarity index 100% rename from google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamService.java rename to owl-bot-staging/v1/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamService.java diff --git a/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamServiceImpl.java b/owl-bot-staging/v1/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamServiceImpl.java similarity index 100% rename from google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamServiceImpl.java rename to owl-bot-staging/v1/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamServiceImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceGrpc.java new file mode 100644 index 0000000..bee663f --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceGrpc.java @@ -0,0 +1,1625 @@ +package com.google.cloud.video.livestream.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * Using Live Stream API, you can generate live streams in the various
+ * renditions and streaming formats. The streaming format include HTTP Live
+ * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
+ * a source stream in the various ways, including Real-Time Messaging
+ * Protocol (RTMP) and Secure Reliable Transport (SRT).
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/video/livestream/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class LivestreamServiceGrpc { + + private LivestreamServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.video.livestream.v1.LivestreamService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateChannel", + requestType = com.google.cloud.video.livestream.v1.CreateChannelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateChannelMethod() { + io.grpc.MethodDescriptor getCreateChannelMethod; + if ((getCreateChannelMethod = LivestreamServiceGrpc.getCreateChannelMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getCreateChannelMethod = LivestreamServiceGrpc.getCreateChannelMethod) == null) { + LivestreamServiceGrpc.getCreateChannelMethod = getCreateChannelMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.CreateChannelRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("CreateChannel")) + .build(); + } + } + } + return getCreateChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor getListChannelsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListChannels", + requestType = com.google.cloud.video.livestream.v1.ListChannelsRequest.class, + responseType = com.google.cloud.video.livestream.v1.ListChannelsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListChannelsMethod() { + io.grpc.MethodDescriptor getListChannelsMethod; + if ((getListChannelsMethod = LivestreamServiceGrpc.getListChannelsMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getListChannelsMethod = LivestreamServiceGrpc.getListChannelsMethod) == null) { + LivestreamServiceGrpc.getListChannelsMethod = getListChannelsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListChannels")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.ListChannelsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.ListChannelsResponse.getDefaultInstance())) + .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("ListChannels")) + .build(); + } + } + } + return getListChannelsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetChannel", + requestType = com.google.cloud.video.livestream.v1.GetChannelRequest.class, + responseType = com.google.cloud.video.livestream.v1.Channel.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetChannelMethod() { + io.grpc.MethodDescriptor getGetChannelMethod; + if ((getGetChannelMethod = LivestreamServiceGrpc.getGetChannelMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getGetChannelMethod = LivestreamServiceGrpc.getGetChannelMethod) == null) { + LivestreamServiceGrpc.getGetChannelMethod = getGetChannelMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.GetChannelRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.Channel.getDefaultInstance())) + .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("GetChannel")) + .build(); + } + } + } + return getGetChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteChannel", + requestType = com.google.cloud.video.livestream.v1.DeleteChannelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteChannelMethod() { + io.grpc.MethodDescriptor getDeleteChannelMethod; + if ((getDeleteChannelMethod = LivestreamServiceGrpc.getDeleteChannelMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getDeleteChannelMethod = LivestreamServiceGrpc.getDeleteChannelMethod) == null) { + LivestreamServiceGrpc.getDeleteChannelMethod = getDeleteChannelMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.DeleteChannelRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("DeleteChannel")) + .build(); + } + } + } + return getDeleteChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateChannel", + requestType = com.google.cloud.video.livestream.v1.UpdateChannelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateChannelMethod() { + io.grpc.MethodDescriptor getUpdateChannelMethod; + if ((getUpdateChannelMethod = LivestreamServiceGrpc.getUpdateChannelMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getUpdateChannelMethod = LivestreamServiceGrpc.getUpdateChannelMethod) == null) { + LivestreamServiceGrpc.getUpdateChannelMethod = getUpdateChannelMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.UpdateChannelRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("UpdateChannel")) + .build(); + } + } + } + return getUpdateChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor getStartChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StartChannel", + requestType = com.google.cloud.video.livestream.v1.StartChannelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getStartChannelMethod() { + io.grpc.MethodDescriptor getStartChannelMethod; + if ((getStartChannelMethod = LivestreamServiceGrpc.getStartChannelMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getStartChannelMethod = LivestreamServiceGrpc.getStartChannelMethod) == null) { + LivestreamServiceGrpc.getStartChannelMethod = getStartChannelMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.StartChannelRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("StartChannel")) + .build(); + } + } + } + return getStartChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor getStopChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StopChannel", + requestType = com.google.cloud.video.livestream.v1.StopChannelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getStopChannelMethod() { + io.grpc.MethodDescriptor getStopChannelMethod; + if ((getStopChannelMethod = LivestreamServiceGrpc.getStopChannelMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getStopChannelMethod = LivestreamServiceGrpc.getStopChannelMethod) == null) { + LivestreamServiceGrpc.getStopChannelMethod = getStopChannelMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StopChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.StopChannelRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("StopChannel")) + .build(); + } + } + } + return getStopChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateInputMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInput", + requestType = com.google.cloud.video.livestream.v1.CreateInputRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateInputMethod() { + io.grpc.MethodDescriptor getCreateInputMethod; + if ((getCreateInputMethod = LivestreamServiceGrpc.getCreateInputMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getCreateInputMethod = LivestreamServiceGrpc.getCreateInputMethod) == null) { + LivestreamServiceGrpc.getCreateInputMethod = getCreateInputMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInput")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.CreateInputRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("CreateInput")) + .build(); + } + } + } + return getCreateInputMethod; + } + + private static volatile io.grpc.MethodDescriptor getListInputsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInputs", + requestType = com.google.cloud.video.livestream.v1.ListInputsRequest.class, + responseType = com.google.cloud.video.livestream.v1.ListInputsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListInputsMethod() { + io.grpc.MethodDescriptor getListInputsMethod; + if ((getListInputsMethod = LivestreamServiceGrpc.getListInputsMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getListInputsMethod = LivestreamServiceGrpc.getListInputsMethod) == null) { + LivestreamServiceGrpc.getListInputsMethod = getListInputsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInputs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.ListInputsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.ListInputsResponse.getDefaultInstance())) + .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("ListInputs")) + .build(); + } + } + } + return getListInputsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetInputMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInput", + requestType = com.google.cloud.video.livestream.v1.GetInputRequest.class, + responseType = com.google.cloud.video.livestream.v1.Input.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetInputMethod() { + io.grpc.MethodDescriptor getGetInputMethod; + if ((getGetInputMethod = LivestreamServiceGrpc.getGetInputMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getGetInputMethod = LivestreamServiceGrpc.getGetInputMethod) == null) { + LivestreamServiceGrpc.getGetInputMethod = getGetInputMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInput")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.GetInputRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.Input.getDefaultInstance())) + .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("GetInput")) + .build(); + } + } + } + return getGetInputMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteInputMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInput", + requestType = com.google.cloud.video.livestream.v1.DeleteInputRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteInputMethod() { + io.grpc.MethodDescriptor getDeleteInputMethod; + if ((getDeleteInputMethod = LivestreamServiceGrpc.getDeleteInputMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getDeleteInputMethod = LivestreamServiceGrpc.getDeleteInputMethod) == null) { + LivestreamServiceGrpc.getDeleteInputMethod = getDeleteInputMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInput")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.DeleteInputRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("DeleteInput")) + .build(); + } + } + } + return getDeleteInputMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateInputMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInput", + requestType = com.google.cloud.video.livestream.v1.UpdateInputRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateInputMethod() { + io.grpc.MethodDescriptor getUpdateInputMethod; + if ((getUpdateInputMethod = LivestreamServiceGrpc.getUpdateInputMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getUpdateInputMethod = LivestreamServiceGrpc.getUpdateInputMethod) == null) { + LivestreamServiceGrpc.getUpdateInputMethod = getUpdateInputMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInput")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.UpdateInputRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("UpdateInput")) + .build(); + } + } + } + return getUpdateInputMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEvent", + requestType = com.google.cloud.video.livestream.v1.CreateEventRequest.class, + responseType = com.google.cloud.video.livestream.v1.Event.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateEventMethod() { + io.grpc.MethodDescriptor getCreateEventMethod; + if ((getCreateEventMethod = LivestreamServiceGrpc.getCreateEventMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getCreateEventMethod = LivestreamServiceGrpc.getCreateEventMethod) == null) { + LivestreamServiceGrpc.getCreateEventMethod = getCreateEventMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.CreateEventRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.Event.getDefaultInstance())) + .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("CreateEvent")) + .build(); + } + } + } + return getCreateEventMethod; + } + + private static volatile io.grpc.MethodDescriptor getListEventsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEvents", + requestType = com.google.cloud.video.livestream.v1.ListEventsRequest.class, + responseType = com.google.cloud.video.livestream.v1.ListEventsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListEventsMethod() { + io.grpc.MethodDescriptor getListEventsMethod; + if ((getListEventsMethod = LivestreamServiceGrpc.getListEventsMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getListEventsMethod = LivestreamServiceGrpc.getListEventsMethod) == null) { + LivestreamServiceGrpc.getListEventsMethod = getListEventsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEvents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.ListEventsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.ListEventsResponse.getDefaultInstance())) + .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("ListEvents")) + .build(); + } + } + } + return getListEventsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEvent", + requestType = com.google.cloud.video.livestream.v1.GetEventRequest.class, + responseType = com.google.cloud.video.livestream.v1.Event.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetEventMethod() { + io.grpc.MethodDescriptor getGetEventMethod; + if ((getGetEventMethod = LivestreamServiceGrpc.getGetEventMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getGetEventMethod = LivestreamServiceGrpc.getGetEventMethod) == null) { + LivestreamServiceGrpc.getGetEventMethod = getGetEventMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.GetEventRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.Event.getDefaultInstance())) + .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("GetEvent")) + .build(); + } + } + } + return getGetEventMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEvent", + requestType = com.google.cloud.video.livestream.v1.DeleteEventRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteEventMethod() { + io.grpc.MethodDescriptor getDeleteEventMethod; + if ((getDeleteEventMethod = LivestreamServiceGrpc.getDeleteEventMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getDeleteEventMethod = LivestreamServiceGrpc.getDeleteEventMethod) == null) { + LivestreamServiceGrpc.getDeleteEventMethod = getDeleteEventMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.DeleteEventRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("DeleteEvent")) + .build(); + } + } + } + return getDeleteEventMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static LivestreamServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public LivestreamServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LivestreamServiceStub(channel, callOptions); + } + }; + return LivestreamServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static LivestreamServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public LivestreamServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LivestreamServiceBlockingStub(channel, callOptions); + } + }; + return LivestreamServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static LivestreamServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public LivestreamServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LivestreamServiceFutureStub(channel, callOptions); + } + }; + return LivestreamServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Using Live Stream API, you can generate live streams in the various
+   * renditions and streaming formats. The streaming format include HTTP Live
+   * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
+   * a source stream in the various ways, including Real-Time Messaging
+   * Protocol (RTMP) and Secure Reliable Transport (SRT).
+   * 
+ */ + public static abstract class LivestreamServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a channel with the provided unique ID in the specified
+     * region.
+     * 
+ */ + public void createChannel(com.google.cloud.video.livestream.v1.CreateChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateChannelMethod(), responseObserver); + } + + /** + *
+     * Returns a list of all channels in the specified region.
+     * 
+ */ + public void listChannels(com.google.cloud.video.livestream.v1.ListChannelsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListChannelsMethod(), responseObserver); + } + + /** + *
+     * Returns the specified channel.
+     * 
+ */ + public void getChannel(com.google.cloud.video.livestream.v1.GetChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetChannelMethod(), responseObserver); + } + + /** + *
+     * Deletes the specified channel.
+     * 
+ */ + public void deleteChannel(com.google.cloud.video.livestream.v1.DeleteChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteChannelMethod(), responseObserver); + } + + /** + *
+     * Updates the specified channel.
+     * 
+ */ + public void updateChannel(com.google.cloud.video.livestream.v1.UpdateChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateChannelMethod(), responseObserver); + } + + /** + *
+     * Starts the specified channel. Part of the video pipeline will be created
+     * only when the StartChannel request is received by the server.
+     * 
+ */ + public void startChannel(com.google.cloud.video.livestream.v1.StartChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartChannelMethod(), responseObserver); + } + + /** + *
+     * Stops the specified channel. Part of the video pipeline will be released
+     * when the StopChannel request is received by the server.
+     * 
+ */ + public void stopChannel(com.google.cloud.video.livestream.v1.StopChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStopChannelMethod(), responseObserver); + } + + /** + *
+     * Creates an input with the provided unique ID in the specified region.
+     * 
+ */ + public void createInput(com.google.cloud.video.livestream.v1.CreateInputRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInputMethod(), responseObserver); + } + + /** + *
+     * Returns a list of all inputs in the specified region.
+     * 
+ */ + public void listInputs(com.google.cloud.video.livestream.v1.ListInputsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInputsMethod(), responseObserver); + } + + /** + *
+     * Returns the specified input.
+     * 
+ */ + public void getInput(com.google.cloud.video.livestream.v1.GetInputRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInputMethod(), responseObserver); + } + + /** + *
+     * Deletes the specified input.
+     * 
+ */ + public void deleteInput(com.google.cloud.video.livestream.v1.DeleteInputRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInputMethod(), responseObserver); + } + + /** + *
+     * Updates the specified input.
+     * 
+ */ + public void updateInput(com.google.cloud.video.livestream.v1.UpdateInputRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInputMethod(), responseObserver); + } + + /** + *
+     * Creates an event with the provided unique ID in the specified channel.
+     * 
+ */ + public void createEvent(com.google.cloud.video.livestream.v1.CreateEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEventMethod(), responseObserver); + } + + /** + *
+     * Returns a list of all events in the specified channel.
+     * 
+ */ + public void listEvents(com.google.cloud.video.livestream.v1.ListEventsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEventsMethod(), responseObserver); + } + + /** + *
+     * Returns the specified event.
+     * 
+ */ + public void getEvent(com.google.cloud.video.livestream.v1.GetEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEventMethod(), responseObserver); + } + + /** + *
+     * Deletes the specified event.
+     * 
+ */ + public void deleteEvent(com.google.cloud.video.livestream.v1.DeleteEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEventMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.CreateChannelRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_CHANNEL))) + .addMethod( + getListChannelsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.ListChannelsRequest, + com.google.cloud.video.livestream.v1.ListChannelsResponse>( + this, METHODID_LIST_CHANNELS))) + .addMethod( + getGetChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.GetChannelRequest, + com.google.cloud.video.livestream.v1.Channel>( + this, METHODID_GET_CHANNEL))) + .addMethod( + getDeleteChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.DeleteChannelRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_CHANNEL))) + .addMethod( + getUpdateChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.UpdateChannelRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_CHANNEL))) + .addMethod( + getStartChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.StartChannelRequest, + com.google.longrunning.Operation>( + this, METHODID_START_CHANNEL))) + .addMethod( + getStopChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.StopChannelRequest, + com.google.longrunning.Operation>( + this, METHODID_STOP_CHANNEL))) + .addMethod( + getCreateInputMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.CreateInputRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_INPUT))) + .addMethod( + getListInputsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.ListInputsRequest, + com.google.cloud.video.livestream.v1.ListInputsResponse>( + this, METHODID_LIST_INPUTS))) + .addMethod( + getGetInputMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.GetInputRequest, + com.google.cloud.video.livestream.v1.Input>( + this, METHODID_GET_INPUT))) + .addMethod( + getDeleteInputMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.DeleteInputRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_INPUT))) + .addMethod( + getUpdateInputMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.UpdateInputRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_INPUT))) + .addMethod( + getCreateEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.CreateEventRequest, + com.google.cloud.video.livestream.v1.Event>( + this, METHODID_CREATE_EVENT))) + .addMethod( + getListEventsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.ListEventsRequest, + com.google.cloud.video.livestream.v1.ListEventsResponse>( + this, METHODID_LIST_EVENTS))) + .addMethod( + getGetEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.GetEventRequest, + com.google.cloud.video.livestream.v1.Event>( + this, METHODID_GET_EVENT))) + .addMethod( + getDeleteEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.DeleteEventRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_EVENT))) + .build(); + } + } + + /** + *
+   * Using Live Stream API, you can generate live streams in the various
+   * renditions and streaming formats. The streaming format include HTTP Live
+   * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
+   * a source stream in the various ways, including Real-Time Messaging
+   * Protocol (RTMP) and Secure Reliable Transport (SRT).
+   * 
+ */ + public static final class LivestreamServiceStub extends io.grpc.stub.AbstractAsyncStub { + private LivestreamServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected LivestreamServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LivestreamServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a channel with the provided unique ID in the specified
+     * region.
+     * 
+ */ + public void createChannel(com.google.cloud.video.livestream.v1.CreateChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateChannelMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns a list of all channels in the specified region.
+     * 
+ */ + public void listChannels(com.google.cloud.video.livestream.v1.ListChannelsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListChannelsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the specified channel.
+     * 
+ */ + public void getChannel(com.google.cloud.video.livestream.v1.GetChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetChannelMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes the specified channel.
+     * 
+ */ + public void deleteChannel(com.google.cloud.video.livestream.v1.DeleteChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteChannelMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the specified channel.
+     * 
+ */ + public void updateChannel(com.google.cloud.video.livestream.v1.UpdateChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateChannelMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Starts the specified channel. Part of the video pipeline will be created
+     * only when the StartChannel request is received by the server.
+     * 
+ */ + public void startChannel(com.google.cloud.video.livestream.v1.StartChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStartChannelMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Stops the specified channel. Part of the video pipeline will be released
+     * when the StopChannel request is received by the server.
+     * 
+ */ + public void stopChannel(com.google.cloud.video.livestream.v1.StopChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStopChannelMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates an input with the provided unique ID in the specified region.
+     * 
+ */ + public void createInput(com.google.cloud.video.livestream.v1.CreateInputRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInputMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns a list of all inputs in the specified region.
+     * 
+ */ + public void listInputs(com.google.cloud.video.livestream.v1.ListInputsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInputsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the specified input.
+     * 
+ */ + public void getInput(com.google.cloud.video.livestream.v1.GetInputRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInputMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes the specified input.
+     * 
+ */ + public void deleteInput(com.google.cloud.video.livestream.v1.DeleteInputRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInputMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the specified input.
+     * 
+ */ + public void updateInput(com.google.cloud.video.livestream.v1.UpdateInputRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInputMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates an event with the provided unique ID in the specified channel.
+     * 
+ */ + public void createEvent(com.google.cloud.video.livestream.v1.CreateEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateEventMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns a list of all events in the specified channel.
+     * 
+ */ + public void listEvents(com.google.cloud.video.livestream.v1.ListEventsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEventsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the specified event.
+     * 
+ */ + public void getEvent(com.google.cloud.video.livestream.v1.GetEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEventMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes the specified event.
+     * 
+ */ + public void deleteEvent(com.google.cloud.video.livestream.v1.DeleteEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteEventMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Using Live Stream API, you can generate live streams in the various
+   * renditions and streaming formats. The streaming format include HTTP Live
+   * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
+   * a source stream in the various ways, including Real-Time Messaging
+   * Protocol (RTMP) and Secure Reliable Transport (SRT).
+   * 
+ */ + public static final class LivestreamServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private LivestreamServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected LivestreamServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LivestreamServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a channel with the provided unique ID in the specified
+     * region.
+     * 
+ */ + public com.google.longrunning.Operation createChannel(com.google.cloud.video.livestream.v1.CreateChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateChannelMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns a list of all channels in the specified region.
+     * 
+ */ + public com.google.cloud.video.livestream.v1.ListChannelsResponse listChannels(com.google.cloud.video.livestream.v1.ListChannelsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListChannelsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the specified channel.
+     * 
+ */ + public com.google.cloud.video.livestream.v1.Channel getChannel(com.google.cloud.video.livestream.v1.GetChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetChannelMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes the specified channel.
+     * 
+ */ + public com.google.longrunning.Operation deleteChannel(com.google.cloud.video.livestream.v1.DeleteChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteChannelMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the specified channel.
+     * 
+ */ + public com.google.longrunning.Operation updateChannel(com.google.cloud.video.livestream.v1.UpdateChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateChannelMethod(), getCallOptions(), request); + } + + /** + *
+     * Starts the specified channel. Part of the video pipeline will be created
+     * only when the StartChannel request is received by the server.
+     * 
+ */ + public com.google.longrunning.Operation startChannel(com.google.cloud.video.livestream.v1.StartChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartChannelMethod(), getCallOptions(), request); + } + + /** + *
+     * Stops the specified channel. Part of the video pipeline will be released
+     * when the StopChannel request is received by the server.
+     * 
+ */ + public com.google.longrunning.Operation stopChannel(com.google.cloud.video.livestream.v1.StopChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStopChannelMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates an input with the provided unique ID in the specified region.
+     * 
+ */ + public com.google.longrunning.Operation createInput(com.google.cloud.video.livestream.v1.CreateInputRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInputMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns a list of all inputs in the specified region.
+     * 
+ */ + public com.google.cloud.video.livestream.v1.ListInputsResponse listInputs(com.google.cloud.video.livestream.v1.ListInputsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInputsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the specified input.
+     * 
+ */ + public com.google.cloud.video.livestream.v1.Input getInput(com.google.cloud.video.livestream.v1.GetInputRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInputMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes the specified input.
+     * 
+ */ + public com.google.longrunning.Operation deleteInput(com.google.cloud.video.livestream.v1.DeleteInputRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInputMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the specified input.
+     * 
+ */ + public com.google.longrunning.Operation updateInput(com.google.cloud.video.livestream.v1.UpdateInputRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInputMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates an event with the provided unique ID in the specified channel.
+     * 
+ */ + public com.google.cloud.video.livestream.v1.Event createEvent(com.google.cloud.video.livestream.v1.CreateEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateEventMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns a list of all events in the specified channel.
+     * 
+ */ + public com.google.cloud.video.livestream.v1.ListEventsResponse listEvents(com.google.cloud.video.livestream.v1.ListEventsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEventsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the specified event.
+     * 
+ */ + public com.google.cloud.video.livestream.v1.Event getEvent(com.google.cloud.video.livestream.v1.GetEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEventMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes the specified event.
+     * 
+ */ + public com.google.protobuf.Empty deleteEvent(com.google.cloud.video.livestream.v1.DeleteEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteEventMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Using Live Stream API, you can generate live streams in the various
+   * renditions and streaming formats. The streaming format include HTTP Live
+   * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
+   * a source stream in the various ways, including Real-Time Messaging
+   * Protocol (RTMP) and Secure Reliable Transport (SRT).
+   * 
+ */ + public static final class LivestreamServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private LivestreamServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected LivestreamServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LivestreamServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a channel with the provided unique ID in the specified
+     * region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createChannel( + com.google.cloud.video.livestream.v1.CreateChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateChannelMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns a list of all channels in the specified region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listChannels( + com.google.cloud.video.livestream.v1.ListChannelsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListChannelsMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the specified channel.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getChannel( + com.google.cloud.video.livestream.v1.GetChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetChannelMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes the specified channel.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteChannel( + com.google.cloud.video.livestream.v1.DeleteChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteChannelMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the specified channel.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateChannel( + com.google.cloud.video.livestream.v1.UpdateChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateChannelMethod(), getCallOptions()), request); + } + + /** + *
+     * Starts the specified channel. Part of the video pipeline will be created
+     * only when the StartChannel request is received by the server.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture startChannel( + com.google.cloud.video.livestream.v1.StartChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStartChannelMethod(), getCallOptions()), request); + } + + /** + *
+     * Stops the specified channel. Part of the video pipeline will be released
+     * when the StopChannel request is received by the server.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture stopChannel( + com.google.cloud.video.livestream.v1.StopChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStopChannelMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates an input with the provided unique ID in the specified region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createInput( + com.google.cloud.video.livestream.v1.CreateInputRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInputMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns a list of all inputs in the specified region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listInputs( + com.google.cloud.video.livestream.v1.ListInputsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInputsMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the specified input.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getInput( + com.google.cloud.video.livestream.v1.GetInputRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInputMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes the specified input.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteInput( + com.google.cloud.video.livestream.v1.DeleteInputRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInputMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the specified input.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateInput( + com.google.cloud.video.livestream.v1.UpdateInputRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInputMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates an event with the provided unique ID in the specified channel.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createEvent( + com.google.cloud.video.livestream.v1.CreateEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateEventMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns a list of all events in the specified channel.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listEvents( + com.google.cloud.video.livestream.v1.ListEventsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEventsMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the specified event.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getEvent( + com.google.cloud.video.livestream.v1.GetEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEventMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes the specified event.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteEvent( + com.google.cloud.video.livestream.v1.DeleteEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteEventMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_CHANNEL = 0; + private static final int METHODID_LIST_CHANNELS = 1; + private static final int METHODID_GET_CHANNEL = 2; + private static final int METHODID_DELETE_CHANNEL = 3; + private static final int METHODID_UPDATE_CHANNEL = 4; + private static final int METHODID_START_CHANNEL = 5; + private static final int METHODID_STOP_CHANNEL = 6; + private static final int METHODID_CREATE_INPUT = 7; + private static final int METHODID_LIST_INPUTS = 8; + private static final int METHODID_GET_INPUT = 9; + private static final int METHODID_DELETE_INPUT = 10; + private static final int METHODID_UPDATE_INPUT = 11; + private static final int METHODID_CREATE_EVENT = 12; + private static final int METHODID_LIST_EVENTS = 13; + private static final int METHODID_GET_EVENT = 14; + private static final int METHODID_DELETE_EVENT = 15; + + 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 LivestreamServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(LivestreamServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_CHANNEL: + serviceImpl.createChannel((com.google.cloud.video.livestream.v1.CreateChannelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CHANNELS: + serviceImpl.listChannels((com.google.cloud.video.livestream.v1.ListChannelsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CHANNEL: + serviceImpl.getChannel((com.google.cloud.video.livestream.v1.GetChannelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CHANNEL: + serviceImpl.deleteChannel((com.google.cloud.video.livestream.v1.DeleteChannelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CHANNEL: + serviceImpl.updateChannel((com.google.cloud.video.livestream.v1.UpdateChannelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_START_CHANNEL: + serviceImpl.startChannel((com.google.cloud.video.livestream.v1.StartChannelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_STOP_CHANNEL: + serviceImpl.stopChannel((com.google.cloud.video.livestream.v1.StopChannelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_INPUT: + serviceImpl.createInput((com.google.cloud.video.livestream.v1.CreateInputRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INPUTS: + serviceImpl.listInputs((com.google.cloud.video.livestream.v1.ListInputsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INPUT: + serviceImpl.getInput((com.google.cloud.video.livestream.v1.GetInputRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INPUT: + serviceImpl.deleteInput((com.google.cloud.video.livestream.v1.DeleteInputRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_INPUT: + serviceImpl.updateInput((com.google.cloud.video.livestream.v1.UpdateInputRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_EVENT: + serviceImpl.createEvent((com.google.cloud.video.livestream.v1.CreateEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_EVENTS: + serviceImpl.listEvents((com.google.cloud.video.livestream.v1.ListEventsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_EVENT: + serviceImpl.getEvent((com.google.cloud.video.livestream.v1.GetEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_EVENT: + serviceImpl.deleteEvent((com.google.cloud.video.livestream.v1.DeleteEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class LivestreamServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + LivestreamServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("LivestreamService"); + } + } + + private static final class LivestreamServiceFileDescriptorSupplier + extends LivestreamServiceBaseDescriptorSupplier { + LivestreamServiceFileDescriptorSupplier() {} + } + + private static final class LivestreamServiceMethodDescriptorSupplier + extends LivestreamServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + LivestreamServiceMethodDescriptorSupplier(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 (LivestreamServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new LivestreamServiceFileDescriptorSupplier()) + .addMethod(getCreateChannelMethod()) + .addMethod(getListChannelsMethod()) + .addMethod(getGetChannelMethod()) + .addMethod(getDeleteChannelMethod()) + .addMethod(getUpdateChannelMethod()) + .addMethod(getStartChannelMethod()) + .addMethod(getStopChannelMethod()) + .addMethod(getCreateInputMethod()) + .addMethod(getListInputsMethod()) + .addMethod(getGetInputMethod()) + .addMethod(getDeleteInputMethod()) + .addMethod(getUpdateInputMethod()) + .addMethod(getCreateEventMethod()) + .addMethod(getListEventsMethod()) + .addMethod(getGetEventMethod()) + .addMethod(getDeleteEventMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormat.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormat.java similarity index 72% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormat.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormat.java index d05f0b8..ea5a412 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormat.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormat.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Properties of the audio format.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.AudioFormat} */ -public final class AudioFormat extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AudioFormat extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.AudioFormat) AudioFormatOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AudioFormat.newBuilder() to construct. private AudioFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AudioFormat() { codec_ = ""; channelLayout_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,15 +26,16 @@ private AudioFormat() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AudioFormat(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AudioFormat( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,35 +55,33 @@ private AudioFormat( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - codec_ = s; - break; - } - case 16: - { - channelCount_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - channelLayout_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - channelLayout_.add(s); - break; + codec_ = s; + break; + } + case 16: { + + channelCount_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + channelLayout_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + channelLayout_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,7 +89,8 @@ private AudioFormat( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { channelLayout_ = channelLayout_.getUnmodifiableView(); @@ -117,33 +99,27 @@ private AudioFormat( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_AudioFormat_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.AudioFormat.class, - com.google.cloud.video.livestream.v1.AudioFormat.Builder.class); + com.google.cloud.video.livestream.v1.AudioFormat.class, com.google.cloud.video.livestream.v1.AudioFormat.Builder.class); } public static final int CODEC_FIELD_NUMBER = 1; private volatile java.lang.Object codec_; /** - * - * *
    * Audio codec used in this audio stream.
    * 
* * string codec = 1; - * * @return The codec. */ @java.lang.Override @@ -152,29 +128,29 @@ public java.lang.String getCodec() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; } } /** - * - * *
    * Audio codec used in this audio stream.
    * 
* * string codec = 1; - * * @return The bytes for codec. */ @java.lang.Override - public com.google.protobuf.ByteString getCodecBytes() { + public com.google.protobuf.ByteString + getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); codec_ = b; return b; } else { @@ -185,14 +161,11 @@ public com.google.protobuf.ByteString getCodecBytes() { public static final int CHANNEL_COUNT_FIELD_NUMBER = 2; private int channelCount_; /** - * - * *
    * The number of audio channels.
    * 
* * int32 channel_count = 2; - * * @return The channelCount. */ @java.lang.Override @@ -203,42 +176,34 @@ public int getChannelCount() { public static final int CHANNEL_LAYOUT_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList channelLayout_; /** - * - * *
    * A list of channel names specifying the layout of the audio channels.
    * 
* * repeated string channel_layout = 3; - * * @return A list containing the channelLayout. */ - public com.google.protobuf.ProtocolStringList getChannelLayoutList() { + public com.google.protobuf.ProtocolStringList + getChannelLayoutList() { return channelLayout_; } /** - * - * *
    * A list of channel names specifying the layout of the audio channels.
    * 
* * repeated string channel_layout = 3; - * * @return The count of channelLayout. */ public int getChannelLayoutCount() { return channelLayout_.size(); } /** - * - * *
    * A list of channel names specifying the layout of the audio channels.
    * 
* * repeated string channel_layout = 3; - * * @param index The index of the element to return. * @return The channelLayout at the given index. */ @@ -246,23 +211,20 @@ public java.lang.String getChannelLayout(int index) { return channelLayout_.get(index); } /** - * - * *
    * A list of channel names specifying the layout of the audio channels.
    * 
* * repeated string channel_layout = 3; - * * @param index The index of the value to return. * @return The bytes of the channelLayout at the given index. */ - public com.google.protobuf.ByteString getChannelLayoutBytes(int index) { + public com.google.protobuf.ByteString + getChannelLayoutBytes(int index) { return channelLayout_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, codec_); } @@ -297,7 +260,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, codec_); } if (channelCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, channelCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, channelCount_); } { int dataSize = 0; @@ -315,17 +279,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.AudioFormat)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.AudioFormat other = - (com.google.cloud.video.livestream.v1.AudioFormat) obj; + com.google.cloud.video.livestream.v1.AudioFormat other = (com.google.cloud.video.livestream.v1.AudioFormat) obj; - if (!getCodec().equals(other.getCodec())) return false; - if (getChannelCount() != other.getChannelCount()) return false; - if (!getChannelLayoutList().equals(other.getChannelLayoutList())) return false; + if (!getCodec() + .equals(other.getCodec())) return false; + if (getChannelCount() + != other.getChannelCount()) return false; + if (!getChannelLayoutList() + .equals(other.getChannelLayoutList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -350,127 +316,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.AudioFormat parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.AudioFormat parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.AudioFormat parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.AudioFormat prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Properties of the audio format.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.AudioFormat} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.AudioFormat) com.google.cloud.video.livestream.v1.AudioFormatOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_AudioFormat_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.AudioFormat.class, - com.google.cloud.video.livestream.v1.AudioFormat.Builder.class); + com.google.cloud.video.livestream.v1.AudioFormat.class, com.google.cloud.video.livestream.v1.AudioFormat.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.AudioFormat.newBuilder() @@ -478,15 +435,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,9 +458,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor; } @java.lang.Override @@ -521,8 +479,7 @@ public com.google.cloud.video.livestream.v1.AudioFormat build() { @java.lang.Override public com.google.cloud.video.livestream.v1.AudioFormat buildPartial() { - com.google.cloud.video.livestream.v1.AudioFormat result = - new com.google.cloud.video.livestream.v1.AudioFormat(this); + com.google.cloud.video.livestream.v1.AudioFormat result = new com.google.cloud.video.livestream.v1.AudioFormat(this); int from_bitField0_ = bitField0_; result.codec_ = codec_; result.channelCount_ = channelCount_; @@ -539,39 +496,38 @@ public com.google.cloud.video.livestream.v1.AudioFormat buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.AudioFormat) { - return mergeFrom((com.google.cloud.video.livestream.v1.AudioFormat) other); + return mergeFrom((com.google.cloud.video.livestream.v1.AudioFormat)other); } else { super.mergeFrom(other); return this; @@ -579,8 +535,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.AudioFormat other) { - if (other == com.google.cloud.video.livestream.v1.AudioFormat.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.AudioFormat.getDefaultInstance()) return this; if (!other.getCodec().isEmpty()) { codec_ = other.codec_; onChanged(); @@ -626,25 +581,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object codec_ = ""; /** - * - * *
      * Audio codec used in this audio stream.
      * 
* * string codec = 1; - * * @return The codec. */ public java.lang.String getCodec() { java.lang.Object ref = codec_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; @@ -653,21 +605,20 @@ public java.lang.String getCodec() { } } /** - * - * *
      * Audio codec used in this audio stream.
      * 
* * string codec = 1; - * * @return The bytes for codec. */ - public com.google.protobuf.ByteString getCodecBytes() { + public com.google.protobuf.ByteString + getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); codec_ = b; return b; } else { @@ -675,76 +626,66 @@ public com.google.protobuf.ByteString getCodecBytes() { } } /** - * - * *
      * Audio codec used in this audio stream.
      * 
* * string codec = 1; - * * @param value The codec to set. * @return This builder for chaining. */ - public Builder setCodec(java.lang.String value) { + public Builder setCodec( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + codec_ = value; onChanged(); return this; } /** - * - * *
      * Audio codec used in this audio stream.
      * 
* * string codec = 1; - * * @return This builder for chaining. */ public Builder clearCodec() { - + codec_ = getDefaultInstance().getCodec(); onChanged(); return this; } /** - * - * *
      * Audio codec used in this audio stream.
      * 
* * string codec = 1; - * * @param value The bytes for codec to set. * @return This builder for chaining. */ - public Builder setCodecBytes(com.google.protobuf.ByteString value) { + public Builder setCodecBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + codec_ = value; onChanged(); return this; } - private int channelCount_; + private int channelCount_ ; /** - * - * *
      * The number of audio channels.
      * 
* * int32 channel_count = 2; - * * @return The channelCount. */ @java.lang.Override @@ -752,87 +693,71 @@ public int getChannelCount() { return channelCount_; } /** - * - * *
      * The number of audio channels.
      * 
* * int32 channel_count = 2; - * * @param value The channelCount to set. * @return This builder for chaining. */ public Builder setChannelCount(int value) { - + channelCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of audio channels.
      * 
* * int32 channel_count = 2; - * * @return This builder for chaining. */ public Builder clearChannelCount() { - + channelCount_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList channelLayout_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList channelLayout_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureChannelLayoutIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { channelLayout_ = new com.google.protobuf.LazyStringArrayList(channelLayout_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; - * * @return A list containing the channelLayout. */ - public com.google.protobuf.ProtocolStringList getChannelLayoutList() { + public com.google.protobuf.ProtocolStringList + getChannelLayoutList() { return channelLayout_.getUnmodifiableView(); } /** - * - * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; - * * @return The count of channelLayout. */ public int getChannelLayoutCount() { return channelLayout_.size(); } /** - * - * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; - * * @param index The index of the element to return. * @return The channelLayout at the given index. */ @@ -840,90 +765,80 @@ public java.lang.String getChannelLayout(int index) { return channelLayout_.get(index); } /** - * - * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; - * * @param index The index of the value to return. * @return The bytes of the channelLayout at the given index. */ - public com.google.protobuf.ByteString getChannelLayoutBytes(int index) { + public com.google.protobuf.ByteString + getChannelLayoutBytes(int index) { return channelLayout_.getByteString(index); } /** - * - * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; - * * @param index The index to set the value at. * @param value The channelLayout to set. * @return This builder for chaining. */ - public Builder setChannelLayout(int index, java.lang.String value) { + public Builder setChannelLayout( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChannelLayoutIsMutable(); + throw new NullPointerException(); + } + ensureChannelLayoutIsMutable(); channelLayout_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; - * * @param value The channelLayout to add. * @return This builder for chaining. */ - public Builder addChannelLayout(java.lang.String value) { + public Builder addChannelLayout( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChannelLayoutIsMutable(); + throw new NullPointerException(); + } + ensureChannelLayoutIsMutable(); channelLayout_.add(value); onChanged(); return this; } /** - * - * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; - * * @param values The channelLayout to add. * @return This builder for chaining. */ - public Builder addAllChannelLayout(java.lang.Iterable values) { + public Builder addAllChannelLayout( + java.lang.Iterable values) { ensureChannelLayoutIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, channelLayout_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, channelLayout_); onChanged(); return this; } /** - * - * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; - * * @return This builder for chaining. */ public Builder clearChannelLayout() { @@ -933,30 +848,28 @@ public Builder clearChannelLayout() { return this; } /** - * - * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; - * * @param value The bytes of the channelLayout to add. * @return This builder for chaining. */ - public Builder addChannelLayoutBytes(com.google.protobuf.ByteString value) { + public Builder addChannelLayoutBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureChannelLayoutIsMutable(); channelLayout_.add(value); onChanged(); 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); } @@ -966,12 +879,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.AudioFormat) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.AudioFormat) private static final com.google.cloud.video.livestream.v1.AudioFormat DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.AudioFormat(); } @@ -980,16 +893,16 @@ public static com.google.cloud.video.livestream.v1.AudioFormat getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudioFormat parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AudioFormat(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudioFormat parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AudioFormat(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1004,4 +917,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.AudioFormat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormatOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormatOrBuilder.java similarity index 66% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormatOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormatOrBuilder.java index 5454070..6411176 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormatOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormatOrBuilder.java @@ -1,114 +1,80 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface AudioFormatOrBuilder - extends +public interface AudioFormatOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.AudioFormat) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Audio codec used in this audio stream.
    * 
* * string codec = 1; - * * @return The codec. */ java.lang.String getCodec(); /** - * - * *
    * Audio codec used in this audio stream.
    * 
* * string codec = 1; - * * @return The bytes for codec. */ - com.google.protobuf.ByteString getCodecBytes(); + com.google.protobuf.ByteString + getCodecBytes(); /** - * - * *
    * The number of audio channels.
    * 
* * int32 channel_count = 2; - * * @return The channelCount. */ int getChannelCount(); /** - * - * *
    * A list of channel names specifying the layout of the audio channels.
    * 
* * repeated string channel_layout = 3; - * * @return A list containing the channelLayout. */ - java.util.List getChannelLayoutList(); + java.util.List + getChannelLayoutList(); /** - * - * *
    * A list of channel names specifying the layout of the audio channels.
    * 
* * repeated string channel_layout = 3; - * * @return The count of channelLayout. */ int getChannelLayoutCount(); /** - * - * *
    * A list of channel names specifying the layout of the audio channels.
    * 
* * repeated string channel_layout = 3; - * * @param index The index of the element to return. * @return The channelLayout at the given index. */ java.lang.String getChannelLayout(int index); /** - * - * *
    * A list of channel names specifying the layout of the audio channels.
    * 
* * repeated string channel_layout = 3; - * * @param index The index of the value to return. * @return The bytes of the channelLayout at the given index. */ - com.google.protobuf.ByteString getChannelLayoutBytes(int index); + com.google.protobuf.ByteString + getChannelLayoutBytes(int index); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStream.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStream.java similarity index 77% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStream.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStream.java index 32a1808..cdfc5e1 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStream.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStream.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Audio stream resource.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.AudioStream} */ -public final class AudioStream extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AudioStream extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.AudioStream) AudioStreamOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AudioStream.newBuilder() to construct. private AudioStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AudioStream() { codec_ = ""; channelLayout_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -45,15 +27,16 @@ private AudioStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AudioStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AudioStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,64 +56,57 @@ private AudioStream( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - codec_ = s; - break; - } - case 16: - { - bitrateBps_ = input.readInt32(); - break; - } - case 24: - { - channelCount_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - channelLayout_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - channelLayout_.add(s); - break; - } - case 42: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - mapping_ = - new java.util.ArrayList< - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping>(); - mutable_bitField0_ |= 0x00000002; - } - mapping_.add( - input.readMessage( - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.parser(), - extensionRegistry)); - break; - } - case 48: - { - sampleRateHertz_ = input.readInt32(); - break; + codec_ = s; + break; + } + case 16: { + + bitrateBps_ = input.readInt32(); + break; + } + case 24: { + + channelCount_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + channelLayout_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 64: - { - transmux_ = input.readBool(); - break; + channelLayout_.add(s); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + mapping_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + mapping_.add( + input.readMessage(com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.parser(), extensionRegistry)); + break; + } + case 48: { + + sampleRateHertz_ = input.readInt32(); + break; + } + case 64: { + + transmux_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -138,7 +114,8 @@ private AudioStream( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { channelLayout_ = channelLayout_.getUnmodifiableView(); @@ -150,30 +127,24 @@ private AudioStream( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_AudioStream_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.AudioStream.class, - com.google.cloud.video.livestream.v1.AudioStream.Builder.class); + com.google.cloud.video.livestream.v1.AudioStream.class, com.google.cloud.video.livestream.v1.AudioStream.Builder.class); } - public interface AudioMappingOrBuilder - extends + public interface AudioMappingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.AudioStream.AudioMapping) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
      * audio mapping applies to. If an active input doesn't have an audio
@@ -181,13 +152,10 @@ public interface AudioMappingOrBuilder
      * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputKey. */ java.lang.String getInputKey(); /** - * - * *
      * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
      * audio mapping applies to. If an active input doesn't have an audio
@@ -195,14 +163,12 @@ public interface AudioMappingOrBuilder
      * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for inputKey. */ - com.google.protobuf.ByteString getInputKeyBytes(); + com.google.protobuf.ByteString + getInputKeyBytes(); /** - * - * *
      * Required. The zero-based index of the track in the input stream.
      * All [mapping][google.cloud.video.livestream.v1.AudioStream.mapping]s in the same [AudioStream][google.cloud.video.livestream.v1.AudioStream]
@@ -210,72 +176,63 @@ public interface AudioMappingOrBuilder
      * 
* * int32 input_track = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputTrack. */ int getInputTrack(); /** - * - * *
      * Required. The zero-based index of the channel in the input stream.
      * 
* * int32 input_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputChannel. */ int getInputChannel(); /** - * - * *
      * Required. The zero-based index of the channel in the output audio stream.
      * Must be consistent with the [input_channel][google.cloud.video.livestream.v1.AudioStream.AudioMapping.input_channel].
      * 
* * int32 output_channel = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The outputChannel. */ int getOutputChannel(); } /** - * - * *
    * The mapping for the input streams and audio channels.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.AudioStream.AudioMapping} */ - public static final class AudioMapping extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AudioMapping extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.AudioStream.AudioMapping) AudioMappingOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AudioMapping.newBuilder() to construct. private AudioMapping(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AudioMapping() { inputKey_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AudioMapping(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AudioMapping( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -294,35 +251,34 @@ private AudioMapping( case 0: done = true; break; - case 16: - { - inputTrack_ = input.readInt32(); - break; - } - case 24: - { - inputChannel_ = input.readInt32(); - break; - } - case 32: - { - outputChannel_ = input.readInt32(); - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + case 16: { - inputKey_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + inputTrack_ = input.readInt32(); + break; + } + case 24: { + + inputChannel_ = input.readInt32(); + break; + } + case 32: { + + outputChannel_ = input.readInt32(); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + inputKey_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -330,33 +286,29 @@ private AudioMapping( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.class, - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder.class); + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.class, com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder.class); } public static final int INPUT_KEY_FIELD_NUMBER = 6; private volatile java.lang.Object inputKey_; /** - * - * *
      * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
      * audio mapping applies to. If an active input doesn't have an audio
@@ -364,7 +316,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputKey. */ @java.lang.Override @@ -373,15 +324,14 @@ public java.lang.String getInputKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputKey_ = s; return s; } } /** - * - * *
      * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
      * audio mapping applies to. If an active input doesn't have an audio
@@ -389,15 +339,16 @@ public java.lang.String getInputKey() {
      * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for inputKey. */ @java.lang.Override - public com.google.protobuf.ByteString getInputKeyBytes() { + public com.google.protobuf.ByteString + getInputKeyBytes() { java.lang.Object ref = inputKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputKey_ = b; return b; } else { @@ -408,8 +359,6 @@ public com.google.protobuf.ByteString getInputKeyBytes() { public static final int INPUT_TRACK_FIELD_NUMBER = 2; private int inputTrack_; /** - * - * *
      * Required. The zero-based index of the track in the input stream.
      * All [mapping][google.cloud.video.livestream.v1.AudioStream.mapping]s in the same [AudioStream][google.cloud.video.livestream.v1.AudioStream]
@@ -417,7 +366,6 @@ public com.google.protobuf.ByteString getInputKeyBytes() {
      * 
* * int32 input_track = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputTrack. */ @java.lang.Override @@ -428,14 +376,11 @@ public int getInputTrack() { public static final int INPUT_CHANNEL_FIELD_NUMBER = 3; private int inputChannel_; /** - * - * *
      * Required. The zero-based index of the channel in the input stream.
      * 
* * int32 input_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputChannel. */ @java.lang.Override @@ -446,15 +391,12 @@ public int getInputChannel() { public static final int OUTPUT_CHANNEL_FIELD_NUMBER = 4; private int outputChannel_; /** - * - * *
      * Required. The zero-based index of the channel in the output audio stream.
      * Must be consistent with the [input_channel][google.cloud.video.livestream.v1.AudioStream.AudioMapping.input_channel].
      * 
* * int32 output_channel = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The outputChannel. */ @java.lang.Override @@ -463,7 +405,6 @@ public int getOutputChannel() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -475,7 +416,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 (inputTrack_ != 0) { output.writeInt32(2, inputTrack_); } @@ -498,13 +440,16 @@ public int getSerializedSize() { size = 0; if (inputTrack_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, inputTrack_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, inputTrack_); } if (inputChannel_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, inputChannel_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, inputChannel_); } if (outputChannel_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, outputChannel_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, outputChannel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, inputKey_); @@ -517,18 +462,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.AudioStream.AudioMapping)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping other = - (com.google.cloud.video.livestream.v1.AudioStream.AudioMapping) obj; + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping other = (com.google.cloud.video.livestream.v1.AudioStream.AudioMapping) obj; - if (!getInputKey().equals(other.getInputKey())) return false; - if (getInputTrack() != other.getInputTrack()) return false; - if (getInputChannel() != other.getInputChannel()) return false; - if (getOutputChannel() != other.getOutputChannel()) return false; + if (!getInputKey() + .equals(other.getInputKey())) return false; + if (getInputTrack() + != other.getInputTrack()) return false; + if (getInputChannel() + != other.getInputChannel()) return false; + if (getOutputChannel() + != other.getOutputChannel()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -554,94 +502,87 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.AudioStream.AudioMapping prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -651,32 +592,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
* * Protobuf type {@code google.cloud.video.livestream.v1.AudioStream.AudioMapping} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.AudioStream.AudioMapping) com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.class, - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder.class); + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.class, com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.newBuilder() @@ -684,15 +620,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(); @@ -708,14 +645,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor; } @java.lang.Override - public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping - getDefaultInstanceForType() { + public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping getDefaultInstanceForType() { return com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.getDefaultInstance(); } @@ -730,8 +666,7 @@ public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping build() { @java.lang.Override public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping buildPartial() { - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping result = - new com.google.cloud.video.livestream.v1.AudioStream.AudioMapping(this); + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping result = new com.google.cloud.video.livestream.v1.AudioStream.AudioMapping(this); result.inputKey_ = inputKey_; result.inputTrack_ = inputTrack_; result.inputChannel_ = inputChannel_; @@ -744,52 +679,46 @@ public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.AudioStream.AudioMapping) { - return mergeFrom((com.google.cloud.video.livestream.v1.AudioStream.AudioMapping) other); + return mergeFrom((com.google.cloud.video.livestream.v1.AudioStream.AudioMapping)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping other) { - if (other - == com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.video.livestream.v1.AudioStream.AudioMapping other) { + if (other == com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.getDefaultInstance()) return this; if (!other.getInputKey().isEmpty()) { inputKey_ = other.inputKey_; onChanged(); @@ -822,9 +751,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.AudioStream.AudioMapping) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.AudioStream.AudioMapping) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -836,8 +763,6 @@ public Builder mergeFrom( private java.lang.Object inputKey_ = ""; /** - * - * *
        * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
        * audio mapping applies to. If an active input doesn't have an audio
@@ -845,13 +770,13 @@ public Builder mergeFrom(
        * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputKey. */ public java.lang.String getInputKey() { java.lang.Object ref = inputKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputKey_ = s; return s; @@ -860,8 +785,6 @@ public java.lang.String getInputKey() { } } /** - * - * *
        * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
        * audio mapping applies to. If an active input doesn't have an audio
@@ -869,14 +792,15 @@ public java.lang.String getInputKey() {
        * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for inputKey. */ - public com.google.protobuf.ByteString getInputKeyBytes() { + public com.google.protobuf.ByteString + getInputKeyBytes() { java.lang.Object ref = inputKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputKey_ = b; return b; } else { @@ -884,8 +808,6 @@ public com.google.protobuf.ByteString getInputKeyBytes() { } } /** - * - * *
        * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
        * audio mapping applies to. If an active input doesn't have an audio
@@ -893,22 +815,20 @@ public com.google.protobuf.ByteString getInputKeyBytes() {
        * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The inputKey to set. * @return This builder for chaining. */ - public Builder setInputKey(java.lang.String value) { + public Builder setInputKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputKey_ = value; onChanged(); return this; } /** - * - * *
        * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
        * audio mapping applies to. If an active input doesn't have an audio
@@ -916,18 +836,15 @@ public Builder setInputKey(java.lang.String value) {
        * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInputKey() { - + inputKey_ = getDefaultInstance().getInputKey(); onChanged(); return this; } /** - * - * *
        * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
        * audio mapping applies to. If an active input doesn't have an audio
@@ -935,25 +852,23 @@ public Builder clearInputKey() {
        * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for inputKey to set. * @return This builder for chaining. */ - public Builder setInputKeyBytes(com.google.protobuf.ByteString value) { + public Builder setInputKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputKey_ = value; onChanged(); return this; } - private int inputTrack_; + private int inputTrack_ ; /** - * - * *
        * Required. The zero-based index of the track in the input stream.
        * All [mapping][google.cloud.video.livestream.v1.AudioStream.mapping]s in the same [AudioStream][google.cloud.video.livestream.v1.AudioStream]
@@ -961,7 +876,6 @@ public Builder setInputKeyBytes(com.google.protobuf.ByteString value) {
        * 
* * int32 input_track = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputTrack. */ @java.lang.Override @@ -969,8 +883,6 @@ public int getInputTrack() { return inputTrack_; } /** - * - * *
        * Required. The zero-based index of the track in the input stream.
        * All [mapping][google.cloud.video.livestream.v1.AudioStream.mapping]s in the same [AudioStream][google.cloud.video.livestream.v1.AudioStream]
@@ -978,19 +890,16 @@ public int getInputTrack() {
        * 
* * int32 input_track = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The inputTrack to set. * @return This builder for chaining. */ public Builder setInputTrack(int value) { - + inputTrack_ = value; onChanged(); return this; } /** - * - * *
        * Required. The zero-based index of the track in the input stream.
        * All [mapping][google.cloud.video.livestream.v1.AudioStream.mapping]s in the same [AudioStream][google.cloud.video.livestream.v1.AudioStream]
@@ -998,26 +907,22 @@ public Builder setInputTrack(int value) {
        * 
* * int32 input_track = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInputTrack() { - + inputTrack_ = 0; onChanged(); return this; } - private int inputChannel_; + private int inputChannel_ ; /** - * - * *
        * Required. The zero-based index of the channel in the input stream.
        * 
* * int32 input_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputChannel. */ @java.lang.Override @@ -1025,52 +930,43 @@ public int getInputChannel() { return inputChannel_; } /** - * - * *
        * Required. The zero-based index of the channel in the input stream.
        * 
* * int32 input_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The inputChannel to set. * @return This builder for chaining. */ public Builder setInputChannel(int value) { - + inputChannel_ = value; onChanged(); return this; } /** - * - * *
        * Required. The zero-based index of the channel in the input stream.
        * 
* * int32 input_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInputChannel() { - + inputChannel_ = 0; onChanged(); return this; } - private int outputChannel_; + private int outputChannel_ ; /** - * - * *
        * Required. The zero-based index of the channel in the output audio stream.
        * Must be consistent with the [input_channel][google.cloud.video.livestream.v1.AudioStream.AudioMapping.input_channel].
        * 
* * int32 output_channel = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The outputChannel. */ @java.lang.Override @@ -1078,43 +974,36 @@ public int getOutputChannel() { return outputChannel_; } /** - * - * *
        * Required. The zero-based index of the channel in the output audio stream.
        * Must be consistent with the [input_channel][google.cloud.video.livestream.v1.AudioStream.AudioMapping.input_channel].
        * 
* * int32 output_channel = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The outputChannel to set. * @return This builder for chaining. */ public Builder setOutputChannel(int value) { - + outputChannel_ = value; onChanged(); return this; } /** - * - * *
        * Required. The zero-based index of the channel in the output audio stream.
        * Must be consistent with the [input_channel][google.cloud.video.livestream.v1.AudioStream.AudioMapping.input_channel].
        * 
* * int32 output_channel = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearOutputChannel() { - + outputChannel_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1127,32 +1016,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.AudioStream.AudioMapping) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.AudioStream.AudioMapping) - private static final com.google.cloud.video.livestream.v1.AudioStream.AudioMapping - DEFAULT_INSTANCE; - + private static final com.google.cloud.video.livestream.v1.AudioStream.AudioMapping DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.AudioStream.AudioMapping(); } - public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping - getDefaultInstance() { + public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudioMapping parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AudioMapping(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudioMapping parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AudioMapping(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1164,17 +1051,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping - getDefaultInstanceForType() { + public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int TRANSMUX_FIELD_NUMBER = 8; private boolean transmux_; /** - * - * *
    * Specifies whether pass through (transmuxing) is enabled or not.
    * If set to `true`, the rest of the settings, other than `mapping`, will be
@@ -1182,7 +1067,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * bool transmux = 8; - * * @return The transmux. */ @java.lang.Override @@ -1193,8 +1077,6 @@ public boolean getTransmux() { public static final int CODEC_FIELD_NUMBER = 1; private volatile java.lang.Object codec_; /** - * - * *
    * The codec for this audio stream. The default is `aac`.
    * Supported audio codecs:
@@ -1202,7 +1084,6 @@ public boolean getTransmux() {
    * 
* * string codec = 1; - * * @return The codec. */ @java.lang.Override @@ -1211,15 +1092,14 @@ public java.lang.String getCodec() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; } } /** - * - * *
    * The codec for this audio stream. The default is `aac`.
    * Supported audio codecs:
@@ -1227,15 +1107,16 @@ public java.lang.String getCodec() {
    * 
* * string codec = 1; - * * @return The bytes for codec. */ @java.lang.Override - public com.google.protobuf.ByteString getCodecBytes() { + public com.google.protobuf.ByteString + getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); codec_ = b; return b; } else { @@ -1246,14 +1127,11 @@ public com.google.protobuf.ByteString getCodecBytes() { public static final int BITRATE_BPS_FIELD_NUMBER = 2; private int bitrateBps_; /** - * - * *
    * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
    * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bitrateBps. */ @java.lang.Override @@ -1264,14 +1142,11 @@ public int getBitrateBps() { public static final int CHANNEL_COUNT_FIELD_NUMBER = 3; private int channelCount_; /** - * - * *
    * Number of audio channels. Must be between 1 and 6. The default is 2.
    * 
* * int32 channel_count = 3; - * * @return The channelCount. */ @java.lang.Override @@ -1282,8 +1157,6 @@ public int getChannelCount() { public static final int CHANNEL_LAYOUT_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList channelLayout_; /** - * - * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -1298,15 +1171,13 @@ public int getChannelCount() {
    * 
* * repeated string channel_layout = 4; - * * @return A list containing the channelLayout. */ - public com.google.protobuf.ProtocolStringList getChannelLayoutList() { + public com.google.protobuf.ProtocolStringList + getChannelLayoutList() { return channelLayout_; } /** - * - * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -1321,15 +1192,12 @@ public com.google.protobuf.ProtocolStringList getChannelLayoutList() {
    * 
* * repeated string channel_layout = 4; - * * @return The count of channelLayout. */ public int getChannelLayoutCount() { return channelLayout_.size(); } /** - * - * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -1344,7 +1212,6 @@ public int getChannelLayoutCount() {
    * 
* * repeated string channel_layout = 4; - * * @param index The index of the element to return. * @return The channelLayout at the given index. */ @@ -1352,8 +1219,6 @@ public java.lang.String getChannelLayout(int index) { return channelLayout_.get(index); } /** - * - * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -1368,19 +1233,17 @@ public java.lang.String getChannelLayout(int index) {
    * 
* * repeated string channel_layout = 4; - * * @param index The index of the value to return. * @return The bytes of the channelLayout at the given index. */ - public com.google.protobuf.ByteString getChannelLayoutBytes(int index) { + public com.google.protobuf.ByteString + getChannelLayoutBytes(int index) { return channelLayout_.getByteString(index); } public static final int MAPPING_FIELD_NUMBER = 5; private java.util.List mapping_; /** - * - * *
    * The mapping for the input streams and audio channels.
    * 
@@ -1388,13 +1251,10 @@ public com.google.protobuf.ByteString getChannelLayoutBytes(int index) { * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ @java.lang.Override - public java.util.List - getMappingList() { + public java.util.List getMappingList() { return mapping_; } /** - * - * *
    * The mapping for the input streams and audio channels.
    * 
@@ -1402,14 +1262,11 @@ public com.google.protobuf.ByteString getChannelLayoutBytes(int index) { * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder> + public java.util.List getMappingOrBuilderList() { return mapping_; } /** - * - * *
    * The mapping for the input streams and audio channels.
    * 
@@ -1421,8 +1278,6 @@ public int getMappingCount() { return mapping_.size(); } /** - * - * *
    * The mapping for the input streams and audio channels.
    * 
@@ -1434,8 +1289,6 @@ public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping getMapping( return mapping_.get(index); } /** - * - * *
    * The mapping for the input streams and audio channels.
    * 
@@ -1451,14 +1304,11 @@ public com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder ge public static final int SAMPLE_RATE_HERTZ_FIELD_NUMBER = 6; private int sampleRateHertz_; /** - * - * *
    * The audio sample rate in Hertz. The default is 48000 Hertz.
    * 
* * int32 sample_rate_hertz = 6; - * * @return The sampleRateHertz. */ @java.lang.Override @@ -1467,7 +1317,6 @@ public int getSampleRateHertz() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1479,7 +1328,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, codec_); } @@ -1514,10 +1364,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, codec_); } if (bitrateBps_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, bitrateBps_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, bitrateBps_); } if (channelCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, channelCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, channelCount_); } { int dataSize = 0; @@ -1528,13 +1380,16 @@ public int getSerializedSize() { size += 1 * getChannelLayoutList().size(); } for (int i = 0; i < mapping_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, mapping_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, mapping_.get(i)); } if (sampleRateHertz_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, sampleRateHertz_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, sampleRateHertz_); } if (transmux_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, transmux_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, transmux_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1544,21 +1399,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.video.livestream.v1.AudioStream)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.AudioStream other = - (com.google.cloud.video.livestream.v1.AudioStream) obj; - - if (getTransmux() != other.getTransmux()) return false; - if (!getCodec().equals(other.getCodec())) return false; - if (getBitrateBps() != other.getBitrateBps()) return false; - if (getChannelCount() != other.getChannelCount()) return false; - if (!getChannelLayoutList().equals(other.getChannelLayoutList())) return false; - if (!getMappingList().equals(other.getMappingList())) return false; - if (getSampleRateHertz() != other.getSampleRateHertz()) return false; + com.google.cloud.video.livestream.v1.AudioStream other = (com.google.cloud.video.livestream.v1.AudioStream) obj; + + if (getTransmux() + != other.getTransmux()) return false; + if (!getCodec() + .equals(other.getCodec())) return false; + if (getBitrateBps() + != other.getBitrateBps()) return false; + if (getChannelCount() + != other.getChannelCount()) return false; + if (!getChannelLayoutList() + .equals(other.getChannelLayoutList())) return false; + if (!getMappingList() + .equals(other.getMappingList())) return false; + if (getSampleRateHertz() + != other.getSampleRateHertz()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1571,7 +1432,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TRANSMUX_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getTransmux()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getTransmux()); hash = (37 * hash) + CODEC_FIELD_NUMBER; hash = (53 * hash) + getCodec().hashCode(); hash = (37 * hash) + BITRATE_BPS_FIELD_NUMBER; @@ -1593,127 +1455,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.AudioStream parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.AudioStream parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.AudioStream parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.AudioStream parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.AudioStream parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.AudioStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Audio stream resource.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.AudioStream} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.AudioStream) com.google.cloud.video.livestream.v1.AudioStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_AudioStream_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.AudioStream.class, - com.google.cloud.video.livestream.v1.AudioStream.Builder.class); + com.google.cloud.video.livestream.v1.AudioStream.class, com.google.cloud.video.livestream.v1.AudioStream.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.AudioStream.newBuilder() @@ -1721,17 +1574,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMappingFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1757,9 +1610,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor; } @java.lang.Override @@ -1778,8 +1631,7 @@ public com.google.cloud.video.livestream.v1.AudioStream build() { @java.lang.Override public com.google.cloud.video.livestream.v1.AudioStream buildPartial() { - com.google.cloud.video.livestream.v1.AudioStream result = - new com.google.cloud.video.livestream.v1.AudioStream(this); + com.google.cloud.video.livestream.v1.AudioStream result = new com.google.cloud.video.livestream.v1.AudioStream(this); int from_bitField0_ = bitField0_; result.transmux_ = transmux_; result.codec_ = codec_; @@ -1808,39 +1660,38 @@ public com.google.cloud.video.livestream.v1.AudioStream buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.AudioStream) { - return mergeFrom((com.google.cloud.video.livestream.v1.AudioStream) other); + return mergeFrom((com.google.cloud.video.livestream.v1.AudioStream)other); } else { super.mergeFrom(other); return this; @@ -1848,8 +1699,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.AudioStream other) { - if (other == com.google.cloud.video.livestream.v1.AudioStream.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.AudioStream.getDefaultInstance()) return this; if (other.getTransmux() != false) { setTransmux(other.getTransmux()); } @@ -1891,10 +1741,9 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.AudioStream other) mappingBuilder_ = null; mapping_ = other.mapping_; bitField0_ = (bitField0_ & ~0x00000002); - mappingBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMappingFieldBuilder() - : null; + mappingBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMappingFieldBuilder() : null; } else { mappingBuilder_.addAllMessages(other.mapping_); } @@ -1931,13 +1780,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private boolean transmux_; + private boolean transmux_ ; /** - * - * *
      * Specifies whether pass through (transmuxing) is enabled or not.
      * If set to `true`, the rest of the settings, other than `mapping`, will be
@@ -1945,7 +1791,6 @@ public Builder mergeFrom(
      * 
* * bool transmux = 8; - * * @return The transmux. */ @java.lang.Override @@ -1953,8 +1798,6 @@ public boolean getTransmux() { return transmux_; } /** - * - * *
      * Specifies whether pass through (transmuxing) is enabled or not.
      * If set to `true`, the rest of the settings, other than `mapping`, will be
@@ -1962,19 +1805,16 @@ public boolean getTransmux() {
      * 
* * bool transmux = 8; - * * @param value The transmux to set. * @return This builder for chaining. */ public Builder setTransmux(boolean value) { - + transmux_ = value; onChanged(); return this; } /** - * - * *
      * Specifies whether pass through (transmuxing) is enabled or not.
      * If set to `true`, the rest of the settings, other than `mapping`, will be
@@ -1982,11 +1822,10 @@ public Builder setTransmux(boolean value) {
      * 
* * bool transmux = 8; - * * @return This builder for chaining. */ public Builder clearTransmux() { - + transmux_ = false; onChanged(); return this; @@ -1994,8 +1833,6 @@ public Builder clearTransmux() { private java.lang.Object codec_ = ""; /** - * - * *
      * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
@@ -2003,13 +1840,13 @@ public Builder clearTransmux() {
      * 
* * string codec = 1; - * * @return The codec. */ public java.lang.String getCodec() { java.lang.Object ref = codec_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; @@ -2018,8 +1855,6 @@ public java.lang.String getCodec() { } } /** - * - * *
      * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
@@ -2027,14 +1862,15 @@ public java.lang.String getCodec() {
      * 
* * string codec = 1; - * * @return The bytes for codec. */ - public com.google.protobuf.ByteString getCodecBytes() { + public com.google.protobuf.ByteString + getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); codec_ = b; return b; } else { @@ -2042,8 +1878,6 @@ public com.google.protobuf.ByteString getCodecBytes() { } } /** - * - * *
      * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
@@ -2051,22 +1885,20 @@ public com.google.protobuf.ByteString getCodecBytes() {
      * 
* * string codec = 1; - * * @param value The codec to set. * @return This builder for chaining. */ - public Builder setCodec(java.lang.String value) { + public Builder setCodec( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + codec_ = value; onChanged(); return this; } /** - * - * *
      * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
@@ -2074,18 +1906,15 @@ public Builder setCodec(java.lang.String value) {
      * 
* * string codec = 1; - * * @return This builder for chaining. */ public Builder clearCodec() { - + codec_ = getDefaultInstance().getCodec(); onChanged(); return this; } /** - * - * *
      * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
@@ -2093,31 +1922,28 @@ public Builder clearCodec() {
      * 
* * string codec = 1; - * * @param value The bytes for codec to set. * @return This builder for chaining. */ - public Builder setCodecBytes(com.google.protobuf.ByteString value) { + public Builder setCodecBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + codec_ = value; onChanged(); return this; } - private int bitrateBps_; + private int bitrateBps_ ; /** - * - * *
      * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
      * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bitrateBps. */ @java.lang.Override @@ -2125,51 +1951,42 @@ public int getBitrateBps() { return bitrateBps_; } /** - * - * *
      * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
      * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bitrateBps to set. * @return This builder for chaining. */ public Builder setBitrateBps(int value) { - + bitrateBps_ = value; onChanged(); return this; } /** - * - * *
      * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
      * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBitrateBps() { - + bitrateBps_ = 0; onChanged(); return this; } - private int channelCount_; + private int channelCount_ ; /** - * - * *
      * Number of audio channels. Must be between 1 and 6. The default is 2.
      * 
* * int32 channel_count = 3; - * * @return The channelCount. */ @java.lang.Override @@ -2177,53 +1994,43 @@ public int getChannelCount() { return channelCount_; } /** - * - * *
      * Number of audio channels. Must be between 1 and 6. The default is 2.
      * 
* * int32 channel_count = 3; - * * @param value The channelCount to set. * @return This builder for chaining. */ public Builder setChannelCount(int value) { - + channelCount_ = value; onChanged(); return this; } /** - * - * *
      * Number of audio channels. Must be between 1 and 6. The default is 2.
      * 
* * int32 channel_count = 3; - * * @return This builder for chaining. */ public Builder clearChannelCount() { - + channelCount_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList channelLayout_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList channelLayout_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureChannelLayoutIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { channelLayout_ = new com.google.protobuf.LazyStringArrayList(channelLayout_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2238,15 +2045,13 @@ private void ensureChannelLayoutIsMutable() {
      * 
* * repeated string channel_layout = 4; - * * @return A list containing the channelLayout. */ - public com.google.protobuf.ProtocolStringList getChannelLayoutList() { + public com.google.protobuf.ProtocolStringList + getChannelLayoutList() { return channelLayout_.getUnmodifiableView(); } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2261,15 +2066,12 @@ public com.google.protobuf.ProtocolStringList getChannelLayoutList() {
      * 
* * repeated string channel_layout = 4; - * * @return The count of channelLayout. */ public int getChannelLayoutCount() { return channelLayout_.size(); } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2284,7 +2086,6 @@ public int getChannelLayoutCount() {
      * 
* * repeated string channel_layout = 4; - * * @param index The index of the element to return. * @return The channelLayout at the given index. */ @@ -2292,8 +2093,6 @@ public java.lang.String getChannelLayout(int index) { return channelLayout_.get(index); } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2308,16 +2107,14 @@ public java.lang.String getChannelLayout(int index) {
      * 
* * repeated string channel_layout = 4; - * * @param index The index of the value to return. * @return The bytes of the channelLayout at the given index. */ - public com.google.protobuf.ByteString getChannelLayoutBytes(int index) { + public com.google.protobuf.ByteString + getChannelLayoutBytes(int index) { return channelLayout_.getByteString(index); } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2332,23 +2129,21 @@ public com.google.protobuf.ByteString getChannelLayoutBytes(int index) {
      * 
* * repeated string channel_layout = 4; - * * @param index The index to set the value at. * @param value The channelLayout to set. * @return This builder for chaining. */ - public Builder setChannelLayout(int index, java.lang.String value) { + public Builder setChannelLayout( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChannelLayoutIsMutable(); + throw new NullPointerException(); + } + ensureChannelLayoutIsMutable(); channelLayout_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2363,22 +2158,20 @@ public Builder setChannelLayout(int index, java.lang.String value) {
      * 
* * repeated string channel_layout = 4; - * * @param value The channelLayout to add. * @return This builder for chaining. */ - public Builder addChannelLayout(java.lang.String value) { + public Builder addChannelLayout( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChannelLayoutIsMutable(); + throw new NullPointerException(); + } + ensureChannelLayoutIsMutable(); channelLayout_.add(value); onChanged(); return this; } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2393,19 +2186,18 @@ public Builder addChannelLayout(java.lang.String value) {
      * 
* * repeated string channel_layout = 4; - * * @param values The channelLayout to add. * @return This builder for chaining. */ - public Builder addAllChannelLayout(java.lang.Iterable values) { + public Builder addAllChannelLayout( + java.lang.Iterable values) { ensureChannelLayoutIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, channelLayout_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, channelLayout_); onChanged(); return this; } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2420,7 +2212,6 @@ public Builder addAllChannelLayout(java.lang.Iterable values)
      * 
* * repeated string channel_layout = 4; - * * @return This builder for chaining. */ public Builder clearChannelLayout() { @@ -2430,8 +2221,6 @@ public Builder clearChannelLayout() { return this; } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2446,15 +2235,15 @@ public Builder clearChannelLayout() {
      * 
* * repeated string channel_layout = 4; - * * @param value The bytes of the channelLayout to add. * @return This builder for chaining. */ - public Builder addChannelLayoutBytes(com.google.protobuf.ByteString value) { + public Builder addChannelLayoutBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureChannelLayoutIsMutable(); channelLayout_.add(value); onChanged(); @@ -2462,34 +2251,25 @@ public Builder addChannelLayoutBytes(com.google.protobuf.ByteString value) { } private java.util.List mapping_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMappingIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - mapping_ = - new java.util.ArrayList( - mapping_); + mapping_ = new java.util.ArrayList(mapping_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping, - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder, - com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder> - mappingBuilder_; + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping, com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder, com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder> mappingBuilder_; /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
* * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ - public java.util.List - getMappingList() { + public java.util.List getMappingList() { if (mappingBuilder_ == null) { return java.util.Collections.unmodifiableList(mapping_); } else { @@ -2497,8 +2277,6 @@ private void ensureMappingIsMutable() { } } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2513,8 +2291,6 @@ public int getMappingCount() { } } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2529,8 +2305,6 @@ public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping getMapping( } } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2552,8 +2326,6 @@ public Builder setMapping( return this; } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2561,8 +2333,7 @@ public Builder setMapping( * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ public Builder setMapping( - int index, - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder builderForValue) { + int index, com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder builderForValue) { if (mappingBuilder_ == null) { ensureMappingIsMutable(); mapping_.set(index, builderForValue.build()); @@ -2573,8 +2344,6 @@ public Builder setMapping( return this; } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2595,8 +2364,6 @@ public Builder addMapping(com.google.cloud.video.livestream.v1.AudioStream.Audio return this; } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2618,8 +2385,6 @@ public Builder addMapping( return this; } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2638,8 +2403,6 @@ public Builder addMapping( return this; } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2647,8 +2410,7 @@ public Builder addMapping( * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ public Builder addMapping( - int index, - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder builderForValue) { + int index, com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder builderForValue) { if (mappingBuilder_ == null) { ensureMappingIsMutable(); mapping_.add(index, builderForValue.build()); @@ -2659,8 +2421,6 @@ public Builder addMapping( return this; } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2668,11 +2428,11 @@ public Builder addMapping( * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ public Builder addAllMapping( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (mappingBuilder_ == null) { ensureMappingIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mapping_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mapping_); onChanged(); } else { mappingBuilder_.addAllMessages(values); @@ -2680,8 +2440,6 @@ public Builder addAllMapping( return this; } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2699,8 +2457,6 @@ public Builder clearMapping() { return this; } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2718,8 +2474,6 @@ public Builder removeMapping(int index) { return this; } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2731,34 +2485,28 @@ public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder get return getMappingFieldBuilder().getBuilder(index); } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
* * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ - public com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder - getMappingOrBuilder(int index) { + public com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder getMappingOrBuilder( + int index) { if (mappingBuilder_ == null) { - return mapping_.get(index); - } else { + return mapping_.get(index); } else { return mappingBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
* * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ - public java.util.List< - ? extends com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder> - getMappingOrBuilderList() { + public java.util.List + getMappingOrBuilderList() { if (mappingBuilder_ != null) { return mappingBuilder_.getMessageOrBuilderList(); } else { @@ -2766,23 +2514,17 @@ public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder get } } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
* * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ - public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder - addMappingBuilder() { - return getMappingFieldBuilder() - .addBuilder( - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder addMappingBuilder() { + return getMappingFieldBuilder().addBuilder( + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.getDefaultInstance()); } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2791,52 +2533,42 @@ public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder get */ public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder addMappingBuilder( int index) { - return getMappingFieldBuilder() - .addBuilder( - index, - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.getDefaultInstance()); + return getMappingFieldBuilder().addBuilder( + index, com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.getDefaultInstance()); } /** - * - * *
      * The mapping for the input streams and audio channels.
      * 
* * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ - public java.util.List - getMappingBuilderList() { + public java.util.List + getMappingBuilderList() { return getMappingFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping, - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder, - com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder> + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping, com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder, com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder> getMappingFieldBuilder() { if (mappingBuilder_ == null) { - mappingBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping, - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder, - com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder>( - mapping_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + mappingBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping, com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder, com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder>( + mapping_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); mapping_ = null; } return mappingBuilder_; } - private int sampleRateHertz_; + private int sampleRateHertz_ ; /** - * - * *
      * The audio sample rate in Hertz. The default is 48000 Hertz.
      * 
* * int32 sample_rate_hertz = 6; - * * @return The sampleRateHertz. */ @java.lang.Override @@ -2844,43 +2576,37 @@ public int getSampleRateHertz() { return sampleRateHertz_; } /** - * - * *
      * The audio sample rate in Hertz. The default is 48000 Hertz.
      * 
* * int32 sample_rate_hertz = 6; - * * @param value The sampleRateHertz to set. * @return This builder for chaining. */ public Builder setSampleRateHertz(int value) { - + sampleRateHertz_ = value; onChanged(); return this; } /** - * - * *
      * The audio sample rate in Hertz. The default is 48000 Hertz.
      * 
* * int32 sample_rate_hertz = 6; - * * @return This builder for chaining. */ public Builder clearSampleRateHertz() { - + sampleRateHertz_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2890,12 +2616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.AudioStream) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.AudioStream) private static final com.google.cloud.video.livestream.v1.AudioStream DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.AudioStream(); } @@ -2904,16 +2630,16 @@ public static com.google.cloud.video.livestream.v1.AudioStream getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudioStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AudioStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudioStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AudioStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2928,4 +2654,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.AudioStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamOrBuilder.java similarity index 83% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamOrBuilder.java index 76b521f..1410959 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; -public interface AudioStreamOrBuilder - extends +public interface AudioStreamOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.AudioStream) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Specifies whether pass through (transmuxing) is enabled or not.
    * If set to `true`, the rest of the settings, other than `mapping`, will be
@@ -33,14 +15,11 @@ public interface AudioStreamOrBuilder
    * 
* * bool transmux = 8; - * * @return The transmux. */ boolean getTransmux(); /** - * - * *
    * The codec for this audio stream. The default is `aac`.
    * Supported audio codecs:
@@ -48,13 +27,10 @@ public interface AudioStreamOrBuilder
    * 
* * string codec = 1; - * * @return The codec. */ java.lang.String getCodec(); /** - * - * *
    * The codec for this audio stream. The default is `aac`.
    * Supported audio codecs:
@@ -62,40 +38,32 @@ public interface AudioStreamOrBuilder
    * 
* * string codec = 1; - * * @return The bytes for codec. */ - com.google.protobuf.ByteString getCodecBytes(); + com.google.protobuf.ByteString + getCodecBytes(); /** - * - * *
    * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
    * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bitrateBps. */ int getBitrateBps(); /** - * - * *
    * Number of audio channels. Must be between 1 and 6. The default is 2.
    * 
* * int32 channel_count = 3; - * * @return The channelCount. */ int getChannelCount(); /** - * - * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -110,13 +78,11 @@ public interface AudioStreamOrBuilder
    * 
* * repeated string channel_layout = 4; - * * @return A list containing the channelLayout. */ - java.util.List getChannelLayoutList(); + java.util.List + getChannelLayoutList(); /** - * - * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -131,13 +97,10 @@ public interface AudioStreamOrBuilder
    * 
* * repeated string channel_layout = 4; - * * @return The count of channelLayout. */ int getChannelLayoutCount(); /** - * - * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -152,14 +115,11 @@ public interface AudioStreamOrBuilder
    * 
* * repeated string channel_layout = 4; - * * @param index The index of the element to return. * @return The channelLayout at the given index. */ java.lang.String getChannelLayout(int index); /** - * - * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -174,25 +134,22 @@ public interface AudioStreamOrBuilder
    * 
* * repeated string channel_layout = 4; - * * @param index The index of the value to return. * @return The bytes of the channelLayout at the given index. */ - com.google.protobuf.ByteString getChannelLayoutBytes(int index); + com.google.protobuf.ByteString + getChannelLayoutBytes(int index); /** - * - * *
    * The mapping for the input streams and audio channels.
    * 
* * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ - java.util.List getMappingList(); + java.util.List + getMappingList(); /** - * - * *
    * The mapping for the input streams and audio channels.
    * 
@@ -201,8 +158,6 @@ public interface AudioStreamOrBuilder */ com.google.cloud.video.livestream.v1.AudioStream.AudioMapping getMapping(int index); /** - * - * *
    * The mapping for the input streams and audio channels.
    * 
@@ -211,19 +166,15 @@ public interface AudioStreamOrBuilder */ int getMappingCount(); /** - * - * *
    * The mapping for the input streams and audio channels.
    * 
* * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ - java.util.List + java.util.List getMappingOrBuilderList(); /** - * - * *
    * The mapping for the input streams and audio channels.
    * 
@@ -234,14 +185,11 @@ com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder getMappin int index); /** - * - * *
    * The audio sample rate in Hertz. The default is 48000 Hertz.
    * 
* * int32 sample_rate_hertz = 6; - * * @return The sampleRateHertz. */ int getSampleRateHertz(); diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamProperty.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamProperty.java similarity index 69% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamProperty.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamProperty.java index 34aef18..c50ed68 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamProperty.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamProperty.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Properties of the audio stream.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.AudioStreamProperty} */ -public final class AudioStreamProperty extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AudioStreamProperty extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.AudioStreamProperty) AudioStreamPropertyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AudioStreamProperty.newBuilder() to construct. private AudioStreamProperty(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AudioStreamProperty() {} + private AudioStreamProperty() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AudioStreamProperty(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AudioStreamProperty( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,34 +52,31 @@ private AudioStreamProperty( case 0: done = true; break; - case 8: - { - index_ = input.readInt32(); - break; + case 8: { + + index_ = input.readInt32(); + break; + } + case 18: { + com.google.cloud.video.livestream.v1.AudioFormat.Builder subBuilder = null; + if (audioFormat_ != null) { + subBuilder = audioFormat_.toBuilder(); } - case 18: - { - com.google.cloud.video.livestream.v1.AudioFormat.Builder subBuilder = null; - if (audioFormat_ != null) { - subBuilder = audioFormat_.toBuilder(); - } - audioFormat_ = - input.readMessage( - com.google.cloud.video.livestream.v1.AudioFormat.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(audioFormat_); - audioFormat_ = subBuilder.buildPartial(); - } - - break; + audioFormat_ = input.readMessage(com.google.cloud.video.livestream.v1.AudioFormat.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(audioFormat_); + audioFormat_ = 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) { @@ -103,39 +84,34 @@ private AudioStreamProperty( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.AudioStreamProperty.class, - com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder.class); + com.google.cloud.video.livestream.v1.AudioStreamProperty.class, com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder.class); } public static final int INDEX_FIELD_NUMBER = 1; private int index_; /** - * - * *
    * Index of this audio stream.
    * 
* * int32 index = 1; - * * @return The index. */ @java.lang.Override @@ -146,14 +122,11 @@ public int getIndex() { public static final int AUDIO_FORMAT_FIELD_NUMBER = 2; private com.google.cloud.video.livestream.v1.AudioFormat audioFormat_; /** - * - * *
    * Properties of the audio format.
    * 
* * .google.cloud.video.livestream.v1.AudioFormat audio_format = 2; - * * @return Whether the audioFormat field is set. */ @java.lang.Override @@ -161,25 +134,18 @@ public boolean hasAudioFormat() { return audioFormat_ != null; } /** - * - * *
    * Properties of the audio format.
    * 
* * .google.cloud.video.livestream.v1.AudioFormat audio_format = 2; - * * @return The audioFormat. */ @java.lang.Override public com.google.cloud.video.livestream.v1.AudioFormat getAudioFormat() { - return audioFormat_ == null - ? com.google.cloud.video.livestream.v1.AudioFormat.getDefaultInstance() - : audioFormat_; + return audioFormat_ == null ? com.google.cloud.video.livestream.v1.AudioFormat.getDefaultInstance() : audioFormat_; } /** - * - * *
    * Properties of the audio format.
    * 
@@ -192,7 +158,6 @@ public com.google.cloud.video.livestream.v1.AudioFormatOrBuilder getAudioFormatO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,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 (index_ != 0) { output.writeInt32(1, index_); } @@ -221,10 +187,12 @@ public int getSerializedSize() { size = 0; if (index_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, index_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, index_); } if (audioFormat_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAudioFormat()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAudioFormat()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,18 +202,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.AudioStreamProperty)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.AudioStreamProperty other = - (com.google.cloud.video.livestream.v1.AudioStreamProperty) obj; + com.google.cloud.video.livestream.v1.AudioStreamProperty other = (com.google.cloud.video.livestream.v1.AudioStreamProperty) obj; - if (getIndex() != other.getIndex()) return false; + if (getIndex() + != other.getIndex()) return false; if (hasAudioFormat() != other.hasAudioFormat()) return false; if (hasAudioFormat()) { - if (!getAudioFormat().equals(other.getAudioFormat())) return false; + if (!getAudioFormat() + .equals(other.getAudioFormat())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -270,127 +239,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.AudioStreamProperty prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.AudioStreamProperty prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Properties of the audio stream.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.AudioStreamProperty} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.AudioStreamProperty) com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.AudioStreamProperty.class, - com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder.class); + com.google.cloud.video.livestream.v1.AudioStreamProperty.class, com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.AudioStreamProperty.newBuilder() @@ -398,15 +357,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -422,9 +382,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor; } @java.lang.Override @@ -443,8 +403,7 @@ public com.google.cloud.video.livestream.v1.AudioStreamProperty build() { @java.lang.Override public com.google.cloud.video.livestream.v1.AudioStreamProperty buildPartial() { - com.google.cloud.video.livestream.v1.AudioStreamProperty result = - new com.google.cloud.video.livestream.v1.AudioStreamProperty(this); + com.google.cloud.video.livestream.v1.AudioStreamProperty result = new com.google.cloud.video.livestream.v1.AudioStreamProperty(this); result.index_ = index_; if (audioFormatBuilder_ == null) { result.audioFormat_ = audioFormat_; @@ -459,39 +418,38 @@ public com.google.cloud.video.livestream.v1.AudioStreamProperty buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.AudioStreamProperty) { - return mergeFrom((com.google.cloud.video.livestream.v1.AudioStreamProperty) other); + return mergeFrom((com.google.cloud.video.livestream.v1.AudioStreamProperty)other); } else { super.mergeFrom(other); return this; @@ -499,8 +457,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.AudioStreamProperty other) { - if (other == com.google.cloud.video.livestream.v1.AudioStreamProperty.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.AudioStreamProperty.getDefaultInstance()) return this; if (other.getIndex() != 0) { setIndex(other.getIndex()); } @@ -526,8 +483,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.AudioStreamProperty) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.AudioStreamProperty) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -537,16 +493,13 @@ public Builder mergeFrom( return this; } - private int index_; + private int index_ ; /** - * - * *
      * Index of this audio stream.
      * 
* * int32 index = 1; - * * @return The index. */ @java.lang.Override @@ -554,36 +507,30 @@ public int getIndex() { return index_; } /** - * - * *
      * Index of this audio stream.
      * 
* * int32 index = 1; - * * @param value The index to set. * @return This builder for chaining. */ public Builder setIndex(int value) { - + index_ = value; onChanged(); return this; } /** - * - * *
      * Index of this audio stream.
      * 
* * int32 index = 1; - * * @return This builder for chaining. */ public Builder clearIndex() { - + index_ = 0; onChanged(); return this; @@ -591,47 +538,34 @@ public Builder clearIndex() { private com.google.cloud.video.livestream.v1.AudioFormat audioFormat_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioFormat, - com.google.cloud.video.livestream.v1.AudioFormat.Builder, - com.google.cloud.video.livestream.v1.AudioFormatOrBuilder> - audioFormatBuilder_; + com.google.cloud.video.livestream.v1.AudioFormat, com.google.cloud.video.livestream.v1.AudioFormat.Builder, com.google.cloud.video.livestream.v1.AudioFormatOrBuilder> audioFormatBuilder_; /** - * - * *
      * Properties of the audio format.
      * 
* * .google.cloud.video.livestream.v1.AudioFormat audio_format = 2; - * * @return Whether the audioFormat field is set. */ public boolean hasAudioFormat() { return audioFormatBuilder_ != null || audioFormat_ != null; } /** - * - * *
      * Properties of the audio format.
      * 
* * .google.cloud.video.livestream.v1.AudioFormat audio_format = 2; - * * @return The audioFormat. */ public com.google.cloud.video.livestream.v1.AudioFormat getAudioFormat() { if (audioFormatBuilder_ == null) { - return audioFormat_ == null - ? com.google.cloud.video.livestream.v1.AudioFormat.getDefaultInstance() - : audioFormat_; + return audioFormat_ == null ? com.google.cloud.video.livestream.v1.AudioFormat.getDefaultInstance() : audioFormat_; } else { return audioFormatBuilder_.getMessage(); } } /** - * - * *
      * Properties of the audio format.
      * 
@@ -652,8 +586,6 @@ public Builder setAudioFormat(com.google.cloud.video.livestream.v1.AudioFormat v return this; } /** - * - * *
      * Properties of the audio format.
      * 
@@ -672,8 +604,6 @@ public Builder setAudioFormat( return this; } /** - * - * *
      * Properties of the audio format.
      * 
@@ -684,9 +614,7 @@ public Builder mergeAudioFormat(com.google.cloud.video.livestream.v1.AudioFormat if (audioFormatBuilder_ == null) { if (audioFormat_ != null) { audioFormat_ = - com.google.cloud.video.livestream.v1.AudioFormat.newBuilder(audioFormat_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.livestream.v1.AudioFormat.newBuilder(audioFormat_).mergeFrom(value).buildPartial(); } else { audioFormat_ = value; } @@ -698,8 +626,6 @@ public Builder mergeAudioFormat(com.google.cloud.video.livestream.v1.AudioFormat return this; } /** - * - * *
      * Properties of the audio format.
      * 
@@ -718,8 +644,6 @@ public Builder clearAudioFormat() { return this; } /** - * - * *
      * Properties of the audio format.
      * 
@@ -727,13 +651,11 @@ public Builder clearAudioFormat() { * .google.cloud.video.livestream.v1.AudioFormat audio_format = 2; */ public com.google.cloud.video.livestream.v1.AudioFormat.Builder getAudioFormatBuilder() { - + onChanged(); return getAudioFormatFieldBuilder().getBuilder(); } /** - * - * *
      * Properties of the audio format.
      * 
@@ -744,14 +666,11 @@ public com.google.cloud.video.livestream.v1.AudioFormatOrBuilder getAudioFormatO if (audioFormatBuilder_ != null) { return audioFormatBuilder_.getMessageOrBuilder(); } else { - return audioFormat_ == null - ? com.google.cloud.video.livestream.v1.AudioFormat.getDefaultInstance() - : audioFormat_; + return audioFormat_ == null ? + com.google.cloud.video.livestream.v1.AudioFormat.getDefaultInstance() : audioFormat_; } } /** - * - * *
      * Properties of the audio format.
      * 
@@ -759,24 +678,21 @@ public com.google.cloud.video.livestream.v1.AudioFormatOrBuilder getAudioFormatO * .google.cloud.video.livestream.v1.AudioFormat audio_format = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioFormat, - com.google.cloud.video.livestream.v1.AudioFormat.Builder, - com.google.cloud.video.livestream.v1.AudioFormatOrBuilder> + com.google.cloud.video.livestream.v1.AudioFormat, com.google.cloud.video.livestream.v1.AudioFormat.Builder, com.google.cloud.video.livestream.v1.AudioFormatOrBuilder> getAudioFormatFieldBuilder() { if (audioFormatBuilder_ == null) { - audioFormatBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioFormat, - com.google.cloud.video.livestream.v1.AudioFormat.Builder, - com.google.cloud.video.livestream.v1.AudioFormatOrBuilder>( - getAudioFormat(), getParentForChildren(), isClean()); + audioFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.AudioFormat, com.google.cloud.video.livestream.v1.AudioFormat.Builder, com.google.cloud.video.livestream.v1.AudioFormatOrBuilder>( + getAudioFormat(), + getParentForChildren(), + isClean()); audioFormat_ = null; } return audioFormatBuilder_; } - @java.lang.Override - 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 +702,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.AudioStreamProperty) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.AudioStreamProperty) private static final com.google.cloud.video.livestream.v1.AudioStreamProperty DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.AudioStreamProperty(); } @@ -800,16 +716,16 @@ public static com.google.cloud.video.livestream.v1.AudioStreamProperty getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudioStreamProperty parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AudioStreamProperty(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudioStreamProperty parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AudioStreamProperty(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -824,4 +740,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.AudioStreamProperty getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamPropertyOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamPropertyOrBuilder.java similarity index 63% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamPropertyOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamPropertyOrBuilder.java index 1cc4454..ca56630 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamPropertyOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamPropertyOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface AudioStreamPropertyOrBuilder - extends +public interface AudioStreamPropertyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.AudioStreamProperty) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Index of this audio stream.
    * 
* * int32 index = 1; - * * @return The index. */ int getIndex(); /** - * - * *
    * Properties of the audio format.
    * 
* * .google.cloud.video.livestream.v1.AudioFormat audio_format = 2; - * * @return Whether the audioFormat field is set. */ boolean hasAudioFormat(); /** - * - * *
    * Properties of the audio format.
    * 
* * .google.cloud.video.livestream.v1.AudioFormat audio_format = 2; - * * @return The audioFormat. */ com.google.cloud.video.livestream.v1.AudioFormat getAudioFormat(); /** - * - * *
    * Properties of the audio format.
    * 
diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Channel.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Channel.java similarity index 72% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Channel.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Channel.java index 2c46d52..1905d11 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Channel.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Channel.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Channel resource represents the processor that does a user-defined
  * "streaming" operation, which includes getting an input stream through an
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.cloud.video.livestream.v1.Channel}
  */
-public final class Channel extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Channel extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.Channel)
     ChannelOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Channel.newBuilder() to construct.
   private Channel(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Channel() {
     name_ = "";
     inputAttachments_ = java.util.Collections.emptyList();
@@ -54,15 +36,16 @@ private Channel() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Channel();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Channel(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -82,189 +65,154 @@ private Channel(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              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;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              activeInput_ = s;
-              break;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 74:
-            {
-              com.google.cloud.video.livestream.v1.Channel.Output.Builder subBuilder = null;
-              if (output_ != null) {
-                subBuilder = output_.toBuilder();
-              }
-              output_ =
-                  input.readMessage(
-                      com.google.cloud.video.livestream.v1.Channel.Output.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(output_);
-                output_ = subBuilder.buildPartial();
-              }
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              break;
+            activeInput_ = s;
+            break;
+          }
+          case 74: {
+            com.google.cloud.video.livestream.v1.Channel.Output.Builder subBuilder = null;
+            if (output_ != null) {
+              subBuilder = output_.toBuilder();
             }
-          case 82:
-            {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                elementaryStreams_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.video.livestream.v1.ElementaryStream>();
-                mutable_bitField0_ |= 0x00000004;
-              }
-              elementaryStreams_.add(
-                  input.readMessage(
-                      com.google.cloud.video.livestream.v1.ElementaryStream.parser(),
-                      extensionRegistry));
-              break;
+            output_ = input.readMessage(com.google.cloud.video.livestream.v1.Channel.Output.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(output_);
+              output_ = subBuilder.buildPartial();
             }
-          case 90:
-            {
-              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                muxStreams_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000008;
-              }
-              muxStreams_.add(
-                  input.readMessage(
-                      com.google.cloud.video.livestream.v1.MuxStream.parser(), extensionRegistry));
-              break;
+
+            break;
+          }
+          case 82: {
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              elementaryStreams_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000004;
             }
-          case 98:
-            {
-              if (!((mutable_bitField0_ & 0x00000010) != 0)) {
-                manifests_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000010;
-              }
-              manifests_.add(
-                  input.readMessage(
-                      com.google.cloud.video.livestream.v1.Manifest.parser(), extensionRegistry));
-              break;
+            elementaryStreams_.add(
+                input.readMessage(com.google.cloud.video.livestream.v1.ElementaryStream.parser(), extensionRegistry));
+            break;
+          }
+          case 90: {
+            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+              muxStreams_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000008;
             }
-          case 106:
-            {
-              if (!((mutable_bitField0_ & 0x00000020) != 0)) {
-                spriteSheets_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000020;
-              }
-              spriteSheets_.add(
-                  input.readMessage(
-                      com.google.cloud.video.livestream.v1.SpriteSheet.parser(),
-                      extensionRegistry));
-              break;
+            muxStreams_.add(
+                input.readMessage(com.google.cloud.video.livestream.v1.MuxStream.parser(), extensionRegistry));
+            break;
+          }
+          case 98: {
+            if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+              manifests_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000010;
             }
-          case 112:
-            {
-              int rawValue = input.readEnum();
+            manifests_.add(
+                input.readMessage(com.google.cloud.video.livestream.v1.Manifest.parser(), extensionRegistry));
+            break;
+          }
+          case 106: {
+            if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+              spriteSheets_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000020;
+            }
+            spriteSheets_.add(
+                input.readMessage(com.google.cloud.video.livestream.v1.SpriteSheet.parser(), extensionRegistry));
+            break;
+          }
+          case 112: {
+            int rawValue = input.readEnum();
 
-              streamingState_ = rawValue;
-              break;
+            streamingState_ = rawValue;
+            break;
+          }
+          case 130: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              inputAttachments_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 130:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                inputAttachments_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              inputAttachments_.add(
-                  input.readMessage(
-                      com.google.cloud.video.livestream.v1.InputAttachment.parser(),
-                      extensionRegistry));
-              break;
+            inputAttachments_.add(
+                input.readMessage(com.google.cloud.video.livestream.v1.InputAttachment.parser(), extensionRegistry));
+            break;
+          }
+          case 146: {
+            com.google.rpc.Status.Builder subBuilder = null;
+            if (streamingError_ != null) {
+              subBuilder = streamingError_.toBuilder();
             }
-          case 146:
-            {
-              com.google.rpc.Status.Builder subBuilder = null;
-              if (streamingError_ != null) {
-                subBuilder = streamingError_.toBuilder();
-              }
-              streamingError_ =
-                  input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(streamingError_);
-                streamingError_ = subBuilder.buildPartial();
-              }
-
-              break;
+            streamingError_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(streamingError_);
+              streamingError_ = subBuilder.buildPartial();
             }
-          case 154:
-            {
-              com.google.cloud.video.livestream.v1.LogConfig.Builder subBuilder = null;
-              if (logConfig_ != null) {
-                subBuilder = logConfig_.toBuilder();
-              }
-              logConfig_ =
-                  input.readMessage(
-                      com.google.cloud.video.livestream.v1.LogConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(logConfig_);
-                logConfig_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 154: {
+            com.google.cloud.video.livestream.v1.LogConfig.Builder subBuilder = null;
+            if (logConfig_ != null) {
+              subBuilder = logConfig_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            logConfig_ = input.readMessage(com.google.cloud.video.livestream.v1.LogConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(logConfig_);
+              logConfig_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -272,7 +220,8 @@ private Channel(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_ & 0x00000004) != 0)) {
         elementaryStreams_ = java.util.Collections.unmodifiableList(elementaryStreams_);
@@ -293,46 +242,41 @@ private Channel(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.video.livestream.v1.ResourcesProto
-        .internal_static_google_cloud_video_livestream_v1_Channel_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.video.livestream.v1.ResourcesProto
-        .internal_static_google_cloud_video_livestream_v1_Channel_fieldAccessorTable
+    return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.video.livestream.v1.Channel.class,
-            com.google.cloud.video.livestream.v1.Channel.Builder.class);
+            com.google.cloud.video.livestream.v1.Channel.class, com.google.cloud.video.livestream.v1.Channel.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State of streaming operation that the channel is running.
    * 
* * Protobuf enum {@code google.cloud.video.livestream.v1.Channel.StreamingState} */ - public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum { + public enum StreamingState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Streaming state is not specified.
      * 
@@ -341,8 +285,6 @@ public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum { */ STREAMING_STATE_UNSPECIFIED(0), /** - * - * *
      * Channel is getting the input stream, generating the live streams to the
      * specified output location.
@@ -352,8 +294,6 @@ public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum {
      */
     STREAMING(1),
     /**
-     *
-     *
      * 
      * Channel is waiting for the input stream through the input.
      * 
@@ -362,8 +302,6 @@ public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum { */ AWAITING_INPUT(2), /** - * - * *
      * Channel is running, but has trouble publishing the live streams onto the
      * specified output location (for example, the specified Cloud Storage
@@ -374,8 +312,6 @@ public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum {
      */
     STREAMING_ERROR(4),
     /**
-     *
-     *
      * 
      * Channel is generating live streams with no input stream. Live streams are
      * filled out with black screen, while input stream is missing.
@@ -386,8 +322,6 @@ public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum {
      */
     STREAMING_NO_INPUT(5),
     /**
-     *
-     *
      * 
      * Channel is stopped, finishing live streams.
      * 
@@ -396,8 +330,6 @@ public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum { */ STOPPED(6), /** - * - * *
      * Channel is starting.
      * 
@@ -406,8 +338,6 @@ public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum { */ STARTING(7), /** - * - * *
      * Channel is stopping.
      * 
@@ -419,8 +349,6 @@ public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Streaming state is not specified.
      * 
@@ -429,8 +357,6 @@ public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STREAMING_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Channel is getting the input stream, generating the live streams to the
      * specified output location.
@@ -440,8 +366,6 @@ public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int STREAMING_VALUE = 1;
     /**
-     *
-     *
      * 
      * Channel is waiting for the input stream through the input.
      * 
@@ -450,8 +374,6 @@ public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AWAITING_INPUT_VALUE = 2; /** - * - * *
      * Channel is running, but has trouble publishing the live streams onto the
      * specified output location (for example, the specified Cloud Storage
@@ -462,8 +384,6 @@ public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int STREAMING_ERROR_VALUE = 4;
     /**
-     *
-     *
      * 
      * Channel is generating live streams with no input stream. Live streams are
      * filled out with black screen, while input stream is missing.
@@ -474,8 +394,6 @@ public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int STREAMING_NO_INPUT_VALUE = 5;
     /**
-     *
-     *
      * 
      * Channel is stopped, finishing live streams.
      * 
@@ -484,8 +402,6 @@ public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOPPED_VALUE = 6; /** - * - * *
      * Channel is starting.
      * 
@@ -494,8 +410,6 @@ public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STARTING_VALUE = 7; /** - * - * *
      * Channel is stopping.
      * 
@@ -504,6 +418,7 @@ public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOPPING_VALUE = 8; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -528,59 +443,54 @@ public static StreamingState valueOf(int value) { */ public static StreamingState forNumber(int value) { switch (value) { - case 0: - return STREAMING_STATE_UNSPECIFIED; - case 1: - return STREAMING; - case 2: - return AWAITING_INPUT; - case 4: - return STREAMING_ERROR; - case 5: - return STREAMING_NO_INPUT; - case 6: - return STOPPED; - case 7: - return STARTING; - case 8: - return STOPPING; - default: - return null; + case 0: return STREAMING_STATE_UNSPECIFIED; + case 1: return STREAMING; + case 2: return AWAITING_INPUT; + case 4: return STREAMING_ERROR; + case 5: return STREAMING_NO_INPUT; + case 6: return STOPPED; + case 7: return STARTING; + case 8: return STOPPING; + 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< + StreamingState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public StreamingState findValueByNumber(int number) { + return StreamingState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public StreamingState findValueByNumber(int number) { - return StreamingState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.video.livestream.v1.Channel.getDescriptor().getEnumTypes().get(0); } private static final StreamingState[] VALUES = values(); - public static StreamingState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static StreamingState 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; @@ -597,70 +507,62 @@ private StreamingState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.video.livestream.v1.Channel.StreamingState) } - public interface OutputOrBuilder - extends + public interface OutputOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.Channel.Output) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
      * 
* * string uri = 1; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
      * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
      * 
* * string uri = 1; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); } /** - * - * *
    * Location of output file(s) in a Google Cloud Storage bucket.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.Channel.Output} */ - public static final class Output extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Output extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.Channel.Output) OutputOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Output.newBuilder() to construct. private Output(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Output() { uri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Output(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Output( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -679,20 +581,19 @@ private Output( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uri_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -700,39 +601,34 @@ private Output( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_Channel_Output_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_Output_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.Channel.Output.class, - com.google.cloud.video.livestream.v1.Channel.Output.Builder.class); + com.google.cloud.video.livestream.v1.Channel.Output.class, com.google.cloud.video.livestream.v1.Channel.Output.Builder.class); } public static final int URI_FIELD_NUMBER = 1; private volatile java.lang.Object uri_; /** - * - * *
      * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
      * 
* * string uri = 1; - * * @return The uri. */ @java.lang.Override @@ -741,29 +637,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
      * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
      * 
* * string uri = 1; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -772,7 +668,6 @@ public com.google.protobuf.ByteString getUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -784,7 +679,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -808,15 +704,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.Channel.Output)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.Channel.Output other = - (com.google.cloud.video.livestream.v1.Channel.Output) obj; + com.google.cloud.video.livestream.v1.Channel.Output other = (com.google.cloud.video.livestream.v1.Channel.Output) obj; - if (!getUri().equals(other.getUri())) return false; + if (!getUri() + .equals(other.getUri())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -836,94 +732,87 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.Channel.Output parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.Channel.Output parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.Channel.Output parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.Channel.Output prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.Channel.Output prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -933,32 +822,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Location of output file(s) in a Google Cloud Storage bucket.
      * 
* * Protobuf type {@code google.cloud.video.livestream.v1.Channel.Output} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.Channel.Output) com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_Channel_Output_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_Output_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.Channel.Output.class, - com.google.cloud.video.livestream.v1.Channel.Output.Builder.class); + com.google.cloud.video.livestream.v1.Channel.Output.class, com.google.cloud.video.livestream.v1.Channel.Output.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.Channel.Output.newBuilder() @@ -966,15 +850,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(); @@ -984,9 +869,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor; } @java.lang.Override @@ -1005,8 +890,7 @@ public com.google.cloud.video.livestream.v1.Channel.Output build() { @java.lang.Override public com.google.cloud.video.livestream.v1.Channel.Output buildPartial() { - com.google.cloud.video.livestream.v1.Channel.Output result = - new com.google.cloud.video.livestream.v1.Channel.Output(this); + com.google.cloud.video.livestream.v1.Channel.Output result = new com.google.cloud.video.livestream.v1.Channel.Output(this); result.uri_ = uri_; onBuilt(); return result; @@ -1016,41 +900,38 @@ public com.google.cloud.video.livestream.v1.Channel.Output buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.Channel.Output) { - return mergeFrom((com.google.cloud.video.livestream.v1.Channel.Output) other); + return mergeFrom((com.google.cloud.video.livestream.v1.Channel.Output)other); } else { super.mergeFrom(other); return this; @@ -1058,8 +939,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.Channel.Output other) { - if (other == com.google.cloud.video.livestream.v1.Channel.Output.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.Channel.Output.getDefaultInstance()) return this; if (!other.getUri().isEmpty()) { uri_ = other.uri_; onChanged(); @@ -1083,8 +963,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.Channel.Output) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.Channel.Output) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1096,20 +975,18 @@ public Builder mergeFrom( private java.lang.Object uri_ = ""; /** - * - * *
        * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
        * 
* * string uri = 1; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1118,21 +995,20 @@ public java.lang.String getUri() { } } /** - * - * *
        * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
        * 
* * string uri = 1; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1140,66 +1016,58 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
        * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
        * 
* * string uri = 1; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
        * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
        * 
* * string uri = 1; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
        * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
        * 
* * string uri = 1; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1212,12 +1080,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.Channel.Output) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.Channel.Output) private static final com.google.cloud.video.livestream.v1.Channel.Output DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.Channel.Output(); } @@ -1226,16 +1094,16 @@ public static com.google.cloud.video.livestream.v1.Channel.Output getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Output parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Output(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Output parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Output(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1250,20 +1118,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.Channel.Output getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The resource name of the channel, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1272,30 +1138,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the channel, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* * 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 { @@ -1306,15 +1172,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -1322,15 +1184,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -1338,14 +1196,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1355,15 +1210,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1371,15 +1222,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -1387,14 +1234,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1402,23 +1246,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -1427,30 +1272,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * User-defined key/value metadata.
    * 
@@ -1458,12 +1301,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * User-defined key/value metadata.
    * 
@@ -1471,16 +1313,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * User-defined key/value metadata.
    * 
@@ -1488,11 +1330,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1502,8 +1345,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int INPUT_ATTACHMENTS_FIELD_NUMBER = 16; private java.util.List inputAttachments_; /** - * - * *
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -1513,13 +1354,10 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
    * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;
    */
   @java.lang.Override
-  public java.util.List
-      getInputAttachmentsList() {
+  public java.util.List getInputAttachmentsList() {
     return inputAttachments_;
   }
   /**
-   *
-   *
    * 
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -1529,13 +1367,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
    * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getInputAttachmentsOrBuilderList() {
     return inputAttachments_;
   }
   /**
-   *
-   *
    * 
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -1549,8 +1385,6 @@ public int getInputAttachmentsCount() {
     return inputAttachments_.size();
   }
   /**
-   *
-   *
    * 
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -1564,8 +1398,6 @@ public com.google.cloud.video.livestream.v1.InputAttachment getInputAttachments(
     return inputAttachments_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -1583,15 +1415,12 @@ public com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder getInputAtt
   public static final int ACTIVE_INPUT_FIELD_NUMBER = 6;
   private volatile java.lang.Object activeInput_;
   /**
-   *
-   *
    * 
    * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
    * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
    * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The activeInput. */ @java.lang.Override @@ -1600,30 +1429,30 @@ public java.lang.String getActiveInput() { 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(); activeInput_ = s; return s; } } /** - * - * *
    * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
    * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
    * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for activeInput. */ @java.lang.Override - public com.google.protobuf.ByteString getActiveInputBytes() { + public com.google.protobuf.ByteString + getActiveInputBytes() { java.lang.Object ref = activeInput_; 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); activeInput_ = b; return b; } else { @@ -1634,17 +1463,12 @@ public com.google.protobuf.ByteString getActiveInputBytes() { public static final int OUTPUT_FIELD_NUMBER = 9; private com.google.cloud.video.livestream.v1.Channel.Output output_; /** - * - * *
    * Required. Information about the output (that is, the Cloud Storage bucket to store
    * the generated live stream).
    * 
* - * - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the output field is set. */ @java.lang.Override @@ -1652,36 +1476,25 @@ public boolean hasOutput() { return output_ != null; } /** - * - * *
    * Required. Information about the output (that is, the Cloud Storage bucket to store
    * the generated live stream).
    * 
* - * - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The output. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Channel.Output getOutput() { - return output_ == null - ? com.google.cloud.video.livestream.v1.Channel.Output.getDefaultInstance() - : output_; + return output_ == null ? com.google.cloud.video.livestream.v1.Channel.Output.getDefaultInstance() : output_; } /** - * - * *
    * Required. Information about the output (that is, the Cloud Storage bucket to store
    * the generated live stream).
    * 
* - * - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder getOutputOrBuilder() { @@ -1691,84 +1504,66 @@ public com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder getOutputOrB public static final int ELEMENTARY_STREAMS_FIELD_NUMBER = 10; private java.util.List elementaryStreams_; /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ @java.lang.Override - public java.util.List - getElementaryStreamsList() { + public java.util.List getElementaryStreamsList() { return elementaryStreams_; } /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ @java.lang.Override - public java.util.List + public java.util.List getElementaryStreamsOrBuilderList() { return elementaryStreams_; } /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ @java.lang.Override public int getElementaryStreamsCount() { return elementaryStreams_.size(); } /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ @java.lang.Override public com.google.cloud.video.livestream.v1.ElementaryStream getElementaryStreams(int index) { return elementaryStreams_.get(index); } /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder - getElementaryStreamsOrBuilder(int index) { + public com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder getElementaryStreamsOrBuilder( + int index) { return elementaryStreams_.get(index); } public static final int MUX_STREAMS_FIELD_NUMBER = 11; private java.util.List muxStreams_; /** - * - * *
    * List of multiplexing settings for output streams.
    * 
@@ -1780,8 +1575,6 @@ public java.util.List getMuxStre return muxStreams_; } /** - * - * *
    * List of multiplexing settings for output streams.
    * 
@@ -1789,13 +1582,11 @@ public java.util.List getMuxStre * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ @java.lang.Override - public java.util.List + public java.util.List getMuxStreamsOrBuilderList() { return muxStreams_; } /** - * - * *
    * List of multiplexing settings for output streams.
    * 
@@ -1807,8 +1598,6 @@ public int getMuxStreamsCount() { return muxStreams_.size(); } /** - * - * *
    * List of multiplexing settings for output streams.
    * 
@@ -1820,8 +1609,6 @@ public com.google.cloud.video.livestream.v1.MuxStream getMuxStreams(int index) { return muxStreams_.get(index); } /** - * - * *
    * List of multiplexing settings for output streams.
    * 
@@ -1829,15 +1616,14 @@ public com.google.cloud.video.livestream.v1.MuxStream getMuxStreams(int index) { * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder(int index) { + public com.google.cloud.video.livestream.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder( + int index) { return muxStreams_.get(index); } public static final int MANIFESTS_FIELD_NUMBER = 12; private java.util.List manifests_; /** - * - * *
    * List of output manifests.
    * 
@@ -1849,8 +1635,6 @@ public java.util.List getManifest return manifests_; } /** - * - * *
    * List of output manifests.
    * 
@@ -1858,13 +1642,11 @@ public java.util.List getManifest * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ @java.lang.Override - public java.util.List + public java.util.List getManifestsOrBuilderList() { return manifests_; } /** - * - * *
    * List of output manifests.
    * 
@@ -1876,8 +1658,6 @@ public int getManifestsCount() { return manifests_.size(); } /** - * - * *
    * List of output manifests.
    * 
@@ -1889,8 +1669,6 @@ public com.google.cloud.video.livestream.v1.Manifest getManifests(int index) { return manifests_.get(index); } /** - * - * *
    * List of output manifests.
    * 
@@ -1898,15 +1676,14 @@ public com.google.cloud.video.livestream.v1.Manifest getManifests(int index) { * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuilder(int index) { + public com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuilder( + int index) { return manifests_.get(index); } public static final int SPRITE_SHEETS_FIELD_NUMBER = 13; private java.util.List spriteSheets_; /** - * - * *
    * List of output sprite sheets.
    * 
@@ -1918,8 +1695,6 @@ public java.util.List getSprit return spriteSheets_; } /** - * - * *
    * List of output sprite sheets.
    * 
@@ -1927,13 +1702,11 @@ public java.util.List getSprit * repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13; */ @java.lang.Override - public java.util.List + public java.util.List getSpriteSheetsOrBuilderList() { return spriteSheets_; } /** - * - * *
    * List of output sprite sheets.
    * 
@@ -1945,8 +1718,6 @@ public int getSpriteSheetsCount() { return spriteSheets_.size(); } /** - * - * *
    * List of output sprite sheets.
    * 
@@ -1958,8 +1729,6 @@ public com.google.cloud.video.livestream.v1.SpriteSheet getSpriteSheets(int inde return spriteSheets_.get(index); } /** - * - * *
    * List of output sprite sheets.
    * 
@@ -1975,59 +1744,40 @@ public com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder getSpriteSheets public static final int STREAMING_STATE_FIELD_NUMBER = 14; private int streamingState_; /** - * - * *
    * Output only. State of the streaming operation.
    * 
* - * - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for streamingState. */ - @java.lang.Override - public int getStreamingStateValue() { + @java.lang.Override public int getStreamingStateValue() { return streamingState_; } /** - * - * *
    * Output only. State of the streaming operation.
    * 
* - * - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The streamingState. */ - @java.lang.Override - public com.google.cloud.video.livestream.v1.Channel.StreamingState getStreamingState() { + @java.lang.Override public com.google.cloud.video.livestream.v1.Channel.StreamingState getStreamingState() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Channel.StreamingState result = - com.google.cloud.video.livestream.v1.Channel.StreamingState.valueOf(streamingState_); - return result == null - ? com.google.cloud.video.livestream.v1.Channel.StreamingState.UNRECOGNIZED - : result; + com.google.cloud.video.livestream.v1.Channel.StreamingState result = com.google.cloud.video.livestream.v1.Channel.StreamingState.valueOf(streamingState_); + return result == null ? com.google.cloud.video.livestream.v1.Channel.StreamingState.UNRECOGNIZED : result; } public static final int STREAMING_ERROR_FIELD_NUMBER = 18; private com.google.rpc.Status streamingError_; /** - * - * *
    * Output only. A description of the reason for the streaming error. This property is
    * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
    * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
    * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the streamingError field is set. */ @java.lang.Override @@ -2035,17 +1785,13 @@ public boolean hasStreamingError() { return streamingError_ != null; } /** - * - * *
    * Output only. A description of the reason for the streaming error. This property is
    * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
    * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
    * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The streamingError. */ @java.lang.Override @@ -2053,16 +1799,13 @@ public com.google.rpc.Status getStreamingError() { return streamingError_ == null ? com.google.rpc.Status.getDefaultInstance() : streamingError_; } /** - * - * *
    * Output only. A description of the reason for the streaming error. This property is
    * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
    * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
    * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getStreamingErrorOrBuilder() { @@ -2072,14 +1815,11 @@ public com.google.rpc.StatusOrBuilder getStreamingErrorOrBuilder() { public static final int LOG_CONFIG_FIELD_NUMBER = 19; private com.google.cloud.video.livestream.v1.LogConfig logConfig_; /** - * - * *
    * Configuration of platform logs for this channel.
    * 
* * .google.cloud.video.livestream.v1.LogConfig log_config = 19; - * * @return Whether the logConfig field is set. */ @java.lang.Override @@ -2087,25 +1827,18 @@ public boolean hasLogConfig() { return logConfig_ != null; } /** - * - * *
    * Configuration of platform logs for this channel.
    * 
* * .google.cloud.video.livestream.v1.LogConfig log_config = 19; - * * @return The logConfig. */ @java.lang.Override public com.google.cloud.video.livestream.v1.LogConfig getLogConfig() { - return logConfig_ == null - ? com.google.cloud.video.livestream.v1.LogConfig.getDefaultInstance() - : logConfig_; + return logConfig_ == null ? com.google.cloud.video.livestream.v1.LogConfig.getDefaultInstance() : logConfig_; } /** - * - * *
    * Configuration of platform logs for this channel.
    * 
@@ -2118,7 +1851,6 @@ public com.google.cloud.video.livestream.v1.LogConfigOrBuilder getLogConfigOrBui } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2130,7 +1862,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_); } @@ -2140,8 +1873,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(activeInput_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, activeInput_); } @@ -2160,9 +1897,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < spriteSheets_.size(); i++) { output.writeMessage(13, spriteSheets_.get(i)); } - if (streamingState_ - != com.google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_STATE_UNSPECIFIED - .getNumber()) { + if (streamingState_ != com.google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(14, streamingState_); } for (int i = 0; i < inputAttachments_.size(); i++) { @@ -2187,54 +1922,61 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(activeInput_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, activeInput_); } if (output_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getOutput()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getOutput()); } for (int i = 0; i < elementaryStreams_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(10, elementaryStreams_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, elementaryStreams_.get(i)); } for (int i = 0; i < muxStreams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, muxStreams_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, muxStreams_.get(i)); } for (int i = 0; i < manifests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, manifests_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, manifests_.get(i)); } for (int i = 0; i < spriteSheets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, spriteSheets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, spriteSheets_.get(i)); } - if (streamingState_ - != com.google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, streamingState_); + if (streamingState_ != com.google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(14, streamingState_); } for (int i = 0; i < inputAttachments_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(16, inputAttachments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, inputAttachments_.get(i)); } if (streamingError_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getStreamingError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, getStreamingError()); } if (logConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getLogConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, getLogConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2244,42 +1986,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.video.livestream.v1.Channel)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.Channel other = - (com.google.cloud.video.livestream.v1.Channel) obj; + com.google.cloud.video.livestream.v1.Channel other = (com.google.cloud.video.livestream.v1.Channel) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; - } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getInputAttachmentsList().equals(other.getInputAttachmentsList())) return false; - if (!getActiveInput().equals(other.getActiveInput())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; + } + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getInputAttachmentsList() + .equals(other.getInputAttachmentsList())) return false; + if (!getActiveInput() + .equals(other.getActiveInput())) return false; if (hasOutput() != other.hasOutput()) return false; if (hasOutput()) { - if (!getOutput().equals(other.getOutput())) return false; - } - if (!getElementaryStreamsList().equals(other.getElementaryStreamsList())) return false; - if (!getMuxStreamsList().equals(other.getMuxStreamsList())) return false; - if (!getManifestsList().equals(other.getManifestsList())) return false; - if (!getSpriteSheetsList().equals(other.getSpriteSheetsList())) return false; + if (!getOutput() + .equals(other.getOutput())) return false; + } + if (!getElementaryStreamsList() + .equals(other.getElementaryStreamsList())) return false; + if (!getMuxStreamsList() + .equals(other.getMuxStreamsList())) return false; + if (!getManifestsList() + .equals(other.getManifestsList())) return false; + if (!getSpriteSheetsList() + .equals(other.getSpriteSheetsList())) return false; if (streamingState_ != other.streamingState_) return false; if (hasStreamingError() != other.hasStreamingError()) return false; if (hasStreamingError()) { - if (!getStreamingError().equals(other.getStreamingError())) return false; + if (!getStreamingError() + .equals(other.getStreamingError())) return false; } if (hasLogConfig() != other.hasLogConfig()) return false; if (hasLogConfig()) { - if (!getLogConfig().equals(other.getLogConfig())) return false; + if (!getLogConfig() + .equals(other.getLogConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2347,104 +2101,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.Channel parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.Channel parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.Channel parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Channel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.Channel parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Channel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.Channel parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Channel parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.Channel parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.Channel parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.Channel parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.Channel parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Channel parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.Channel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.Channel prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Channel resource represents the processor that does a user-defined
    * "streaming" operation, which includes getting an input stream through an
@@ -2455,43 +2202,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.video.livestream.v1.Channel}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.Channel)
       com.google.cloud.video.livestream.v1.ChannelOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto
-          .internal_static_google_cloud_video_livestream_v1_Channel_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto
-          .internal_static_google_cloud_video_livestream_v1_Channel_fieldAccessorTable
+      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.livestream.v1.Channel.class,
-              com.google.cloud.video.livestream.v1.Channel.Builder.class);
+              com.google.cloud.video.livestream.v1.Channel.class, com.google.cloud.video.livestream.v1.Channel.Builder.class);
     }
 
     // Construct using com.google.cloud.video.livestream.v1.Channel.newBuilder()
@@ -2499,13 +2246,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) {
         getInputAttachmentsFieldBuilder();
         getElementaryStreamsFieldBuilder();
         getMuxStreamsFieldBuilder();
@@ -2513,7 +2261,6 @@ private void maybeForceBuilderInitialization() {
         getSpriteSheetsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2588,9 +2335,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto
-          .internal_static_google_cloud_video_livestream_v1_Channel_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_descriptor;
     }
 
     @java.lang.Override
@@ -2609,8 +2356,7 @@ public com.google.cloud.video.livestream.v1.Channel build() {
 
     @java.lang.Override
     public com.google.cloud.video.livestream.v1.Channel buildPartial() {
-      com.google.cloud.video.livestream.v1.Channel result =
-          new com.google.cloud.video.livestream.v1.Channel(this);
+      com.google.cloud.video.livestream.v1.Channel result = new com.google.cloud.video.livestream.v1.Channel(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (createTimeBuilder_ == null) {
@@ -2695,39 +2441,38 @@ public com.google.cloud.video.livestream.v1.Channel buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.video.livestream.v1.Channel) {
-        return mergeFrom((com.google.cloud.video.livestream.v1.Channel) other);
+        return mergeFrom((com.google.cloud.video.livestream.v1.Channel)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2746,7 +2491,8 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Channel other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (inputAttachmentsBuilder_ == null) {
         if (!other.inputAttachments_.isEmpty()) {
           if (inputAttachments_.isEmpty()) {
@@ -2765,10 +2511,9 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Channel other) {
             inputAttachmentsBuilder_ = null;
             inputAttachments_ = other.inputAttachments_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            inputAttachmentsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getInputAttachmentsFieldBuilder()
-                    : null;
+            inputAttachmentsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getInputAttachmentsFieldBuilder() : null;
           } else {
             inputAttachmentsBuilder_.addAllMessages(other.inputAttachments_);
           }
@@ -2799,10 +2544,9 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Channel other) {
             elementaryStreamsBuilder_ = null;
             elementaryStreams_ = other.elementaryStreams_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            elementaryStreamsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getElementaryStreamsFieldBuilder()
-                    : null;
+            elementaryStreamsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getElementaryStreamsFieldBuilder() : null;
           } else {
             elementaryStreamsBuilder_.addAllMessages(other.elementaryStreams_);
           }
@@ -2826,10 +2570,9 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Channel other) {
             muxStreamsBuilder_ = null;
             muxStreams_ = other.muxStreams_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            muxStreamsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getMuxStreamsFieldBuilder()
-                    : null;
+            muxStreamsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getMuxStreamsFieldBuilder() : null;
           } else {
             muxStreamsBuilder_.addAllMessages(other.muxStreams_);
           }
@@ -2853,10 +2596,9 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Channel other) {
             manifestsBuilder_ = null;
             manifests_ = other.manifests_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            manifestsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getManifestsFieldBuilder()
-                    : null;
+            manifestsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getManifestsFieldBuilder() : null;
           } else {
             manifestsBuilder_.addAllMessages(other.manifests_);
           }
@@ -2880,10 +2622,9 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Channel other) {
             spriteSheetsBuilder_ = null;
             spriteSheets_ = other.spriteSheets_;
             bitField0_ = (bitField0_ & ~0x00000020);
-            spriteSheetsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSpriteSheetsFieldBuilder()
-                    : null;
+            spriteSheetsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSpriteSheetsFieldBuilder() : null;
           } else {
             spriteSheetsBuilder_.addAllMessages(other.spriteSheets_);
           }
@@ -2926,26 +2667,23 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the channel, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* * 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; @@ -2954,22 +2692,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the channel, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* * 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 { @@ -2977,64 +2714,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the channel, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* * 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 channel, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The resource name of the channel, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* * 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; @@ -3042,58 +2772,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3109,17 +2820,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3130,21 +2838,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3156,15 +2860,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -3178,64 +2878,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3243,58 +2927,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @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. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3310,17 +2975,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - 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(); @@ -3331,21 +2993,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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; } @@ -3357,15 +3015,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -3379,84 +3033,69 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3468,30 +3107,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * User-defined key/value metadata.
      * 
@@ -3499,12 +3136,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * User-defined key/value metadata.
      * 
@@ -3512,17 +3148,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * User-defined key/value metadata.
      * 
@@ -3530,11 +3165,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3542,96 +3178,89 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } private java.util.List inputAttachments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInputAttachmentsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - inputAttachments_ = - new java.util.ArrayList( - inputAttachments_); + inputAttachments_ = new java.util.ArrayList(inputAttachments_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputAttachment, - com.google.cloud.video.livestream.v1.InputAttachment.Builder, - com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder> - inputAttachmentsBuilder_; + com.google.cloud.video.livestream.v1.InputAttachment, com.google.cloud.video.livestream.v1.InputAttachment.Builder, com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder> inputAttachmentsBuilder_; /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ - public java.util.List - getInputAttachmentsList() { + public java.util.List getInputAttachmentsList() { if (inputAttachmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(inputAttachments_); } else { @@ -3639,16 +3268,13 @@ private void ensureInputAttachmentsIsMutable() { } } /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ public int getInputAttachmentsCount() { if (inputAttachmentsBuilder_ == null) { @@ -3658,16 +3284,13 @@ public int getInputAttachmentsCount() { } } /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ public com.google.cloud.video.livestream.v1.InputAttachment getInputAttachments(int index) { if (inputAttachmentsBuilder_ == null) { @@ -3677,16 +3300,13 @@ public com.google.cloud.video.livestream.v1.InputAttachment getInputAttachments( } } /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ public Builder setInputAttachments( int index, com.google.cloud.video.livestream.v1.InputAttachment value) { @@ -3703,16 +3323,13 @@ public Builder setInputAttachments( return this; } /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ public Builder setInputAttachments( int index, com.google.cloud.video.livestream.v1.InputAttachment.Builder builderForValue) { @@ -3726,16 +3343,13 @@ public Builder setInputAttachments( return this; } /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ public Builder addInputAttachments(com.google.cloud.video.livestream.v1.InputAttachment value) { if (inputAttachmentsBuilder_ == null) { @@ -3751,16 +3365,13 @@ public Builder addInputAttachments(com.google.cloud.video.livestream.v1.InputAtt return this; } /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ public Builder addInputAttachments( int index, com.google.cloud.video.livestream.v1.InputAttachment value) { @@ -3777,16 +3388,13 @@ public Builder addInputAttachments( return this; } /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ public Builder addInputAttachments( com.google.cloud.video.livestream.v1.InputAttachment.Builder builderForValue) { @@ -3800,16 +3408,13 @@ public Builder addInputAttachments( return this; } /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ public Builder addInputAttachments( int index, com.google.cloud.video.livestream.v1.InputAttachment.Builder builderForValue) { @@ -3823,22 +3428,20 @@ public Builder addInputAttachments( return this; } /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ public Builder addAllInputAttachments( java.lang.Iterable values) { if (inputAttachmentsBuilder_ == null) { ensureInputAttachmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inputAttachments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, inputAttachments_); onChanged(); } else { inputAttachmentsBuilder_.addAllMessages(values); @@ -3846,16 +3449,13 @@ public Builder addAllInputAttachments( return this; } /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ public Builder clearInputAttachments() { if (inputAttachmentsBuilder_ == null) { @@ -3868,16 +3468,13 @@ public Builder clearInputAttachments() { return this; } /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ public Builder removeInputAttachments(int index) { if (inputAttachmentsBuilder_ == null) { @@ -3890,55 +3487,45 @@ public Builder removeInputAttachments(int index) { return this; } /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ public com.google.cloud.video.livestream.v1.InputAttachment.Builder getInputAttachmentsBuilder( int index) { return getInputAttachmentsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ - public com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder - getInputAttachmentsOrBuilder(int index) { + public com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder getInputAttachmentsOrBuilder( + int index) { if (inputAttachmentsBuilder_ == null) { - return inputAttachments_.get(index); - } else { + return inputAttachments_.get(index); } else { return inputAttachmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ - public java.util.List - getInputAttachmentsOrBuilderList() { + public java.util.List + getInputAttachmentsOrBuilderList() { if (inputAttachmentsBuilder_ != null) { return inputAttachmentsBuilder_.getMessageOrBuilderList(); } else { @@ -3946,68 +3533,51 @@ public com.google.cloud.video.livestream.v1.InputAttachment.Builder getInputAtta } } /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ - public com.google.cloud.video.livestream.v1.InputAttachment.Builder - addInputAttachmentsBuilder() { - return getInputAttachmentsFieldBuilder() - .addBuilder(com.google.cloud.video.livestream.v1.InputAttachment.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.InputAttachment.Builder addInputAttachmentsBuilder() { + return getInputAttachmentsFieldBuilder().addBuilder( + com.google.cloud.video.livestream.v1.InputAttachment.getDefaultInstance()); } /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ public com.google.cloud.video.livestream.v1.InputAttachment.Builder addInputAttachmentsBuilder( int index) { - return getInputAttachmentsFieldBuilder() - .addBuilder( - index, com.google.cloud.video.livestream.v1.InputAttachment.getDefaultInstance()); + return getInputAttachmentsFieldBuilder().addBuilder( + index, com.google.cloud.video.livestream.v1.InputAttachment.getDefaultInstance()); } /** - * - * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; - * + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; */ - public java.util.List - getInputAttachmentsBuilderList() { + public java.util.List + getInputAttachmentsBuilderList() { return getInputAttachmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputAttachment, - com.google.cloud.video.livestream.v1.InputAttachment.Builder, - com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder> + com.google.cloud.video.livestream.v1.InputAttachment, com.google.cloud.video.livestream.v1.InputAttachment.Builder, com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder> getInputAttachmentsFieldBuilder() { if (inputAttachmentsBuilder_ == null) { - inputAttachmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputAttachment, - com.google.cloud.video.livestream.v1.InputAttachment.Builder, - com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder>( + inputAttachmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.InputAttachment, com.google.cloud.video.livestream.v1.InputAttachment.Builder, com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder>( inputAttachments_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4019,21 +3589,19 @@ public com.google.cloud.video.livestream.v1.InputAttachment.Builder addInputAtta private java.lang.Object activeInput_ = ""; /** - * - * *
      * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
      * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
      * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The activeInput. */ public java.lang.String getActiveInput() { java.lang.Object ref = activeInput_; 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(); activeInput_ = s; return s; @@ -4042,22 +3610,21 @@ public java.lang.String getActiveInput() { } } /** - * - * *
      * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
      * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
      * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for activeInput. */ - public com.google.protobuf.ByteString getActiveInputBytes() { + public com.google.protobuf.ByteString + getActiveInputBytes() { java.lang.Object ref = activeInput_; 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); activeInput_ = b; return b; } else { @@ -4065,64 +3632,57 @@ public com.google.protobuf.ByteString getActiveInputBytes() { } } /** - * - * *
      * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
      * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
      * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The activeInput to set. * @return This builder for chaining. */ - public Builder setActiveInput(java.lang.String value) { + public Builder setActiveInput( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + activeInput_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
      * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
      * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearActiveInput() { - + activeInput_ = getDefaultInstance().getActiveInput(); onChanged(); return this; } /** - * - * *
      * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
      * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
      * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for activeInput to set. * @return This builder for chaining. */ - public Builder setActiveInputBytes(com.google.protobuf.ByteString value) { + public Builder setActiveInputBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + activeInput_ = value; onChanged(); return this; @@ -4130,61 +3690,42 @@ public Builder setActiveInputBytes(com.google.protobuf.ByteString value) { private com.google.cloud.video.livestream.v1.Channel.Output output_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel.Output, - com.google.cloud.video.livestream.v1.Channel.Output.Builder, - com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder> - outputBuilder_; + com.google.cloud.video.livestream.v1.Channel.Output, com.google.cloud.video.livestream.v1.Channel.Output.Builder, com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder> outputBuilder_; /** - * - * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the output field is set. */ public boolean hasOutput() { return outputBuilder_ != null || output_ != null; } /** - * - * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The output. */ public com.google.cloud.video.livestream.v1.Channel.Output getOutput() { if (outputBuilder_ == null) { - return output_ == null - ? com.google.cloud.video.livestream.v1.Channel.Output.getDefaultInstance() - : output_; + return output_ == null ? com.google.cloud.video.livestream.v1.Channel.Output.getDefaultInstance() : output_; } else { return outputBuilder_.getMessage(); } } /** - * - * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOutput(com.google.cloud.video.livestream.v1.Channel.Output value) { if (outputBuilder_ == null) { @@ -4200,16 +3741,12 @@ public Builder setOutput(com.google.cloud.video.livestream.v1.Channel.Output val return this; } /** - * - * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOutput( com.google.cloud.video.livestream.v1.Channel.Output.Builder builderForValue) { @@ -4223,24 +3760,18 @@ public Builder setOutput( return this; } /** - * - * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeOutput(com.google.cloud.video.livestream.v1.Channel.Output value) { if (outputBuilder_ == null) { if (output_ != null) { output_ = - com.google.cloud.video.livestream.v1.Channel.Output.newBuilder(output_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.livestream.v1.Channel.Output.newBuilder(output_).mergeFrom(value).buildPartial(); } else { output_ = value; } @@ -4252,16 +3783,12 @@ public Builder mergeOutput(com.google.cloud.video.livestream.v1.Channel.Output v return this; } /** - * - * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOutput() { if (outputBuilder_ == null) { @@ -4275,102 +3802,76 @@ public Builder clearOutput() { return this; } /** - * - * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.video.livestream.v1.Channel.Output.Builder getOutputBuilder() { - + onChanged(); return getOutputFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder getOutputOrBuilder() { if (outputBuilder_ != null) { return outputBuilder_.getMessageOrBuilder(); } else { - return output_ == null - ? com.google.cloud.video.livestream.v1.Channel.Output.getDefaultInstance() - : output_; + return output_ == null ? + com.google.cloud.video.livestream.v1.Channel.Output.getDefaultInstance() : output_; } } /** - * - * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel.Output, - com.google.cloud.video.livestream.v1.Channel.Output.Builder, - com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder> + com.google.cloud.video.livestream.v1.Channel.Output, com.google.cloud.video.livestream.v1.Channel.Output.Builder, com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder> getOutputFieldBuilder() { if (outputBuilder_ == null) { - outputBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel.Output, - com.google.cloud.video.livestream.v1.Channel.Output.Builder, - com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder>( - getOutput(), getParentForChildren(), isClean()); + outputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.Channel.Output, com.google.cloud.video.livestream.v1.Channel.Output.Builder, com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder>( + getOutput(), + getParentForChildren(), + isClean()); output_ = null; } return outputBuilder_; } - private java.util.List - elementaryStreams_ = java.util.Collections.emptyList(); - + private java.util.List elementaryStreams_ = + java.util.Collections.emptyList(); private void ensureElementaryStreamsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - elementaryStreams_ = - new java.util.ArrayList( - elementaryStreams_); + elementaryStreams_ = new java.util.ArrayList(elementaryStreams_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.ElementaryStream, - com.google.cloud.video.livestream.v1.ElementaryStream.Builder, - com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder> - elementaryStreamsBuilder_; + com.google.cloud.video.livestream.v1.ElementaryStream, com.google.cloud.video.livestream.v1.ElementaryStream.Builder, com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder> elementaryStreamsBuilder_; /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ - public java.util.List - getElementaryStreamsList() { + public java.util.List getElementaryStreamsList() { if (elementaryStreamsBuilder_ == null) { return java.util.Collections.unmodifiableList(elementaryStreams_); } else { @@ -4378,14 +3879,11 @@ private void ensureElementaryStreamsIsMutable() { } } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ public int getElementaryStreamsCount() { if (elementaryStreamsBuilder_ == null) { @@ -4395,14 +3893,11 @@ public int getElementaryStreamsCount() { } } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ public com.google.cloud.video.livestream.v1.ElementaryStream getElementaryStreams(int index) { if (elementaryStreamsBuilder_ == null) { @@ -4412,14 +3907,11 @@ public com.google.cloud.video.livestream.v1.ElementaryStream getElementaryStream } } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ public Builder setElementaryStreams( int index, com.google.cloud.video.livestream.v1.ElementaryStream value) { @@ -4436,14 +3928,11 @@ public Builder setElementaryStreams( return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ public Builder setElementaryStreams( int index, com.google.cloud.video.livestream.v1.ElementaryStream.Builder builderForValue) { @@ -4457,17 +3946,13 @@ public Builder setElementaryStreams( return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ - public Builder addElementaryStreams( - com.google.cloud.video.livestream.v1.ElementaryStream value) { + public Builder addElementaryStreams(com.google.cloud.video.livestream.v1.ElementaryStream value) { if (elementaryStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4481,14 +3966,11 @@ public Builder addElementaryStreams( return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ public Builder addElementaryStreams( int index, com.google.cloud.video.livestream.v1.ElementaryStream value) { @@ -4505,14 +3987,11 @@ public Builder addElementaryStreams( return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ public Builder addElementaryStreams( com.google.cloud.video.livestream.v1.ElementaryStream.Builder builderForValue) { @@ -4526,14 +4005,11 @@ public Builder addElementaryStreams( return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ public Builder addElementaryStreams( int index, com.google.cloud.video.livestream.v1.ElementaryStream.Builder builderForValue) { @@ -4547,21 +4023,18 @@ public Builder addElementaryStreams( return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ public Builder addAllElementaryStreams( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (elementaryStreamsBuilder_ == null) { ensureElementaryStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, elementaryStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, elementaryStreams_); onChanged(); } else { elementaryStreamsBuilder_.addAllMessages(values); @@ -4569,14 +4042,11 @@ public Builder addAllElementaryStreams( return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ public Builder clearElementaryStreams() { if (elementaryStreamsBuilder_ == null) { @@ -4589,14 +4059,11 @@ public Builder clearElementaryStreams() { return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ public Builder removeElementaryStreams(int index) { if (elementaryStreamsBuilder_ == null) { @@ -4609,49 +4076,39 @@ public Builder removeElementaryStreams(int index) { return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ - public com.google.cloud.video.livestream.v1.ElementaryStream.Builder - getElementaryStreamsBuilder(int index) { + public com.google.cloud.video.livestream.v1.ElementaryStream.Builder getElementaryStreamsBuilder( + int index) { return getElementaryStreamsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ - public com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder - getElementaryStreamsOrBuilder(int index) { + public com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder getElementaryStreamsOrBuilder( + int index) { if (elementaryStreamsBuilder_ == null) { - return elementaryStreams_.get(index); - } else { + return elementaryStreams_.get(index); } else { return elementaryStreamsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ - public java.util.List - getElementaryStreamsOrBuilderList() { + public java.util.List + getElementaryStreamsOrBuilderList() { if (elementaryStreamsBuilder_ != null) { return elementaryStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -4659,62 +4116,45 @@ public Builder removeElementaryStreams(int index) { } } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ - public com.google.cloud.video.livestream.v1.ElementaryStream.Builder - addElementaryStreamsBuilder() { - return getElementaryStreamsFieldBuilder() - .addBuilder(com.google.cloud.video.livestream.v1.ElementaryStream.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.ElementaryStream.Builder addElementaryStreamsBuilder() { + return getElementaryStreamsFieldBuilder().addBuilder( + com.google.cloud.video.livestream.v1.ElementaryStream.getDefaultInstance()); } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ - public com.google.cloud.video.livestream.v1.ElementaryStream.Builder - addElementaryStreamsBuilder(int index) { - return getElementaryStreamsFieldBuilder() - .addBuilder( - index, com.google.cloud.video.livestream.v1.ElementaryStream.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.ElementaryStream.Builder addElementaryStreamsBuilder( + int index) { + return getElementaryStreamsFieldBuilder().addBuilder( + index, com.google.cloud.video.livestream.v1.ElementaryStream.getDefaultInstance()); } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ - public java.util.List - getElementaryStreamsBuilderList() { + public java.util.List + getElementaryStreamsBuilderList() { return getElementaryStreamsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.ElementaryStream, - com.google.cloud.video.livestream.v1.ElementaryStream.Builder, - com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder> + com.google.cloud.video.livestream.v1.ElementaryStream, com.google.cloud.video.livestream.v1.ElementaryStream.Builder, com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder> getElementaryStreamsFieldBuilder() { if (elementaryStreamsBuilder_ == null) { - elementaryStreamsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.ElementaryStream, - com.google.cloud.video.livestream.v1.ElementaryStream.Builder, - com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder>( + elementaryStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.ElementaryStream, com.google.cloud.video.livestream.v1.ElementaryStream.Builder, com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder>( elementaryStreams_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -4725,25 +4165,18 @@ public Builder removeElementaryStreams(int index) { } private java.util.List muxStreams_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMuxStreamsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - muxStreams_ = - new java.util.ArrayList(muxStreams_); + muxStreams_ = new java.util.ArrayList(muxStreams_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.MuxStream, - com.google.cloud.video.livestream.v1.MuxStream.Builder, - com.google.cloud.video.livestream.v1.MuxStreamOrBuilder> - muxStreamsBuilder_; + com.google.cloud.video.livestream.v1.MuxStream, com.google.cloud.video.livestream.v1.MuxStream.Builder, com.google.cloud.video.livestream.v1.MuxStreamOrBuilder> muxStreamsBuilder_; /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -4758,8 +4191,6 @@ public java.util.List getMuxStre } } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -4774,8 +4205,6 @@ public int getMuxStreamsCount() { } } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -4790,15 +4219,14 @@ public com.google.cloud.video.livestream.v1.MuxStream getMuxStreams(int index) { } } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - public Builder setMuxStreams(int index, com.google.cloud.video.livestream.v1.MuxStream value) { + public Builder setMuxStreams( + int index, com.google.cloud.video.livestream.v1.MuxStream value) { if (muxStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4812,8 +4240,6 @@ public Builder setMuxStreams(int index, com.google.cloud.video.livestream.v1.Mux return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -4832,8 +4258,6 @@ public Builder setMuxStreams( return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -4854,15 +4278,14 @@ public Builder addMuxStreams(com.google.cloud.video.livestream.v1.MuxStream valu return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - public Builder addMuxStreams(int index, com.google.cloud.video.livestream.v1.MuxStream value) { + public Builder addMuxStreams( + int index, com.google.cloud.video.livestream.v1.MuxStream value) { if (muxStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4876,8 +4299,6 @@ public Builder addMuxStreams(int index, com.google.cloud.video.livestream.v1.Mux return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -4896,8 +4317,6 @@ public Builder addMuxStreams( return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -4916,8 +4335,6 @@ public Builder addMuxStreams( return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -4928,7 +4345,8 @@ public Builder addAllMuxStreams( java.lang.Iterable values) { if (muxStreamsBuilder_ == null) { ensureMuxStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, muxStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, muxStreams_); onChanged(); } else { muxStreamsBuilder_.addAllMessages(values); @@ -4936,8 +4354,6 @@ public Builder addAllMuxStreams( return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -4955,8 +4371,6 @@ public Builder clearMuxStreams() { return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -4974,20 +4388,17 @@ public Builder removeMuxStreams(int index) { return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - public com.google.cloud.video.livestream.v1.MuxStream.Builder getMuxStreamsBuilder(int index) { + public com.google.cloud.video.livestream.v1.MuxStream.Builder getMuxStreamsBuilder( + int index) { return getMuxStreamsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -4997,22 +4408,19 @@ public com.google.cloud.video.livestream.v1.MuxStream.Builder getMuxStreamsBuild public com.google.cloud.video.livestream.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder( int index) { if (muxStreamsBuilder_ == null) { - return muxStreams_.get(index); - } else { + return muxStreams_.get(index); } else { return muxStreamsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - public java.util.List - getMuxStreamsOrBuilderList() { + public java.util.List + getMuxStreamsOrBuilderList() { if (muxStreamsBuilder_ != null) { return muxStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -5020,8 +4428,6 @@ public com.google.cloud.video.livestream.v1.MuxStreamOrBuilder getMuxStreamsOrBu } } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -5029,73 +4435,60 @@ public com.google.cloud.video.livestream.v1.MuxStreamOrBuilder getMuxStreamsOrBu * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ public com.google.cloud.video.livestream.v1.MuxStream.Builder addMuxStreamsBuilder() { - return getMuxStreamsFieldBuilder() - .addBuilder(com.google.cloud.video.livestream.v1.MuxStream.getDefaultInstance()); + return getMuxStreamsFieldBuilder().addBuilder( + com.google.cloud.video.livestream.v1.MuxStream.getDefaultInstance()); } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - public com.google.cloud.video.livestream.v1.MuxStream.Builder addMuxStreamsBuilder(int index) { - return getMuxStreamsFieldBuilder() - .addBuilder(index, com.google.cloud.video.livestream.v1.MuxStream.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.MuxStream.Builder addMuxStreamsBuilder( + int index) { + return getMuxStreamsFieldBuilder().addBuilder( + index, com.google.cloud.video.livestream.v1.MuxStream.getDefaultInstance()); } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - public java.util.List - getMuxStreamsBuilderList() { + public java.util.List + getMuxStreamsBuilderList() { return getMuxStreamsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.MuxStream, - com.google.cloud.video.livestream.v1.MuxStream.Builder, - com.google.cloud.video.livestream.v1.MuxStreamOrBuilder> + com.google.cloud.video.livestream.v1.MuxStream, com.google.cloud.video.livestream.v1.MuxStream.Builder, com.google.cloud.video.livestream.v1.MuxStreamOrBuilder> getMuxStreamsFieldBuilder() { if (muxStreamsBuilder_ == null) { - muxStreamsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.MuxStream, - com.google.cloud.video.livestream.v1.MuxStream.Builder, - com.google.cloud.video.livestream.v1.MuxStreamOrBuilder>( - muxStreams_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + muxStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.MuxStream, com.google.cloud.video.livestream.v1.MuxStream.Builder, com.google.cloud.video.livestream.v1.MuxStreamOrBuilder>( + muxStreams_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); muxStreams_ = null; } return muxStreamsBuilder_; } private java.util.List manifests_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureManifestsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - manifests_ = - new java.util.ArrayList(manifests_); + manifests_ = new java.util.ArrayList(manifests_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Manifest, - com.google.cloud.video.livestream.v1.Manifest.Builder, - com.google.cloud.video.livestream.v1.ManifestOrBuilder> - manifestsBuilder_; + com.google.cloud.video.livestream.v1.Manifest, com.google.cloud.video.livestream.v1.Manifest.Builder, com.google.cloud.video.livestream.v1.ManifestOrBuilder> manifestsBuilder_; /** - * - * *
      * List of output manifests.
      * 
@@ -5110,8 +4503,6 @@ public java.util.List getManifest } } /** - * - * *
      * List of output manifests.
      * 
@@ -5126,8 +4517,6 @@ public int getManifestsCount() { } } /** - * - * *
      * List of output manifests.
      * 
@@ -5142,15 +4531,14 @@ public com.google.cloud.video.livestream.v1.Manifest getManifests(int index) { } } /** - * - * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - public Builder setManifests(int index, com.google.cloud.video.livestream.v1.Manifest value) { + public Builder setManifests( + int index, com.google.cloud.video.livestream.v1.Manifest value) { if (manifestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5164,8 +4552,6 @@ public Builder setManifests(int index, com.google.cloud.video.livestream.v1.Mani return this; } /** - * - * *
      * List of output manifests.
      * 
@@ -5184,8 +4570,6 @@ public Builder setManifests( return this; } /** - * - * *
      * List of output manifests.
      * 
@@ -5206,15 +4590,14 @@ public Builder addManifests(com.google.cloud.video.livestream.v1.Manifest value) return this; } /** - * - * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - public Builder addManifests(int index, com.google.cloud.video.livestream.v1.Manifest value) { + public Builder addManifests( + int index, com.google.cloud.video.livestream.v1.Manifest value) { if (manifestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5228,8 +4611,6 @@ public Builder addManifests(int index, com.google.cloud.video.livestream.v1.Mani return this; } /** - * - * *
      * List of output manifests.
      * 
@@ -5248,8 +4629,6 @@ public Builder addManifests( return this; } /** - * - * *
      * List of output manifests.
      * 
@@ -5268,8 +4647,6 @@ public Builder addManifests( return this; } /** - * - * *
      * List of output manifests.
      * 
@@ -5280,7 +4657,8 @@ public Builder addAllManifests( java.lang.Iterable values) { if (manifestsBuilder_ == null) { ensureManifestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, manifests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, manifests_); onChanged(); } else { manifestsBuilder_.addAllMessages(values); @@ -5288,8 +4666,6 @@ public Builder addAllManifests( return this; } /** - * - * *
      * List of output manifests.
      * 
@@ -5307,8 +4683,6 @@ public Builder clearManifests() { return this; } /** - * - * *
      * List of output manifests.
      * 
@@ -5326,44 +4700,39 @@ public Builder removeManifests(int index) { return this; } /** - * - * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - public com.google.cloud.video.livestream.v1.Manifest.Builder getManifestsBuilder(int index) { + public com.google.cloud.video.livestream.v1.Manifest.Builder getManifestsBuilder( + int index) { return getManifestsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - public com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuilder(int index) { + public com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuilder( + int index) { if (manifestsBuilder_ == null) { - return manifests_.get(index); - } else { + return manifests_.get(index); } else { return manifestsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - public java.util.List - getManifestsOrBuilderList() { + public java.util.List + getManifestsOrBuilderList() { if (manifestsBuilder_ != null) { return manifestsBuilder_.getMessageOrBuilderList(); } else { @@ -5371,8 +4740,6 @@ public com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuil } } /** - * - * *
      * List of output manifests.
      * 
@@ -5380,74 +4747,60 @@ public com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuil * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ public com.google.cloud.video.livestream.v1.Manifest.Builder addManifestsBuilder() { - return getManifestsFieldBuilder() - .addBuilder(com.google.cloud.video.livestream.v1.Manifest.getDefaultInstance()); + return getManifestsFieldBuilder().addBuilder( + com.google.cloud.video.livestream.v1.Manifest.getDefaultInstance()); } /** - * - * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - public com.google.cloud.video.livestream.v1.Manifest.Builder addManifestsBuilder(int index) { - return getManifestsFieldBuilder() - .addBuilder(index, com.google.cloud.video.livestream.v1.Manifest.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.Manifest.Builder addManifestsBuilder( + int index) { + return getManifestsFieldBuilder().addBuilder( + index, com.google.cloud.video.livestream.v1.Manifest.getDefaultInstance()); } /** - * - * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - public java.util.List - getManifestsBuilderList() { + public java.util.List + getManifestsBuilderList() { return getManifestsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Manifest, - com.google.cloud.video.livestream.v1.Manifest.Builder, - com.google.cloud.video.livestream.v1.ManifestOrBuilder> + com.google.cloud.video.livestream.v1.Manifest, com.google.cloud.video.livestream.v1.Manifest.Builder, com.google.cloud.video.livestream.v1.ManifestOrBuilder> getManifestsFieldBuilder() { if (manifestsBuilder_ == null) { - manifestsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Manifest, - com.google.cloud.video.livestream.v1.Manifest.Builder, - com.google.cloud.video.livestream.v1.ManifestOrBuilder>( - manifests_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); + manifestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.Manifest, com.google.cloud.video.livestream.v1.Manifest.Builder, com.google.cloud.video.livestream.v1.ManifestOrBuilder>( + manifests_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); manifests_ = null; } return manifestsBuilder_; } private java.util.List spriteSheets_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSpriteSheetsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - spriteSheets_ = - new java.util.ArrayList( - spriteSheets_); + spriteSheets_ = new java.util.ArrayList(spriteSheets_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.SpriteSheet, - com.google.cloud.video.livestream.v1.SpriteSheet.Builder, - com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder> - spriteSheetsBuilder_; + com.google.cloud.video.livestream.v1.SpriteSheet, com.google.cloud.video.livestream.v1.SpriteSheet.Builder, com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder> spriteSheetsBuilder_; /** - * - * *
      * List of output sprite sheets.
      * 
@@ -5462,8 +4815,6 @@ public java.util.List getSprit } } /** - * - * *
      * List of output sprite sheets.
      * 
@@ -5478,8 +4829,6 @@ public int getSpriteSheetsCount() { } } /** - * - * *
      * List of output sprite sheets.
      * 
@@ -5494,8 +4843,6 @@ public com.google.cloud.video.livestream.v1.SpriteSheet getSpriteSheets(int inde } } /** - * - * *
      * List of output sprite sheets.
      * 
@@ -5517,8 +4864,6 @@ public Builder setSpriteSheets( return this; } /** - * - * *
      * List of output sprite sheets.
      * 
@@ -5537,8 +4882,6 @@ public Builder setSpriteSheets( return this; } /** - * - * *
      * List of output sprite sheets.
      * 
@@ -5559,8 +4902,6 @@ public Builder addSpriteSheets(com.google.cloud.video.livestream.v1.SpriteSheet return this; } /** - * - * *
      * List of output sprite sheets.
      * 
@@ -5582,8 +4923,6 @@ public Builder addSpriteSheets( return this; } /** - * - * *
      * List of output sprite sheets.
      * 
@@ -5602,8 +4941,6 @@ public Builder addSpriteSheets( return this; } /** - * - * *
      * List of output sprite sheets.
      * 
@@ -5622,8 +4959,6 @@ public Builder addSpriteSheets( return this; } /** - * - * *
      * List of output sprite sheets.
      * 
@@ -5634,7 +4969,8 @@ public Builder addAllSpriteSheets( java.lang.Iterable values) { if (spriteSheetsBuilder_ == null) { ensureSpriteSheetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, spriteSheets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, spriteSheets_); onChanged(); } else { spriteSheetsBuilder_.addAllMessages(values); @@ -5642,8 +4978,6 @@ public Builder addAllSpriteSheets( return this; } /** - * - * *
      * List of output sprite sheets.
      * 
@@ -5661,8 +4995,6 @@ public Builder clearSpriteSheets() { return this; } /** - * - * *
      * List of output sprite sheets.
      * 
@@ -5680,8 +5012,6 @@ public Builder removeSpriteSheets(int index) { return this; } /** - * - * *
      * List of output sprite sheets.
      * 
@@ -5693,8 +5023,6 @@ public com.google.cloud.video.livestream.v1.SpriteSheet.Builder getSpriteSheetsB return getSpriteSheetsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of output sprite sheets.
      * 
@@ -5704,22 +5032,19 @@ public com.google.cloud.video.livestream.v1.SpriteSheet.Builder getSpriteSheetsB public com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder getSpriteSheetsOrBuilder( int index) { if (spriteSheetsBuilder_ == null) { - return spriteSheets_.get(index); - } else { + return spriteSheets_.get(index); } else { return spriteSheetsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of output sprite sheets.
      * 
* * repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13; */ - public java.util.List - getSpriteSheetsOrBuilderList() { + public java.util.List + getSpriteSheetsOrBuilderList() { if (spriteSheetsBuilder_ != null) { return spriteSheetsBuilder_.getMessageOrBuilderList(); } else { @@ -5727,8 +5052,6 @@ public com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder getSpriteSheets } } /** - * - * *
      * List of output sprite sheets.
      * 
@@ -5736,12 +5059,10 @@ public com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder getSpriteSheets * repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13; */ public com.google.cloud.video.livestream.v1.SpriteSheet.Builder addSpriteSheetsBuilder() { - return getSpriteSheetsFieldBuilder() - .addBuilder(com.google.cloud.video.livestream.v1.SpriteSheet.getDefaultInstance()); + return getSpriteSheetsFieldBuilder().addBuilder( + com.google.cloud.video.livestream.v1.SpriteSheet.getDefaultInstance()); } /** - * - * *
      * List of output sprite sheets.
      * 
@@ -5750,35 +5071,30 @@ public com.google.cloud.video.livestream.v1.SpriteSheet.Builder addSpriteSheetsB */ public com.google.cloud.video.livestream.v1.SpriteSheet.Builder addSpriteSheetsBuilder( int index) { - return getSpriteSheetsFieldBuilder() - .addBuilder(index, com.google.cloud.video.livestream.v1.SpriteSheet.getDefaultInstance()); + return getSpriteSheetsFieldBuilder().addBuilder( + index, com.google.cloud.video.livestream.v1.SpriteSheet.getDefaultInstance()); } /** - * - * *
      * List of output sprite sheets.
      * 
* * repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13; */ - public java.util.List - getSpriteSheetsBuilderList() { + public java.util.List + getSpriteSheetsBuilderList() { return getSpriteSheetsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.SpriteSheet, - com.google.cloud.video.livestream.v1.SpriteSheet.Builder, - com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder> + com.google.cloud.video.livestream.v1.SpriteSheet, com.google.cloud.video.livestream.v1.SpriteSheet.Builder, com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder> getSpriteSheetsFieldBuilder() { if (spriteSheetsBuilder_ == null) { - spriteSheetsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.SpriteSheet, - com.google.cloud.video.livestream.v1.SpriteSheet.Builder, - com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder>( - spriteSheets_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); + spriteSheetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.SpriteSheet, com.google.cloud.video.livestream.v1.SpriteSheet.Builder, com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder>( + spriteSheets_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); spriteSheets_ = null; } return spriteSheetsBuilder_; @@ -5786,103 +5102,73 @@ public com.google.cloud.video.livestream.v1.SpriteSheet.Builder addSpriteSheetsB private int streamingState_ = 0; /** - * - * *
      * Output only. State of the streaming operation.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for streamingState. */ - @java.lang.Override - public int getStreamingStateValue() { + @java.lang.Override public int getStreamingStateValue() { return streamingState_; } /** - * - * *
      * Output only. State of the streaming operation.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for streamingState to set. * @return This builder for chaining. */ public Builder setStreamingStateValue(int value) { - + streamingState_ = value; onChanged(); return this; } /** - * - * *
      * Output only. State of the streaming operation.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The streamingState. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Channel.StreamingState getStreamingState() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Channel.StreamingState result = - com.google.cloud.video.livestream.v1.Channel.StreamingState.valueOf(streamingState_); - return result == null - ? com.google.cloud.video.livestream.v1.Channel.StreamingState.UNRECOGNIZED - : result; + com.google.cloud.video.livestream.v1.Channel.StreamingState result = com.google.cloud.video.livestream.v1.Channel.StreamingState.valueOf(streamingState_); + return result == null ? com.google.cloud.video.livestream.v1.Channel.StreamingState.UNRECOGNIZED : result; } /** - * - * *
      * Output only. State of the streaming operation.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The streamingState to set. * @return This builder for chaining. */ - public Builder setStreamingState( - com.google.cloud.video.livestream.v1.Channel.StreamingState value) { + public Builder setStreamingState(com.google.cloud.video.livestream.v1.Channel.StreamingState value) { if (value == null) { throw new NullPointerException(); } - + streamingState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. State of the streaming operation.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearStreamingState() { - + streamingState_ = 0; onChanged(); return this; @@ -5890,59 +5176,45 @@ public Builder clearStreamingState() { private com.google.rpc.Status streamingError_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - streamingErrorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> streamingErrorBuilder_; /** - * - * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the streamingError field is set. */ public boolean hasStreamingError() { return streamingErrorBuilder_ != null || streamingError_ != null; } /** - * - * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The streamingError. */ public com.google.rpc.Status getStreamingError() { if (streamingErrorBuilder_ == null) { - return streamingError_ == null - ? com.google.rpc.Status.getDefaultInstance() - : streamingError_; + return streamingError_ == null ? com.google.rpc.Status.getDefaultInstance() : streamingError_; } else { return streamingErrorBuilder_.getMessage(); } } /** - * - * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStreamingError(com.google.rpc.Status value) { if (streamingErrorBuilder_ == null) { @@ -5958,18 +5230,16 @@ public Builder setStreamingError(com.google.rpc.Status value) { return this; } /** - * - * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStreamingError(com.google.rpc.Status.Builder builderForValue) { + public Builder setStreamingError( + com.google.rpc.Status.Builder builderForValue) { if (streamingErrorBuilder_ == null) { streamingError_ = builderForValue.build(); onChanged(); @@ -5980,22 +5250,19 @@ public Builder setStreamingError(com.google.rpc.Status.Builder builderForValue) return this; } /** - * - * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStreamingError(com.google.rpc.Status value) { if (streamingErrorBuilder_ == null) { if (streamingError_ != null) { streamingError_ = - com.google.rpc.Status.newBuilder(streamingError_).mergeFrom(value).buildPartial(); + com.google.rpc.Status.newBuilder(streamingError_).mergeFrom(value).buildPartial(); } else { streamingError_ = value; } @@ -6007,16 +5274,13 @@ public Builder mergeStreamingError(com.google.rpc.Status value) { return this; } /** - * - * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStreamingError() { if (streamingErrorBuilder_ == null) { @@ -6030,65 +5294,54 @@ public Builder clearStreamingError() { return this; } /** - * - * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.Status.Builder getStreamingErrorBuilder() { - + onChanged(); return getStreamingErrorFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.StatusOrBuilder getStreamingErrorOrBuilder() { if (streamingErrorBuilder_ != null) { return streamingErrorBuilder_.getMessageOrBuilder(); } else { - return streamingError_ == null - ? com.google.rpc.Status.getDefaultInstance() - : streamingError_; + return streamingError_ == null ? + com.google.rpc.Status.getDefaultInstance() : streamingError_; } } /** - * - * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStreamingErrorFieldBuilder() { if (streamingErrorBuilder_ == null) { - streamingErrorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>( - getStreamingError(), getParentForChildren(), isClean()); + streamingErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getStreamingError(), + getParentForChildren(), + isClean()); streamingError_ = null; } return streamingErrorBuilder_; @@ -6096,47 +5349,34 @@ public com.google.rpc.StatusOrBuilder getStreamingErrorOrBuilder() { private com.google.cloud.video.livestream.v1.LogConfig logConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.LogConfig, - com.google.cloud.video.livestream.v1.LogConfig.Builder, - com.google.cloud.video.livestream.v1.LogConfigOrBuilder> - logConfigBuilder_; + com.google.cloud.video.livestream.v1.LogConfig, com.google.cloud.video.livestream.v1.LogConfig.Builder, com.google.cloud.video.livestream.v1.LogConfigOrBuilder> logConfigBuilder_; /** - * - * *
      * Configuration of platform logs for this channel.
      * 
* * .google.cloud.video.livestream.v1.LogConfig log_config = 19; - * * @return Whether the logConfig field is set. */ public boolean hasLogConfig() { return logConfigBuilder_ != null || logConfig_ != null; } /** - * - * *
      * Configuration of platform logs for this channel.
      * 
* * .google.cloud.video.livestream.v1.LogConfig log_config = 19; - * * @return The logConfig. */ public com.google.cloud.video.livestream.v1.LogConfig getLogConfig() { if (logConfigBuilder_ == null) { - return logConfig_ == null - ? com.google.cloud.video.livestream.v1.LogConfig.getDefaultInstance() - : logConfig_; + return logConfig_ == null ? com.google.cloud.video.livestream.v1.LogConfig.getDefaultInstance() : logConfig_; } else { return logConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration of platform logs for this channel.
      * 
@@ -6157,8 +5397,6 @@ public Builder setLogConfig(com.google.cloud.video.livestream.v1.LogConfig value return this; } /** - * - * *
      * Configuration of platform logs for this channel.
      * 
@@ -6177,8 +5415,6 @@ public Builder setLogConfig( return this; } /** - * - * *
      * Configuration of platform logs for this channel.
      * 
@@ -6189,9 +5425,7 @@ public Builder mergeLogConfig(com.google.cloud.video.livestream.v1.LogConfig val if (logConfigBuilder_ == null) { if (logConfig_ != null) { logConfig_ = - com.google.cloud.video.livestream.v1.LogConfig.newBuilder(logConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.livestream.v1.LogConfig.newBuilder(logConfig_).mergeFrom(value).buildPartial(); } else { logConfig_ = value; } @@ -6203,8 +5437,6 @@ public Builder mergeLogConfig(com.google.cloud.video.livestream.v1.LogConfig val return this; } /** - * - * *
      * Configuration of platform logs for this channel.
      * 
@@ -6223,8 +5455,6 @@ public Builder clearLogConfig() { return this; } /** - * - * *
      * Configuration of platform logs for this channel.
      * 
@@ -6232,13 +5462,11 @@ public Builder clearLogConfig() { * .google.cloud.video.livestream.v1.LogConfig log_config = 19; */ public com.google.cloud.video.livestream.v1.LogConfig.Builder getLogConfigBuilder() { - + onChanged(); return getLogConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration of platform logs for this channel.
      * 
@@ -6249,14 +5477,11 @@ public com.google.cloud.video.livestream.v1.LogConfigOrBuilder getLogConfigOrBui if (logConfigBuilder_ != null) { return logConfigBuilder_.getMessageOrBuilder(); } else { - return logConfig_ == null - ? com.google.cloud.video.livestream.v1.LogConfig.getDefaultInstance() - : logConfig_; + return logConfig_ == null ? + com.google.cloud.video.livestream.v1.LogConfig.getDefaultInstance() : logConfig_; } } /** - * - * *
      * Configuration of platform logs for this channel.
      * 
@@ -6264,24 +5489,21 @@ public com.google.cloud.video.livestream.v1.LogConfigOrBuilder getLogConfigOrBui * .google.cloud.video.livestream.v1.LogConfig log_config = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.LogConfig, - com.google.cloud.video.livestream.v1.LogConfig.Builder, - com.google.cloud.video.livestream.v1.LogConfigOrBuilder> + com.google.cloud.video.livestream.v1.LogConfig, com.google.cloud.video.livestream.v1.LogConfig.Builder, com.google.cloud.video.livestream.v1.LogConfigOrBuilder> getLogConfigFieldBuilder() { if (logConfigBuilder_ == null) { - logConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.LogConfig, - com.google.cloud.video.livestream.v1.LogConfig.Builder, - com.google.cloud.video.livestream.v1.LogConfigOrBuilder>( - getLogConfig(), getParentForChildren(), isClean()); + logConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.LogConfig, com.google.cloud.video.livestream.v1.LogConfig.Builder, com.google.cloud.video.livestream.v1.LogConfigOrBuilder>( + getLogConfig(), + getParentForChildren(), + isClean()); logConfig_ = null; } return logConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6291,12 +5513,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.Channel) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.Channel) private static final com.google.cloud.video.livestream.v1.Channel DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.Channel(); } @@ -6305,16 +5527,16 @@ public static com.google.cloud.video.livestream.v1.Channel getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Channel parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Channel(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Channel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Channel(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6329,4 +5551,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.Channel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelName.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelName.java similarity index 100% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelName.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelName.java diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponse.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponse.java similarity index 64% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponse.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponse.java index 6939e95..4a5feeb 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Response message for Start/Stop Channel long-running operations.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ChannelOperationResponse} */ -public final class ChannelOperationResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ChannelOperationResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.ChannelOperationResponse) ChannelOperationResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ChannelOperationResponse.newBuilder() to construct. private ChannelOperationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ChannelOperationResponse() {} + private ChannelOperationResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ChannelOperationResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ChannelOperationResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ChannelOperationResponse( 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,30 +66,27 @@ private ChannelOperationResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ChannelOperationResponse.class, - com.google.cloud.video.livestream.v1.ChannelOperationResponse.Builder.class); + com.google.cloud.video.livestream.v1.ChannelOperationResponse.class, com.google.cloud.video.livestream.v1.ChannelOperationResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,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); } @@ -135,13 +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.video.livestream.v1.ChannelOperationResponse)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.ChannelOperationResponse other = - (com.google.cloud.video.livestream.v1.ChannelOperationResponse) obj; + com.google.cloud.video.livestream.v1.ChannelOperationResponse other = (com.google.cloud.video.livestream.v1.ChannelOperationResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.ChannelOperationResponse prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.ChannelOperationResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for Start/Stop Channel long-running operations.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ChannelOperationResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.ChannelOperationResponse) com.google.cloud.video.livestream.v1.ChannelOperationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ChannelOperationResponse.class, - com.google.cloud.video.livestream.v1.ChannelOperationResponse.Builder.class); + com.google.cloud.video.livestream.v1.ChannelOperationResponse.class, com.google.cloud.video.livestream.v1.ChannelOperationResponse.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.ChannelOperationResponse.newBuilder() @@ -288,15 +259,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(); @@ -304,14 +276,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor; } @java.lang.Override - public com.google.cloud.video.livestream.v1.ChannelOperationResponse - getDefaultInstanceForType() { + public com.google.cloud.video.livestream.v1.ChannelOperationResponse getDefaultInstanceForType() { return com.google.cloud.video.livestream.v1.ChannelOperationResponse.getDefaultInstance(); } @@ -326,8 +297,7 @@ public com.google.cloud.video.livestream.v1.ChannelOperationResponse build() { @java.lang.Override public com.google.cloud.video.livestream.v1.ChannelOperationResponse buildPartial() { - com.google.cloud.video.livestream.v1.ChannelOperationResponse result = - new com.google.cloud.video.livestream.v1.ChannelOperationResponse(this); + com.google.cloud.video.livestream.v1.ChannelOperationResponse result = new com.google.cloud.video.livestream.v1.ChannelOperationResponse(this); onBuilt(); return result; } @@ -336,39 +306,38 @@ public com.google.cloud.video.livestream.v1.ChannelOperationResponse buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.ChannelOperationResponse) { - return mergeFrom((com.google.cloud.video.livestream.v1.ChannelOperationResponse) other); + return mergeFrom((com.google.cloud.video.livestream.v1.ChannelOperationResponse)other); } else { super.mergeFrom(other); return this; @@ -376,9 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.ChannelOperationResponse other) { - if (other - == com.google.cloud.video.livestream.v1.ChannelOperationResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.ChannelOperationResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -398,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.ChannelOperationResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.ChannelOperationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -409,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); } @@ -421,13 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.ChannelOperationResponse) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.ChannelOperationResponse) - private static final com.google.cloud.video.livestream.v1.ChannelOperationResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.video.livestream.v1.ChannelOperationResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.ChannelOperationResponse(); } @@ -436,16 +400,16 @@ public static com.google.cloud.video.livestream.v1.ChannelOperationResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChannelOperationResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ChannelOperationResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChannelOperationResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ChannelOperationResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -460,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.ChannelOperationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponseOrBuilder.java new file mode 100644 index 0000000..518125d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/video/livestream/v1/service.proto + +package com.google.cloud.video.livestream.v1; + +public interface ChannelOperationResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ChannelOperationResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOrBuilder.java similarity index 80% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOrBuilder.java index 87e9276..b3c68bb 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOrBuilder.java @@ -1,134 +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/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface ChannelOrBuilder - extends +public interface ChannelOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.Channel) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the channel, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the channel, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * User-defined key/value metadata.
    * 
@@ -137,31 +92,30 @@ public interface ChannelOrBuilder */ int getLabelsCount(); /** - * - * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * User-defined key/value metadata.
    * 
@@ -170,24 +124,22 @@ public interface ChannelOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -196,10 +148,9 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;
    */
-  java.util.List getInputAttachmentsList();
+  java.util.List 
+      getInputAttachmentsList();
   /**
-   *
-   *
    * 
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -210,8 +161,6 @@ java.lang.String getLabelsOrDefault(
    */
   com.google.cloud.video.livestream.v1.InputAttachment getInputAttachments(int index);
   /**
-   *
-   *
    * 
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -222,8 +171,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getInputAttachmentsCount();
   /**
-   *
-   *
    * 
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -232,11 +179,9 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;
    */
-  java.util.List
+  java.util.List 
       getInputAttachmentsOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -249,147 +194,111 @@ com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder getInputAttachment
       int index);
 
   /**
-   *
-   *
    * 
    * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
    * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
    * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The activeInput. */ java.lang.String getActiveInput(); /** - * - * *
    * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
    * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
    * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for activeInput. */ - com.google.protobuf.ByteString getActiveInputBytes(); + com.google.protobuf.ByteString + getActiveInputBytes(); /** - * - * *
    * Required. Information about the output (that is, the Cloud Storage bucket to store
    * the generated live stream).
    * 
* - * - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the output field is set. */ boolean hasOutput(); /** - * - * *
    * Required. Information about the output (that is, the Cloud Storage bucket to store
    * the generated live stream).
    * 
* - * - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The output. */ com.google.cloud.video.livestream.v1.Channel.Output getOutput(); /** - * - * *
    * Required. Information about the output (that is, the Cloud Storage bucket to store
    * the generated live stream).
    * 
* - * - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder getOutputOrBuilder(); /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ - java.util.List getElementaryStreamsList(); + java.util.List + getElementaryStreamsList(); /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ com.google.cloud.video.livestream.v1.ElementaryStream getElementaryStreams(int index); /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ int getElementaryStreamsCount(); /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ - java.util.List + java.util.List getElementaryStreamsOrBuilderList(); /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; - * + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; */ com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder getElementaryStreamsOrBuilder( int index); /** - * - * *
    * List of multiplexing settings for output streams.
    * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - java.util.List getMuxStreamsList(); + java.util.List + getMuxStreamsList(); /** - * - * *
    * List of multiplexing settings for output streams.
    * 
@@ -398,8 +307,6 @@ com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder getElementaryStre */ com.google.cloud.video.livestream.v1.MuxStream getMuxStreams(int index); /** - * - * *
    * List of multiplexing settings for output streams.
    * 
@@ -408,40 +315,34 @@ com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder getElementaryStre */ int getMuxStreamsCount(); /** - * - * *
    * List of multiplexing settings for output streams.
    * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - java.util.List + java.util.List getMuxStreamsOrBuilderList(); /** - * - * *
    * List of multiplexing settings for output streams.
    * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - com.google.cloud.video.livestream.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder(int index); + com.google.cloud.video.livestream.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder( + int index); /** - * - * *
    * List of output manifests.
    * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - java.util.List getManifestsList(); + java.util.List + getManifestsList(); /** - * - * *
    * List of output manifests.
    * 
@@ -450,8 +351,6 @@ com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder getElementaryStre */ com.google.cloud.video.livestream.v1.Manifest getManifests(int index); /** - * - * *
    * List of output manifests.
    * 
@@ -460,40 +359,34 @@ com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder getElementaryStre */ int getManifestsCount(); /** - * - * *
    * List of output manifests.
    * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - java.util.List + java.util.List getManifestsOrBuilderList(); /** - * - * *
    * List of output manifests.
    * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuilder(int index); + com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuilder( + int index); /** - * - * *
    * List of output sprite sheets.
    * 
* * repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13; */ - java.util.List getSpriteSheetsList(); + java.util.List + getSpriteSheetsList(); /** - * - * *
    * List of output sprite sheets.
    * 
@@ -502,8 +395,6 @@ com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder getElementaryStre */ com.google.cloud.video.livestream.v1.SpriteSheet getSpriteSheets(int index); /** - * - * *
    * List of output sprite sheets.
    * 
@@ -512,127 +403,95 @@ com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder getElementaryStre */ int getSpriteSheetsCount(); /** - * - * *
    * List of output sprite sheets.
    * 
* * repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13; */ - java.util.List + java.util.List getSpriteSheetsOrBuilderList(); /** - * - * *
    * List of output sprite sheets.
    * 
* * repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13; */ - com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder getSpriteSheetsOrBuilder(int index); + com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder getSpriteSheetsOrBuilder( + int index); /** - * - * *
    * Output only. State of the streaming operation.
    * 
* - * - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for streamingState. */ int getStreamingStateValue(); /** - * - * *
    * Output only. State of the streaming operation.
    * 
* - * - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The streamingState. */ com.google.cloud.video.livestream.v1.Channel.StreamingState getStreamingState(); /** - * - * *
    * Output only. A description of the reason for the streaming error. This property is
    * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
    * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
    * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the streamingError field is set. */ boolean hasStreamingError(); /** - * - * *
    * Output only. A description of the reason for the streaming error. This property is
    * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
    * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
    * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The streamingError. */ com.google.rpc.Status getStreamingError(); /** - * - * *
    * Output only. A description of the reason for the streaming error. This property is
    * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
    * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
    * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.rpc.StatusOrBuilder getStreamingErrorOrBuilder(); /** - * - * *
    * Configuration of platform logs for this channel.
    * 
* * .google.cloud.video.livestream.v1.LogConfig log_config = 19; - * * @return Whether the logConfig field is set. */ boolean hasLogConfig(); /** - * - * *
    * Configuration of platform logs for this channel.
    * 
* * .google.cloud.video.livestream.v1.LogConfig log_config = 19; - * * @return The logConfig. */ com.google.cloud.video.livestream.v1.LogConfig getLogConfig(); /** - * - * *
    * Configuration of platform logs for this channel.
    * 
diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequest.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequest.java similarity index 70% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequest.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequest.java index 15683ce..b65742f 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Request message for "LivestreamService.CreateChannel".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.CreateChannelRequest} */ -public final class CreateChannelRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateChannelRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.CreateChannelRequest) CreateChannelRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateChannelRequest.newBuilder() to construct. private CreateChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateChannelRequest() { parent_ = ""; channelId_ = ""; @@ -45,15 +27,16 @@ private CreateChannelRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,50 +55,44 @@ private CreateChannelRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.video.livestream.v1.Channel.Builder subBuilder = null; + if (channel_ != null) { + subBuilder = channel_.toBuilder(); } - case 18: - { - com.google.cloud.video.livestream.v1.Channel.Builder subBuilder = null; - if (channel_ != null) { - subBuilder = channel_.toBuilder(); - } - channel_ = - input.readMessage( - com.google.cloud.video.livestream.v1.Channel.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(channel_); - channel_ = subBuilder.buildPartial(); - } - - break; + channel_ = input.readMessage(com.google.cloud.video.livestream.v1.Channel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(channel_); + channel_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - channelId_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + channelId_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -123,42 +100,35 @@ private CreateChannelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.CreateChannelRequest.class, - com.google.cloud.video.livestream.v1.CreateChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.CreateChannelRequest.class, com.google.cloud.video.livestream.v1.CreateChannelRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -167,32 +137,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -203,16 +171,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CHANNEL_FIELD_NUMBER = 2; private com.google.cloud.video.livestream.v1.Channel channel_; /** - * - * *
    * Required. The channel resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the channel field is set. */ @java.lang.Override @@ -220,34 +183,23 @@ public boolean hasChannel() { return channel_ != null; } /** - * - * *
    * Required. The channel resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The channel. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Channel getChannel() { - return channel_ == null - ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() - : channel_; + return channel_ == null ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() : channel_; } /** - * - * *
    * Required. The channel resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder() { @@ -257,8 +209,6 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder public static final int CHANNEL_ID_FIELD_NUMBER = 3; private volatile java.lang.Object channelId_; /** - * - * *
    * Required. The ID of the channel resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -266,7 +216,6 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder
    * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The channelId. */ @java.lang.Override @@ -275,15 +224,14 @@ public java.lang.String getChannelId() { 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(); channelId_ = s; return s; } } /** - * - * *
    * Required. The ID of the channel resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -291,15 +239,16 @@ public java.lang.String getChannelId() {
    * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for channelId. */ @java.lang.Override - public com.google.protobuf.ByteString getChannelIdBytes() { + public com.google.protobuf.ByteString + getChannelIdBytes() { java.lang.Object ref = channelId_; 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); channelId_ = b; return b; } else { @@ -310,8 +259,6 @@ public com.google.protobuf.ByteString getChannelIdBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -327,7 +274,6 @@ public com.google.protobuf.ByteString getChannelIdBytes() {
    * 
* * string request_id = 4; - * * @return The requestId. */ @java.lang.Override @@ -336,15 +282,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -360,15 +305,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -377,7 +323,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -389,7 +334,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -415,7 +361,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (channel_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getChannel()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getChannel()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(channelId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, channelId_); @@ -431,21 +378,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.video.livestream.v1.CreateChannelRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.CreateChannelRequest other = - (com.google.cloud.video.livestream.v1.CreateChannelRequest) obj; + com.google.cloud.video.livestream.v1.CreateChannelRequest other = (com.google.cloud.video.livestream.v1.CreateChannelRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasChannel() != other.hasChannel()) return false; if (hasChannel()) { - if (!getChannel().equals(other.getChannel())) return false; + if (!getChannel() + .equals(other.getChannel())) return false; } - if (!getChannelId().equals(other.getChannelId())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getChannelId() + .equals(other.getChannelId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -473,127 +423,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.CreateChannelRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.CreateChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for "LivestreamService.CreateChannel".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.CreateChannelRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.CreateChannelRequest) com.google.cloud.video.livestream.v1.CreateChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.CreateChannelRequest.class, - com.google.cloud.video.livestream.v1.CreateChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.CreateChannelRequest.class, com.google.cloud.video.livestream.v1.CreateChannelRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.CreateChannelRequest.newBuilder() @@ -601,15 +541,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(); @@ -629,9 +570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor; } @java.lang.Override @@ -650,8 +591,7 @@ public com.google.cloud.video.livestream.v1.CreateChannelRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.CreateChannelRequest buildPartial() { - com.google.cloud.video.livestream.v1.CreateChannelRequest result = - new com.google.cloud.video.livestream.v1.CreateChannelRequest(this); + com.google.cloud.video.livestream.v1.CreateChannelRequest result = new com.google.cloud.video.livestream.v1.CreateChannelRequest(this); result.parent_ = parent_; if (channelBuilder_ == null) { result.channel_ = channel_; @@ -668,39 +608,38 @@ public com.google.cloud.video.livestream.v1.CreateChannelRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.CreateChannelRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.CreateChannelRequest) other); + return mergeFrom((com.google.cloud.video.livestream.v1.CreateChannelRequest)other); } else { super.mergeFrom(other); return this; @@ -708,8 +647,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.CreateChannelRequest other) { - if (other == com.google.cloud.video.livestream.v1.CreateChannelRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.CreateChannelRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -744,8 +682,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.CreateChannelRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.CreateChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -757,23 +694,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -782,24 +715,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -807,70 +737,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -878,58 +795,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.video.livestream.v1.Channel channel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel, - com.google.cloud.video.livestream.v1.Channel.Builder, - com.google.cloud.video.livestream.v1.ChannelOrBuilder> - channelBuilder_; + com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder> channelBuilder_; /** - * - * *
      * Required. The channel resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the channel field is set. */ public boolean hasChannel() { return channelBuilder_ != null || channel_ != null; } /** - * - * *
      * Required. The channel resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The channel. */ public com.google.cloud.video.livestream.v1.Channel getChannel() { if (channelBuilder_ == null) { - return channel_ == null - ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() - : channel_; + return channel_ == null ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() : channel_; } else { return channelBuilder_.getMessage(); } } /** - * - * *
      * Required. The channel resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setChannel(com.google.cloud.video.livestream.v1.Channel value) { if (channelBuilder_ == null) { @@ -945,15 +843,11 @@ public Builder setChannel(com.google.cloud.video.livestream.v1.Channel value) { return this; } /** - * - * *
      * Required. The channel resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setChannel( com.google.cloud.video.livestream.v1.Channel.Builder builderForValue) { @@ -967,23 +861,17 @@ public Builder setChannel( return this; } /** - * - * *
      * Required. The channel resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeChannel(com.google.cloud.video.livestream.v1.Channel value) { if (channelBuilder_ == null) { if (channel_ != null) { channel_ = - com.google.cloud.video.livestream.v1.Channel.newBuilder(channel_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.livestream.v1.Channel.newBuilder(channel_).mergeFrom(value).buildPartial(); } else { channel_ = value; } @@ -995,15 +883,11 @@ public Builder mergeChannel(com.google.cloud.video.livestream.v1.Channel value) return this; } /** - * - * *
      * Required. The channel resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearChannel() { if (channelBuilder_ == null) { @@ -1017,64 +901,48 @@ public Builder clearChannel() { return this; } /** - * - * *
      * Required. The channel resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.video.livestream.v1.Channel.Builder getChannelBuilder() { - + onChanged(); return getChannelFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The channel resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder() { if (channelBuilder_ != null) { return channelBuilder_.getMessageOrBuilder(); } else { - return channel_ == null - ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() - : channel_; + return channel_ == null ? + com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() : channel_; } } /** - * - * *
      * Required. The channel resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel, - com.google.cloud.video.livestream.v1.Channel.Builder, - com.google.cloud.video.livestream.v1.ChannelOrBuilder> + com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder> getChannelFieldBuilder() { if (channelBuilder_ == null) { - channelBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel, - com.google.cloud.video.livestream.v1.Channel.Builder, - com.google.cloud.video.livestream.v1.ChannelOrBuilder>( - getChannel(), getParentForChildren(), isClean()); + channelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder>( + getChannel(), + getParentForChildren(), + isClean()); channel_ = null; } return channelBuilder_; @@ -1082,8 +950,6 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder private java.lang.Object channelId_ = ""; /** - * - * *
      * Required. The ID of the channel resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1091,13 +957,13 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder
      * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The channelId. */ public java.lang.String getChannelId() { java.lang.Object ref = channelId_; 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(); channelId_ = s; return s; @@ -1106,8 +972,6 @@ public java.lang.String getChannelId() { } } /** - * - * *
      * Required. The ID of the channel resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1115,14 +979,15 @@ public java.lang.String getChannelId() {
      * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for channelId. */ - public com.google.protobuf.ByteString getChannelIdBytes() { + public com.google.protobuf.ByteString + getChannelIdBytes() { java.lang.Object ref = channelId_; 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); channelId_ = b; return b; } else { @@ -1130,8 +995,6 @@ public com.google.protobuf.ByteString getChannelIdBytes() { } } /** - * - * *
      * Required. The ID of the channel resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1139,22 +1002,20 @@ public com.google.protobuf.ByteString getChannelIdBytes() {
      * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The channelId to set. * @return This builder for chaining. */ - public Builder setChannelId(java.lang.String value) { + public Builder setChannelId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + channelId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID of the channel resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1162,18 +1023,15 @@ public Builder setChannelId(java.lang.String value) {
      * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearChannelId() { - + channelId_ = getDefaultInstance().getChannelId(); onChanged(); return this; } /** - * - * *
      * Required. The ID of the channel resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1181,16 +1039,16 @@ public Builder clearChannelId() {
      * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for channelId to set. * @return This builder for chaining. */ - public Builder setChannelIdBytes(com.google.protobuf.ByteString value) { + public Builder setChannelIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + channelId_ = value; onChanged(); return this; @@ -1198,8 +1056,6 @@ public Builder setChannelIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1215,13 +1071,13 @@ public Builder setChannelIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 4; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1230,8 +1086,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1247,14 +1101,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1262,8 +1117,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1279,22 +1132,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1310,18 +1161,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1337,23 +1185,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1363,12 +1211,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.CreateChannelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.CreateChannelRequest) private static final com.google.cloud.video.livestream.v1.CreateChannelRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.CreateChannelRequest(); } @@ -1377,16 +1225,16 @@ public static com.google.cloud.video.livestream.v1.CreateChannelRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1401,4 +1249,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.CreateChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequestOrBuilder.java index 265a8f8..8617c7e 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequestOrBuilder.java @@ -1,103 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface CreateChannelRequestOrBuilder - extends +public interface CreateChannelRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.CreateChannelRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The channel resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the channel field is set. */ boolean hasChannel(); /** - * - * *
    * Required. The channel resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The channel. */ com.google.cloud.video.livestream.v1.Channel getChannel(); /** - * - * *
    * Required. The channel resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder(); /** - * - * *
    * Required. The ID of the channel resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -105,13 +64,10 @@ public interface CreateChannelRequestOrBuilder
    * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The channelId. */ java.lang.String getChannelId(); /** - * - * *
    * Required. The ID of the channel resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -119,14 +75,12 @@ public interface CreateChannelRequestOrBuilder
    * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for channelId. */ - com.google.protobuf.ByteString getChannelIdBytes(); + com.google.protobuf.ByteString + getChannelIdBytes(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -142,13 +96,10 @@ public interface CreateChannelRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -164,8 +115,8 @@ public interface CreateChannelRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequest.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequest.java similarity index 70% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequest.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequest.java index 118bf0f..8702123 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Request message for "LivestreamService.CreateEvent".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.CreateEventRequest} */ -public final class CreateEventRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateEventRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.CreateEventRequest) CreateEventRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateEventRequest.newBuilder() to construct. private CreateEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateEventRequest() { parent_ = ""; eventId_ = ""; @@ -45,15 +27,16 @@ private CreateEventRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateEventRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,50 +55,44 @@ private CreateEventRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.video.livestream.v1.Event.Builder subBuilder = null; + if (event_ != null) { + subBuilder = event_.toBuilder(); } - case 18: - { - com.google.cloud.video.livestream.v1.Event.Builder subBuilder = null; - if (event_ != null) { - subBuilder = event_.toBuilder(); - } - event_ = - input.readMessage( - com.google.cloud.video.livestream.v1.Event.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(event_); - event_ = subBuilder.buildPartial(); - } - - break; + event_ = input.readMessage(com.google.cloud.video.livestream.v1.Event.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(event_); + event_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - eventId_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + eventId_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -123,42 +100,35 @@ private CreateEventRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_CreateEventRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.CreateEventRequest.class, - com.google.cloud.video.livestream.v1.CreateEventRequest.Builder.class); + com.google.cloud.video.livestream.v1.CreateEventRequest.class, com.google.cloud.video.livestream.v1.CreateEventRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent channel for the resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -167,32 +137,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent channel for the resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -203,16 +171,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int EVENT_FIELD_NUMBER = 2; private com.google.cloud.video.livestream.v1.Event event_; /** - * - * *
    * Required. The event resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the event field is set. */ @java.lang.Override @@ -220,34 +183,23 @@ public boolean hasEvent() { return event_ != null; } /** - * - * *
    * Required. The event resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The event. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Event getEvent() { - return event_ == null - ? com.google.cloud.video.livestream.v1.Event.getDefaultInstance() - : event_; + return event_ == null ? com.google.cloud.video.livestream.v1.Event.getDefaultInstance() : event_; } /** - * - * *
    * Required. The event resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.video.livestream.v1.EventOrBuilder getEventOrBuilder() { @@ -257,8 +209,6 @@ public com.google.cloud.video.livestream.v1.EventOrBuilder getEventOrBuilder() { public static final int EVENT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object eventId_; /** - * - * *
    * Required. The ID of the event resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -266,7 +216,6 @@ public com.google.cloud.video.livestream.v1.EventOrBuilder getEventOrBuilder() {
    * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventId. */ @java.lang.Override @@ -275,15 +224,14 @@ public java.lang.String getEventId() { 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(); eventId_ = s; return s; } } /** - * - * *
    * Required. The ID of the event resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -291,15 +239,16 @@ public java.lang.String getEventId() {
    * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventId. */ @java.lang.Override - public com.google.protobuf.ByteString getEventIdBytes() { + public com.google.protobuf.ByteString + getEventIdBytes() { java.lang.Object ref = eventId_; 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); eventId_ = b; return b; } else { @@ -310,8 +259,6 @@ public com.google.protobuf.ByteString getEventIdBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -327,7 +274,6 @@ public com.google.protobuf.ByteString getEventIdBytes() {
    * 
* * string request_id = 4; - * * @return The requestId. */ @java.lang.Override @@ -336,15 +282,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -360,15 +305,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -377,7 +323,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -389,7 +334,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -415,7 +361,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (event_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEvent()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEvent()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, eventId_); @@ -431,21 +378,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.video.livestream.v1.CreateEventRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.CreateEventRequest other = - (com.google.cloud.video.livestream.v1.CreateEventRequest) obj; + com.google.cloud.video.livestream.v1.CreateEventRequest other = (com.google.cloud.video.livestream.v1.CreateEventRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasEvent() != other.hasEvent()) return false; if (hasEvent()) { - if (!getEvent().equals(other.getEvent())) return false; + if (!getEvent() + .equals(other.getEvent())) return false; } - if (!getEventId().equals(other.getEventId())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getEventId() + .equals(other.getEventId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -473,127 +423,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.CreateEventRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.CreateEventRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.CreateEventRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.CreateEventRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.CreateEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for "LivestreamService.CreateEvent".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.CreateEventRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.CreateEventRequest) com.google.cloud.video.livestream.v1.CreateEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_CreateEventRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.CreateEventRequest.class, - com.google.cloud.video.livestream.v1.CreateEventRequest.Builder.class); + com.google.cloud.video.livestream.v1.CreateEventRequest.class, com.google.cloud.video.livestream.v1.CreateEventRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.CreateEventRequest.newBuilder() @@ -601,15 +541,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(); @@ -629,9 +570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor; } @java.lang.Override @@ -650,8 +591,7 @@ public com.google.cloud.video.livestream.v1.CreateEventRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.CreateEventRequest buildPartial() { - com.google.cloud.video.livestream.v1.CreateEventRequest result = - new com.google.cloud.video.livestream.v1.CreateEventRequest(this); + com.google.cloud.video.livestream.v1.CreateEventRequest result = new com.google.cloud.video.livestream.v1.CreateEventRequest(this); result.parent_ = parent_; if (eventBuilder_ == null) { result.event_ = event_; @@ -668,39 +608,38 @@ public com.google.cloud.video.livestream.v1.CreateEventRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.CreateEventRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.CreateEventRequest) other); + return mergeFrom((com.google.cloud.video.livestream.v1.CreateEventRequest)other); } else { super.mergeFrom(other); return this; @@ -708,8 +647,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.CreateEventRequest other) { - if (other == com.google.cloud.video.livestream.v1.CreateEventRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.CreateEventRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -744,8 +682,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.CreateEventRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.CreateEventRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -757,23 +694,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -782,24 +715,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -807,70 +737,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -878,58 +795,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.video.livestream.v1.Event event_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event, - com.google.cloud.video.livestream.v1.Event.Builder, - com.google.cloud.video.livestream.v1.EventOrBuilder> - eventBuilder_; + com.google.cloud.video.livestream.v1.Event, com.google.cloud.video.livestream.v1.Event.Builder, com.google.cloud.video.livestream.v1.EventOrBuilder> eventBuilder_; /** - * - * *
      * Required. The event resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the event field is set. */ public boolean hasEvent() { return eventBuilder_ != null || event_ != null; } /** - * - * *
      * Required. The event resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The event. */ public com.google.cloud.video.livestream.v1.Event getEvent() { if (eventBuilder_ == null) { - return event_ == null - ? com.google.cloud.video.livestream.v1.Event.getDefaultInstance() - : event_; + return event_ == null ? com.google.cloud.video.livestream.v1.Event.getDefaultInstance() : event_; } else { return eventBuilder_.getMessage(); } } /** - * - * *
      * Required. The event resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEvent(com.google.cloud.video.livestream.v1.Event value) { if (eventBuilder_ == null) { @@ -945,17 +843,14 @@ public Builder setEvent(com.google.cloud.video.livestream.v1.Event value) { return this; } /** - * - * *
      * Required. The event resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEvent(com.google.cloud.video.livestream.v1.Event.Builder builderForValue) { + public Builder setEvent( + com.google.cloud.video.livestream.v1.Event.Builder builderForValue) { if (eventBuilder_ == null) { event_ = builderForValue.build(); onChanged(); @@ -966,23 +861,17 @@ public Builder setEvent(com.google.cloud.video.livestream.v1.Event.Builder build return this; } /** - * - * *
      * Required. The event resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEvent(com.google.cloud.video.livestream.v1.Event value) { if (eventBuilder_ == null) { if (event_ != null) { event_ = - com.google.cloud.video.livestream.v1.Event.newBuilder(event_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.livestream.v1.Event.newBuilder(event_).mergeFrom(value).buildPartial(); } else { event_ = value; } @@ -994,15 +883,11 @@ public Builder mergeEvent(com.google.cloud.video.livestream.v1.Event value) { return this; } /** - * - * *
      * Required. The event resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEvent() { if (eventBuilder_ == null) { @@ -1016,64 +901,48 @@ public Builder clearEvent() { return this; } /** - * - * *
      * Required. The event resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.video.livestream.v1.Event.Builder getEventBuilder() { - + onChanged(); return getEventFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The event resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.video.livestream.v1.EventOrBuilder getEventOrBuilder() { if (eventBuilder_ != null) { return eventBuilder_.getMessageOrBuilder(); } else { - return event_ == null - ? com.google.cloud.video.livestream.v1.Event.getDefaultInstance() - : event_; + return event_ == null ? + com.google.cloud.video.livestream.v1.Event.getDefaultInstance() : event_; } } /** - * - * *
      * Required. The event resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event, - com.google.cloud.video.livestream.v1.Event.Builder, - com.google.cloud.video.livestream.v1.EventOrBuilder> + com.google.cloud.video.livestream.v1.Event, com.google.cloud.video.livestream.v1.Event.Builder, com.google.cloud.video.livestream.v1.EventOrBuilder> getEventFieldBuilder() { if (eventBuilder_ == null) { - eventBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event, - com.google.cloud.video.livestream.v1.Event.Builder, - com.google.cloud.video.livestream.v1.EventOrBuilder>( - getEvent(), getParentForChildren(), isClean()); + eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.Event, com.google.cloud.video.livestream.v1.Event.Builder, com.google.cloud.video.livestream.v1.EventOrBuilder>( + getEvent(), + getParentForChildren(), + isClean()); event_ = null; } return eventBuilder_; @@ -1081,8 +950,6 @@ public com.google.cloud.video.livestream.v1.EventOrBuilder getEventOrBuilder() { private java.lang.Object eventId_ = ""; /** - * - * *
      * Required. The ID of the event resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1090,13 +957,13 @@ public com.google.cloud.video.livestream.v1.EventOrBuilder getEventOrBuilder() {
      * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventId. */ public java.lang.String getEventId() { java.lang.Object ref = eventId_; 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(); eventId_ = s; return s; @@ -1105,8 +972,6 @@ public java.lang.String getEventId() { } } /** - * - * *
      * Required. The ID of the event resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1114,14 +979,15 @@ public java.lang.String getEventId() {
      * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventId. */ - public com.google.protobuf.ByteString getEventIdBytes() { + public com.google.protobuf.ByteString + getEventIdBytes() { java.lang.Object ref = eventId_; 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); eventId_ = b; return b; } else { @@ -1129,8 +995,6 @@ public com.google.protobuf.ByteString getEventIdBytes() { } } /** - * - * *
      * Required. The ID of the event resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1138,22 +1002,20 @@ public com.google.protobuf.ByteString getEventIdBytes() {
      * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The eventId to set. * @return This builder for chaining. */ - public Builder setEventId(java.lang.String value) { + public Builder setEventId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID of the event resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1161,18 +1023,15 @@ public Builder setEventId(java.lang.String value) {
      * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEventId() { - + eventId_ = getDefaultInstance().getEventId(); onChanged(); return this; } /** - * - * *
      * Required. The ID of the event resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1180,16 +1039,16 @@ public Builder clearEventId() {
      * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for eventId to set. * @return This builder for chaining. */ - public Builder setEventIdBytes(com.google.protobuf.ByteString value) { + public Builder setEventIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventId_ = value; onChanged(); return this; @@ -1197,8 +1056,6 @@ public Builder setEventIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1214,13 +1071,13 @@ public Builder setEventIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 4; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1229,8 +1086,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1246,14 +1101,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1261,8 +1117,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1278,22 +1132,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1309,18 +1161,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1336,23 +1185,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1362,12 +1211,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.CreateEventRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.CreateEventRequest) private static final com.google.cloud.video.livestream.v1.CreateEventRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.CreateEventRequest(); } @@ -1376,16 +1225,16 @@ public static com.google.cloud.video.livestream.v1.CreateEventRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateEventRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEventRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateEventRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1400,4 +1249,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.CreateEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequestOrBuilder.java index f68b02f..f55ccfc 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequestOrBuilder.java @@ -1,103 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface CreateEventRequestOrBuilder - extends +public interface CreateEventRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.CreateEventRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent channel for the resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent channel for the resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The event resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the event field is set. */ boolean hasEvent(); /** - * - * *
    * Required. The event resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The event. */ com.google.cloud.video.livestream.v1.Event getEvent(); /** - * - * *
    * Required. The event resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.video.livestream.v1.EventOrBuilder getEventOrBuilder(); /** - * - * *
    * Required. The ID of the event resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -105,13 +64,10 @@ public interface CreateEventRequestOrBuilder
    * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventId. */ java.lang.String getEventId(); /** - * - * *
    * Required. The ID of the event resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -119,14 +75,12 @@ public interface CreateEventRequestOrBuilder
    * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventId. */ - com.google.protobuf.ByteString getEventIdBytes(); + com.google.protobuf.ByteString + getEventIdBytes(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -142,13 +96,10 @@ public interface CreateEventRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -164,8 +115,8 @@ public interface CreateEventRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequest.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequest.java similarity index 69% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequest.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequest.java index b53cb6c..bdb6a0b 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Request message for "LivestreamService.CreateInput".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.CreateInputRequest} */ -public final class CreateInputRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateInputRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.CreateInputRequest) CreateInputRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateInputRequest.newBuilder() to construct. private CreateInputRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateInputRequest() { parent_ = ""; inputId_ = ""; @@ -45,15 +27,16 @@ private CreateInputRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateInputRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateInputRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,50 +55,44 @@ private CreateInputRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.video.livestream.v1.Input.Builder subBuilder = null; + if (input_ != null) { + subBuilder = input_.toBuilder(); } - case 18: - { - com.google.cloud.video.livestream.v1.Input.Builder subBuilder = null; - if (input_ != null) { - subBuilder = input_.toBuilder(); - } - input_ = - input.readMessage( - com.google.cloud.video.livestream.v1.Input.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(input_); - input_ = subBuilder.buildPartial(); - } - - break; + input_ = input.readMessage(com.google.cloud.video.livestream.v1.Input.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(input_); + input_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - inputId_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + inputId_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -123,42 +100,35 @@ private CreateInputRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_CreateInputRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateInputRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.CreateInputRequest.class, - com.google.cloud.video.livestream.v1.CreateInputRequest.Builder.class); + com.google.cloud.video.livestream.v1.CreateInputRequest.class, com.google.cloud.video.livestream.v1.CreateInputRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -167,32 +137,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -203,16 +171,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int INPUT_FIELD_NUMBER = 2; private com.google.cloud.video.livestream.v1.Input input_; /** - * - * *
    * Required. The input resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the input field is set. */ @java.lang.Override @@ -220,34 +183,23 @@ public boolean hasInput() { return input_ != null; } /** - * - * *
    * Required. The input resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The input. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Input getInput() { - return input_ == null - ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() - : input_; + return input_ == null ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() : input_; } /** - * - * *
    * Required. The input resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() { @@ -257,8 +209,6 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() { public static final int INPUT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object inputId_; /** - * - * *
    * Required. The ID of the input resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -266,7 +216,6 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() {
    * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputId. */ @java.lang.Override @@ -275,15 +224,14 @@ public java.lang.String getInputId() { 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(); inputId_ = s; return s; } } /** - * - * *
    * Required. The ID of the input resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -291,15 +239,16 @@ public java.lang.String getInputId() {
    * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for inputId. */ @java.lang.Override - public com.google.protobuf.ByteString getInputIdBytes() { + public com.google.protobuf.ByteString + getInputIdBytes() { java.lang.Object ref = inputId_; 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); inputId_ = b; return b; } else { @@ -310,8 +259,6 @@ public com.google.protobuf.ByteString getInputIdBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -327,7 +274,6 @@ public com.google.protobuf.ByteString getInputIdBytes() {
    * 
* * string request_id = 4; - * * @return The requestId. */ @java.lang.Override @@ -336,15 +282,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -360,15 +305,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -377,7 +323,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -389,7 +334,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -415,7 +361,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (input_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInput()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInput()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, inputId_); @@ -431,21 +378,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.video.livestream.v1.CreateInputRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.CreateInputRequest other = - (com.google.cloud.video.livestream.v1.CreateInputRequest) obj; + com.google.cloud.video.livestream.v1.CreateInputRequest other = (com.google.cloud.video.livestream.v1.CreateInputRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasInput() != other.hasInput()) return false; if (hasInput()) { - if (!getInput().equals(other.getInput())) return false; + if (!getInput() + .equals(other.getInput())) return false; } - if (!getInputId().equals(other.getInputId())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getInputId() + .equals(other.getInputId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -473,127 +423,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.CreateInputRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.CreateInputRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.CreateInputRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.CreateInputRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.CreateInputRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for "LivestreamService.CreateInput".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.CreateInputRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.CreateInputRequest) com.google.cloud.video.livestream.v1.CreateInputRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_CreateInputRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateInputRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.CreateInputRequest.class, - com.google.cloud.video.livestream.v1.CreateInputRequest.Builder.class); + com.google.cloud.video.livestream.v1.CreateInputRequest.class, com.google.cloud.video.livestream.v1.CreateInputRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.CreateInputRequest.newBuilder() @@ -601,15 +541,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(); @@ -629,9 +570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor; } @java.lang.Override @@ -650,8 +591,7 @@ public com.google.cloud.video.livestream.v1.CreateInputRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.CreateInputRequest buildPartial() { - com.google.cloud.video.livestream.v1.CreateInputRequest result = - new com.google.cloud.video.livestream.v1.CreateInputRequest(this); + com.google.cloud.video.livestream.v1.CreateInputRequest result = new com.google.cloud.video.livestream.v1.CreateInputRequest(this); result.parent_ = parent_; if (inputBuilder_ == null) { result.input_ = input_; @@ -668,39 +608,38 @@ public com.google.cloud.video.livestream.v1.CreateInputRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.CreateInputRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.CreateInputRequest) other); + return mergeFrom((com.google.cloud.video.livestream.v1.CreateInputRequest)other); } else { super.mergeFrom(other); return this; @@ -708,8 +647,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.CreateInputRequest other) { - if (other == com.google.cloud.video.livestream.v1.CreateInputRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.CreateInputRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -744,8 +682,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.CreateInputRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.CreateInputRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -757,23 +694,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -782,24 +715,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -807,70 +737,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -878,58 +795,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.video.livestream.v1.Input input_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input, - com.google.cloud.video.livestream.v1.Input.Builder, - com.google.cloud.video.livestream.v1.InputOrBuilder> - inputBuilder_; + com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder> inputBuilder_; /** - * - * *
      * Required. The input resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the input field is set. */ public boolean hasInput() { return inputBuilder_ != null || input_ != null; } /** - * - * *
      * Required. The input resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The input. */ public com.google.cloud.video.livestream.v1.Input getInput() { if (inputBuilder_ == null) { - return input_ == null - ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() - : input_; + return input_ == null ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() : input_; } else { return inputBuilder_.getMessage(); } } /** - * - * *
      * Required. The input resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInput(com.google.cloud.video.livestream.v1.Input value) { if (inputBuilder_ == null) { @@ -945,17 +843,14 @@ public Builder setInput(com.google.cloud.video.livestream.v1.Input value) { return this; } /** - * - * *
      * Required. The input resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInput(com.google.cloud.video.livestream.v1.Input.Builder builderForValue) { + public Builder setInput( + com.google.cloud.video.livestream.v1.Input.Builder builderForValue) { if (inputBuilder_ == null) { input_ = builderForValue.build(); onChanged(); @@ -966,23 +861,17 @@ public Builder setInput(com.google.cloud.video.livestream.v1.Input.Builder build return this; } /** - * - * *
      * Required. The input resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInput(com.google.cloud.video.livestream.v1.Input value) { if (inputBuilder_ == null) { if (input_ != null) { input_ = - com.google.cloud.video.livestream.v1.Input.newBuilder(input_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.livestream.v1.Input.newBuilder(input_).mergeFrom(value).buildPartial(); } else { input_ = value; } @@ -994,15 +883,11 @@ public Builder mergeInput(com.google.cloud.video.livestream.v1.Input value) { return this; } /** - * - * *
      * Required. The input resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInput() { if (inputBuilder_ == null) { @@ -1016,64 +901,48 @@ public Builder clearInput() { return this; } /** - * - * *
      * Required. The input resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.video.livestream.v1.Input.Builder getInputBuilder() { - + onChanged(); return getInputFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The input resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() { if (inputBuilder_ != null) { return inputBuilder_.getMessageOrBuilder(); } else { - return input_ == null - ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() - : input_; + return input_ == null ? + com.google.cloud.video.livestream.v1.Input.getDefaultInstance() : input_; } } /** - * - * *
      * Required. The input resource to be created.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input, - com.google.cloud.video.livestream.v1.Input.Builder, - com.google.cloud.video.livestream.v1.InputOrBuilder> + com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder> getInputFieldBuilder() { if (inputBuilder_ == null) { - inputBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input, - com.google.cloud.video.livestream.v1.Input.Builder, - com.google.cloud.video.livestream.v1.InputOrBuilder>( - getInput(), getParentForChildren(), isClean()); + inputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder>( + getInput(), + getParentForChildren(), + isClean()); input_ = null; } return inputBuilder_; @@ -1081,8 +950,6 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() { private java.lang.Object inputId_ = ""; /** - * - * *
      * Required. The ID of the input resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1090,13 +957,13 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() {
      * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputId. */ public java.lang.String getInputId() { java.lang.Object ref = inputId_; 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(); inputId_ = s; return s; @@ -1105,8 +972,6 @@ public java.lang.String getInputId() { } } /** - * - * *
      * Required. The ID of the input resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1114,14 +979,15 @@ public java.lang.String getInputId() {
      * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for inputId. */ - public com.google.protobuf.ByteString getInputIdBytes() { + public com.google.protobuf.ByteString + getInputIdBytes() { java.lang.Object ref = inputId_; 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); inputId_ = b; return b; } else { @@ -1129,8 +995,6 @@ public com.google.protobuf.ByteString getInputIdBytes() { } } /** - * - * *
      * Required. The ID of the input resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1138,22 +1002,20 @@ public com.google.protobuf.ByteString getInputIdBytes() {
      * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The inputId to set. * @return This builder for chaining. */ - public Builder setInputId(java.lang.String value) { + public Builder setInputId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID of the input resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1161,18 +1023,15 @@ public Builder setInputId(java.lang.String value) {
      * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInputId() { - + inputId_ = getDefaultInstance().getInputId(); onChanged(); return this; } /** - * - * *
      * Required. The ID of the input resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1180,16 +1039,16 @@ public Builder clearInputId() {
      * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for inputId to set. * @return This builder for chaining. */ - public Builder setInputIdBytes(com.google.protobuf.ByteString value) { + public Builder setInputIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputId_ = value; onChanged(); return this; @@ -1197,8 +1056,6 @@ public Builder setInputIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1214,13 +1071,13 @@ public Builder setInputIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 4; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1229,8 +1086,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1246,14 +1101,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1261,8 +1117,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1278,22 +1132,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1309,18 +1161,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1336,23 +1185,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1362,12 +1211,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.CreateInputRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.CreateInputRequest) private static final com.google.cloud.video.livestream.v1.CreateInputRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.CreateInputRequest(); } @@ -1376,16 +1225,16 @@ public static com.google.cloud.video.livestream.v1.CreateInputRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInputRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateInputRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInputRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateInputRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1400,4 +1249,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.CreateInputRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequestOrBuilder.java index 248ff89..669020a 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequestOrBuilder.java @@ -1,103 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface CreateInputRequestOrBuilder - extends +public interface CreateInputRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.CreateInputRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The input resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the input field is set. */ boolean hasInput(); /** - * - * *
    * Required. The input resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The input. */ com.google.cloud.video.livestream.v1.Input getInput(); /** - * - * *
    * Required. The input resource to be created.
    * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder(); /** - * - * *
    * Required. The ID of the input resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -105,13 +64,10 @@ public interface CreateInputRequestOrBuilder
    * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputId. */ java.lang.String getInputId(); /** - * - * *
    * Required. The ID of the input resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -119,14 +75,12 @@ public interface CreateInputRequestOrBuilder
    * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for inputId. */ - com.google.protobuf.ByteString getInputIdBytes(); + com.google.protobuf.ByteString + getInputIdBytes(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -142,13 +96,10 @@ public interface CreateInputRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -164,8 +115,8 @@ public interface CreateInputRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequest.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequest.java similarity index 73% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequest.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequest.java index ee04de4..c20b3a9 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Request message for "LivestreamService.DeleteChannel".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.DeleteChannelRequest} */ -public final class DeleteChannelRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteChannelRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.DeleteChannelRequest) DeleteChannelRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteChannelRequest.newBuilder() to construct. private DeleteChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteChannelRequest() { name_ = ""; requestId_ = ""; @@ -44,15 +26,16 @@ private DeleteChannelRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private DeleteChannelRequest( 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(); - requestId_ = s; - break; - } - case 24: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + case 24: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,42 +85,35 @@ private DeleteChannelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.DeleteChannelRequest.class, - com.google.cloud.video.livestream.v1.DeleteChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.DeleteChannelRequest.class, com.google.cloud.video.livestream.v1.DeleteChannelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -148,32 +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; } } /** - * - * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -184,8 +156,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -201,7 +171,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2; - * * @return The requestId. */ @java.lang.Override @@ -210,15 +179,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -234,15 +202,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -253,8 +222,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int FORCE_FIELD_NUMBER = 3; private boolean force_; /** - * - * *
    * If the `force` field is set to the default value of `false`, you must
    * delete all of a channel's events before you can delete the channel itself.
@@ -263,7 +230,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool force = 3; - * * @return The force. */ @java.lang.Override @@ -272,7 +238,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -284,7 +249,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_); } @@ -310,7 +276,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -320,17 +287,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.DeleteChannelRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.DeleteChannelRequest other = - (com.google.cloud.video.livestream.v1.DeleteChannelRequest) obj; + com.google.cloud.video.livestream.v1.DeleteChannelRequest other = (com.google.cloud.video.livestream.v1.DeleteChannelRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -347,134 +316,125 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.DeleteChannelRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.DeleteChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for "LivestreamService.DeleteChannel".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.DeleteChannelRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.DeleteChannelRequest) com.google.cloud.video.livestream.v1.DeleteChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.DeleteChannelRequest.class, - com.google.cloud.video.livestream.v1.DeleteChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.DeleteChannelRequest.class, com.google.cloud.video.livestream.v1.DeleteChannelRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.DeleteChannelRequest.newBuilder() @@ -482,15 +442,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(); @@ -504,9 +465,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor; } @java.lang.Override @@ -525,8 +486,7 @@ public com.google.cloud.video.livestream.v1.DeleteChannelRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.DeleteChannelRequest buildPartial() { - com.google.cloud.video.livestream.v1.DeleteChannelRequest result = - new com.google.cloud.video.livestream.v1.DeleteChannelRequest(this); + com.google.cloud.video.livestream.v1.DeleteChannelRequest result = new com.google.cloud.video.livestream.v1.DeleteChannelRequest(this); result.name_ = name_; result.requestId_ = requestId_; result.force_ = force_; @@ -538,39 +498,38 @@ public com.google.cloud.video.livestream.v1.DeleteChannelRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.DeleteChannelRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.DeleteChannelRequest) other); + return mergeFrom((com.google.cloud.video.livestream.v1.DeleteChannelRequest)other); } else { super.mergeFrom(other); return this; @@ -578,8 +537,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.DeleteChannelRequest other) { - if (other == com.google.cloud.video.livestream.v1.DeleteChannelRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.DeleteChannelRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -610,8 +568,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.DeleteChannelRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.DeleteChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,23 +580,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -648,24 +601,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -673,70 +623,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -744,8 +681,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -761,13 +696,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -776,8 +711,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -793,14 +726,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -808,8 +742,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -825,22 +757,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -856,18 +786,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -883,25 +810,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * If the `force` field is set to the default value of `false`, you must
      * delete all of a channel's events before you can delete the channel itself.
@@ -910,7 +835,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool force = 3; - * * @return The force. */ @java.lang.Override @@ -918,8 +842,6 @@ public boolean getForce() { return force_; } /** - * - * *
      * If the `force` field is set to the default value of `false`, you must
      * delete all of a channel's events before you can delete the channel itself.
@@ -928,19 +850,16 @@ public boolean getForce() {
      * 
* * bool force = 3; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * If the `force` field is set to the default value of `false`, you must
      * delete all of a channel's events before you can delete the channel itself.
@@ -949,18 +868,17 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 3; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = 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); } @@ -970,12 +888,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.DeleteChannelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.DeleteChannelRequest) private static final com.google.cloud.video.livestream.v1.DeleteChannelRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.DeleteChannelRequest(); } @@ -984,16 +902,16 @@ public static com.google.cloud.video.livestream.v1.DeleteChannelRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1008,4 +926,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.DeleteChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequestOrBuilder.java similarity index 73% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequestOrBuilder.java index 6cb7838..ee09b7e 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface DeleteChannelRequestOrBuilder - extends +public interface DeleteChannelRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.DeleteChannelRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -72,13 +45,10 @@ public interface DeleteChannelRequestOrBuilder
    * 
* * string request_id = 2; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -94,14 +64,12 @@ public interface DeleteChannelRequestOrBuilder
    * 
* * string request_id = 2; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * If the `force` field is set to the default value of `false`, you must
    * delete all of a channel's events before you can delete the channel itself.
@@ -110,7 +78,6 @@ public interface DeleteChannelRequestOrBuilder
    * 
* * bool force = 3; - * * @return The force. */ boolean getForce(); diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequest.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequest.java similarity index 72% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequest.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequest.java index eded430..1f2eb1c 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Request message for "LivestreamService.DeleteEvent".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.DeleteEventRequest} */ -public final class DeleteEventRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteEventRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.DeleteEventRequest) DeleteEventRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteEventRequest.newBuilder() to construct. private DeleteEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteEventRequest() { name_ = ""; requestId_ = ""; @@ -44,15 +26,16 @@ private DeleteEventRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteEventRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private DeleteEventRequest( 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(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,42 +80,35 @@ private DeleteEventRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.DeleteEventRequest.class, - com.google.cloud.video.livestream.v1.DeleteEventRequest.Builder.class); + com.google.cloud.video.livestream.v1.DeleteEventRequest.class, com.google.cloud.video.livestream.v1.DeleteEventRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the event resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -143,32 +117,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the event resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -179,8 +151,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -196,7 +166,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2; - * * @return The requestId. */ @java.lang.Override @@ -205,15 +174,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -229,15 +197,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -246,7 +215,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,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_); } @@ -288,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.video.livestream.v1.DeleteEventRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.DeleteEventRequest other = - (com.google.cloud.video.livestream.v1.DeleteEventRequest) obj; + com.google.cloud.video.livestream.v1.DeleteEventRequest other = (com.google.cloud.video.livestream.v1.DeleteEventRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -319,127 +289,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.DeleteEventRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.DeleteEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for "LivestreamService.DeleteEvent".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.DeleteEventRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.DeleteEventRequest) com.google.cloud.video.livestream.v1.DeleteEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.DeleteEventRequest.class, - com.google.cloud.video.livestream.v1.DeleteEventRequest.Builder.class); + com.google.cloud.video.livestream.v1.DeleteEventRequest.class, com.google.cloud.video.livestream.v1.DeleteEventRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.DeleteEventRequest.newBuilder() @@ -447,15 +407,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(); @@ -467,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor; } @java.lang.Override @@ -488,8 +449,7 @@ public com.google.cloud.video.livestream.v1.DeleteEventRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.DeleteEventRequest buildPartial() { - com.google.cloud.video.livestream.v1.DeleteEventRequest result = - new com.google.cloud.video.livestream.v1.DeleteEventRequest(this); + com.google.cloud.video.livestream.v1.DeleteEventRequest result = new com.google.cloud.video.livestream.v1.DeleteEventRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -500,39 +460,38 @@ public com.google.cloud.video.livestream.v1.DeleteEventRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.DeleteEventRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.DeleteEventRequest) other); + return mergeFrom((com.google.cloud.video.livestream.v1.DeleteEventRequest)other); } else { super.mergeFrom(other); return this; @@ -540,8 +499,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.DeleteEventRequest other) { - if (other == com.google.cloud.video.livestream.v1.DeleteEventRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.DeleteEventRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -569,8 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.DeleteEventRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.DeleteEventRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -582,23 +539,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -607,24 +560,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -632,70 +582,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -703,8 +640,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -720,13 +655,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -735,8 +670,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -752,14 +685,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -767,8 +701,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -784,22 +716,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -815,18 +745,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -842,23 +769,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -868,12 +795,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.DeleteEventRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.DeleteEventRequest) private static final com.google.cloud.video.livestream.v1.DeleteEventRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.DeleteEventRequest(); } @@ -882,16 +809,16 @@ public static com.google.cloud.video.livestream.v1.DeleteEventRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteEventRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEventRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteEventRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -906,4 +833,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.DeleteEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequestOrBuilder.java index 0336781..cb3955c 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface DeleteEventRequestOrBuilder - extends +public interface DeleteEventRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.DeleteEventRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the event resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the event resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -72,13 +45,10 @@ public interface DeleteEventRequestOrBuilder
    * 
* * string request_id = 2; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -94,8 +64,8 @@ public interface DeleteEventRequestOrBuilder
    * 
* * string request_id = 2; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequest.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequest.java similarity index 72% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequest.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequest.java index 18dda42..cdac561 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Request message for "LivestreamService.DeleteInput".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.DeleteInputRequest} */ -public final class DeleteInputRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteInputRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.DeleteInputRequest) DeleteInputRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteInputRequest.newBuilder() to construct. private DeleteInputRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteInputRequest() { name_ = ""; requestId_ = ""; @@ -44,15 +26,16 @@ private DeleteInputRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteInputRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteInputRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private DeleteInputRequest( 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(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,42 +80,35 @@ private DeleteInputRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.DeleteInputRequest.class, - com.google.cloud.video.livestream.v1.DeleteInputRequest.Builder.class); + com.google.cloud.video.livestream.v1.DeleteInputRequest.class, com.google.cloud.video.livestream.v1.DeleteInputRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the input resource, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -143,32 +117,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the input resource, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -179,8 +151,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -196,7 +166,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2; - * * @return The requestId. */ @java.lang.Override @@ -205,15 +174,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -229,15 +197,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -246,7 +215,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,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_); } @@ -288,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.video.livestream.v1.DeleteInputRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.DeleteInputRequest other = - (com.google.cloud.video.livestream.v1.DeleteInputRequest) obj; + com.google.cloud.video.livestream.v1.DeleteInputRequest other = (com.google.cloud.video.livestream.v1.DeleteInputRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -319,127 +289,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.DeleteInputRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.DeleteInputRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for "LivestreamService.DeleteInput".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.DeleteInputRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.DeleteInputRequest) com.google.cloud.video.livestream.v1.DeleteInputRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.DeleteInputRequest.class, - com.google.cloud.video.livestream.v1.DeleteInputRequest.Builder.class); + com.google.cloud.video.livestream.v1.DeleteInputRequest.class, com.google.cloud.video.livestream.v1.DeleteInputRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.DeleteInputRequest.newBuilder() @@ -447,15 +407,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(); @@ -467,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor; } @java.lang.Override @@ -488,8 +449,7 @@ public com.google.cloud.video.livestream.v1.DeleteInputRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.DeleteInputRequest buildPartial() { - com.google.cloud.video.livestream.v1.DeleteInputRequest result = - new com.google.cloud.video.livestream.v1.DeleteInputRequest(this); + com.google.cloud.video.livestream.v1.DeleteInputRequest result = new com.google.cloud.video.livestream.v1.DeleteInputRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -500,39 +460,38 @@ public com.google.cloud.video.livestream.v1.DeleteInputRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.DeleteInputRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.DeleteInputRequest) other); + return mergeFrom((com.google.cloud.video.livestream.v1.DeleteInputRequest)other); } else { super.mergeFrom(other); return this; @@ -540,8 +499,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.DeleteInputRequest other) { - if (other == com.google.cloud.video.livestream.v1.DeleteInputRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.DeleteInputRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -569,8 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.DeleteInputRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.DeleteInputRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -582,23 +539,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -607,24 +560,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -632,70 +582,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -703,8 +640,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -720,13 +655,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -735,8 +670,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -752,14 +685,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -767,8 +701,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -784,22 +716,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -815,18 +745,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -842,23 +769,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -868,12 +795,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.DeleteInputRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.DeleteInputRequest) private static final com.google.cloud.video.livestream.v1.DeleteInputRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.DeleteInputRequest(); } @@ -882,16 +809,16 @@ public static com.google.cloud.video.livestream.v1.DeleteInputRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInputRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteInputRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInputRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteInputRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -906,4 +833,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.DeleteInputRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequestOrBuilder.java index 920e65b..c3a4b90 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface DeleteInputRequestOrBuilder - extends +public interface DeleteInputRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.DeleteInputRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the input resource, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the input resource, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -72,13 +45,10 @@ public interface DeleteInputRequestOrBuilder
    * 
* * string request_id = 2; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -94,8 +64,8 @@ public interface DeleteInputRequestOrBuilder
    * 
* * string request_id = 2; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStream.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStream.java similarity index 71% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStream.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStream.java index e404b85..08a7b84 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStream.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStream.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Encoding of an input element such as an audio, video, or text track.
  * Elementary streams must be packaged before mapping and sharing between
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.video.livestream.v1.ElementaryStream}
  */
-public final class ElementaryStream extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ElementaryStream extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.ElementaryStream)
     ElementaryStreamOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ElementaryStream.newBuilder() to construct.
   private ElementaryStream(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ElementaryStream() {
     key_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ElementaryStream();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ElementaryStream(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,77 +55,61 @@ private ElementaryStream(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.video.livestream.v1.VideoStream.Builder subBuilder = null;
-              if (elementaryStreamCase_ == 1) {
-                subBuilder =
-                    ((com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_)
-                        .toBuilder();
-              }
-              elementaryStream_ =
-                  input.readMessage(
-                      com.google.cloud.video.livestream.v1.VideoStream.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_);
-                elementaryStream_ = subBuilder.buildPartial();
-              }
-              elementaryStreamCase_ = 1;
-              break;
+          case 10: {
+            com.google.cloud.video.livestream.v1.VideoStream.Builder subBuilder = null;
+            if (elementaryStreamCase_ == 1) {
+              subBuilder = ((com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_).toBuilder();
+            }
+            elementaryStream_ =
+                input.readMessage(com.google.cloud.video.livestream.v1.VideoStream.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_);
+              elementaryStream_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.cloud.video.livestream.v1.AudioStream.Builder subBuilder = null;
-              if (elementaryStreamCase_ == 2) {
-                subBuilder =
-                    ((com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_)
-                        .toBuilder();
-              }
-              elementaryStream_ =
-                  input.readMessage(
-                      com.google.cloud.video.livestream.v1.AudioStream.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_);
-                elementaryStream_ = subBuilder.buildPartial();
-              }
-              elementaryStreamCase_ = 2;
-              break;
+            elementaryStreamCase_ = 1;
+            break;
+          }
+          case 18: {
+            com.google.cloud.video.livestream.v1.AudioStream.Builder subBuilder = null;
+            if (elementaryStreamCase_ == 2) {
+              subBuilder = ((com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_).toBuilder();
             }
-          case 26:
-            {
-              com.google.cloud.video.livestream.v1.TextStream.Builder subBuilder = null;
-              if (elementaryStreamCase_ == 3) {
-                subBuilder =
-                    ((com.google.cloud.video.livestream.v1.TextStream) elementaryStream_)
-                        .toBuilder();
-              }
-              elementaryStream_ =
-                  input.readMessage(
-                      com.google.cloud.video.livestream.v1.TextStream.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_);
-                elementaryStream_ = subBuilder.buildPartial();
-              }
-              elementaryStreamCase_ = 3;
-              break;
+            elementaryStream_ =
+                input.readMessage(com.google.cloud.video.livestream.v1.AudioStream.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_);
+              elementaryStream_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              key_ = s;
-              break;
+            elementaryStreamCase_ = 2;
+            break;
+          }
+          case 26: {
+            com.google.cloud.video.livestream.v1.TextStream.Builder subBuilder = null;
+            if (elementaryStreamCase_ == 3) {
+              subBuilder = ((com.google.cloud.video.livestream.v1.TextStream) elementaryStream_).toBuilder();
+            }
+            elementaryStream_ =
+                input.readMessage(com.google.cloud.video.livestream.v1.TextStream.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.video.livestream.v1.TextStream) elementaryStream_);
+              elementaryStream_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            elementaryStreamCase_ = 3;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            key_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -150,41 +117,36 @@ private ElementaryStream(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.video.livestream.v1.OutputsProto
-        .internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.video.livestream.v1.OutputsProto
-        .internal_static_google_cloud_video_livestream_v1_ElementaryStream_fieldAccessorTable
+    return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_ElementaryStream_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.video.livestream.v1.ElementaryStream.class,
-            com.google.cloud.video.livestream.v1.ElementaryStream.Builder.class);
+            com.google.cloud.video.livestream.v1.ElementaryStream.class, com.google.cloud.video.livestream.v1.ElementaryStream.Builder.class);
   }
 
   private int elementaryStreamCase_ = 0;
   private java.lang.Object elementaryStream_;
-
   public enum ElementaryStreamCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     VIDEO_STREAM(1),
     AUDIO_STREAM(2),
     TEXT_STREAM(3),
     ELEMENTARYSTREAM_NOT_SET(0);
     private final int value;
-
     private ElementaryStreamCase(int value) {
       this.value = value;
     }
@@ -200,39 +162,32 @@ public static ElementaryStreamCase valueOf(int value) {
 
     public static ElementaryStreamCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return VIDEO_STREAM;
-        case 2:
-          return AUDIO_STREAM;
-        case 3:
-          return TEXT_STREAM;
-        case 0:
-          return ELEMENTARYSTREAM_NOT_SET;
-        default:
-          return null;
+        case 1: return VIDEO_STREAM;
+        case 2: return AUDIO_STREAM;
+        case 3: return TEXT_STREAM;
+        case 0: return ELEMENTARYSTREAM_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ElementaryStreamCase getElementaryStreamCase() {
-    return ElementaryStreamCase.forNumber(elementaryStreamCase_);
+  public ElementaryStreamCase
+  getElementaryStreamCase() {
+    return ElementaryStreamCase.forNumber(
+        elementaryStreamCase_);
   }
 
   public static final int KEY_FIELD_NUMBER = 4;
   private volatile java.lang.Object key_;
   /**
-   *
-   *
    * 
    * A unique key for this elementary stream.
    * 
* * string key = 4; - * * @return The key. */ @java.lang.Override @@ -241,29 +196,29 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** - * - * *
    * A unique key for this elementary stream.
    * 
* * string key = 4; - * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -273,14 +228,11 @@ public com.google.protobuf.ByteString getKeyBytes() { public static final int VIDEO_STREAM_FIELD_NUMBER = 1; /** - * - * *
    * Encoding of a video stream.
    * 
* * .google.cloud.video.livestream.v1.VideoStream video_stream = 1; - * * @return Whether the videoStream field is set. */ @java.lang.Override @@ -288,26 +240,21 @@ public boolean hasVideoStream() { return elementaryStreamCase_ == 1; } /** - * - * *
    * Encoding of a video stream.
    * 
* * .google.cloud.video.livestream.v1.VideoStream video_stream = 1; - * * @return The videoStream. */ @java.lang.Override public com.google.cloud.video.livestream.v1.VideoStream getVideoStream() { if (elementaryStreamCase_ == 1) { - return (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_; + return (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_; } return com.google.cloud.video.livestream.v1.VideoStream.getDefaultInstance(); } /** - * - * *
    * Encoding of a video stream.
    * 
@@ -317,21 +264,18 @@ public com.google.cloud.video.livestream.v1.VideoStream getVideoStream() { @java.lang.Override public com.google.cloud.video.livestream.v1.VideoStreamOrBuilder getVideoStreamOrBuilder() { if (elementaryStreamCase_ == 1) { - return (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_; + return (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_; } return com.google.cloud.video.livestream.v1.VideoStream.getDefaultInstance(); } public static final int AUDIO_STREAM_FIELD_NUMBER = 2; /** - * - * *
    * Encoding of an audio stream.
    * 
* * .google.cloud.video.livestream.v1.AudioStream audio_stream = 2; - * * @return Whether the audioStream field is set. */ @java.lang.Override @@ -339,26 +283,21 @@ public boolean hasAudioStream() { return elementaryStreamCase_ == 2; } /** - * - * *
    * Encoding of an audio stream.
    * 
* * .google.cloud.video.livestream.v1.AudioStream audio_stream = 2; - * * @return The audioStream. */ @java.lang.Override public com.google.cloud.video.livestream.v1.AudioStream getAudioStream() { if (elementaryStreamCase_ == 2) { - return (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_; + return (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_; } return com.google.cloud.video.livestream.v1.AudioStream.getDefaultInstance(); } /** - * - * *
    * Encoding of an audio stream.
    * 
@@ -368,21 +307,18 @@ public com.google.cloud.video.livestream.v1.AudioStream getAudioStream() { @java.lang.Override public com.google.cloud.video.livestream.v1.AudioStreamOrBuilder getAudioStreamOrBuilder() { if (elementaryStreamCase_ == 2) { - return (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_; + return (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_; } return com.google.cloud.video.livestream.v1.AudioStream.getDefaultInstance(); } public static final int TEXT_STREAM_FIELD_NUMBER = 3; /** - * - * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
* * .google.cloud.video.livestream.v1.TextStream text_stream = 3; - * * @return Whether the textStream field is set. */ @java.lang.Override @@ -390,26 +326,21 @@ public boolean hasTextStream() { return elementaryStreamCase_ == 3; } /** - * - * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
* * .google.cloud.video.livestream.v1.TextStream text_stream = 3; - * * @return The textStream. */ @java.lang.Override public com.google.cloud.video.livestream.v1.TextStream getTextStream() { if (elementaryStreamCase_ == 3) { - return (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_; + return (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_; } return com.google.cloud.video.livestream.v1.TextStream.getDefaultInstance(); } /** - * - * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
@@ -419,13 +350,12 @@ public com.google.cloud.video.livestream.v1.TextStream getTextStream() { @java.lang.Override public com.google.cloud.video.livestream.v1.TextStreamOrBuilder getTextStreamOrBuilder() { if (elementaryStreamCase_ == 3) { - return (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_; + return (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_; } return com.google.cloud.video.livestream.v1.TextStream.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -437,7 +367,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (elementaryStreamCase_ == 1) { output.writeMessage(1, (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_); } @@ -460,19 +391,16 @@ public int getSerializedSize() { size = 0; if (elementaryStreamCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_); } if (elementaryStreamCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_); } if (elementaryStreamCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, key_); @@ -485,25 +413,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.ElementaryStream)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.ElementaryStream other = - (com.google.cloud.video.livestream.v1.ElementaryStream) obj; + com.google.cloud.video.livestream.v1.ElementaryStream other = (com.google.cloud.video.livestream.v1.ElementaryStream) obj; - if (!getKey().equals(other.getKey())) return false; + if (!getKey() + .equals(other.getKey())) return false; if (!getElementaryStreamCase().equals(other.getElementaryStreamCase())) return false; switch (elementaryStreamCase_) { case 1: - if (!getVideoStream().equals(other.getVideoStream())) return false; + if (!getVideoStream() + .equals(other.getVideoStream())) return false; break; case 2: - if (!getAudioStream().equals(other.getAudioStream())) return false; + if (!getAudioStream() + .equals(other.getAudioStream())) return false; break; case 3: - if (!getTextStream().equals(other.getTextStream())) return false; + if (!getTextStream() + .equals(other.getTextStream())) return false; break; case 0: default: @@ -543,104 +474,96 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.ElementaryStream parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.ElementaryStream parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ElementaryStream parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.ElementaryStream prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.ElementaryStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Encoding of an input element such as an audio, video, or text track.
    * Elementary streams must be packaged before mapping and sharing between
@@ -649,23 +572,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.video.livestream.v1.ElementaryStream}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.ElementaryStream)
       com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.video.livestream.v1.OutputsProto
-          .internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.livestream.v1.OutputsProto
-          .internal_static_google_cloud_video_livestream_v1_ElementaryStream_fieldAccessorTable
+      return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_ElementaryStream_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.livestream.v1.ElementaryStream.class,
-              com.google.cloud.video.livestream.v1.ElementaryStream.Builder.class);
+              com.google.cloud.video.livestream.v1.ElementaryStream.class, com.google.cloud.video.livestream.v1.ElementaryStream.Builder.class);
     }
 
     // Construct using com.google.cloud.video.livestream.v1.ElementaryStream.newBuilder()
@@ -673,15 +594,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -693,9 +615,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.video.livestream.v1.OutputsProto
-          .internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor;
     }
 
     @java.lang.Override
@@ -714,8 +636,7 @@ public com.google.cloud.video.livestream.v1.ElementaryStream build() {
 
     @java.lang.Override
     public com.google.cloud.video.livestream.v1.ElementaryStream buildPartial() {
-      com.google.cloud.video.livestream.v1.ElementaryStream result =
-          new com.google.cloud.video.livestream.v1.ElementaryStream(this);
+      com.google.cloud.video.livestream.v1.ElementaryStream result = new com.google.cloud.video.livestream.v1.ElementaryStream(this);
       result.key_ = key_;
       if (elementaryStreamCase_ == 1) {
         if (videoStreamBuilder_ == null) {
@@ -747,39 +668,38 @@ public com.google.cloud.video.livestream.v1.ElementaryStream buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.video.livestream.v1.ElementaryStream) {
-        return mergeFrom((com.google.cloud.video.livestream.v1.ElementaryStream) other);
+        return mergeFrom((com.google.cloud.video.livestream.v1.ElementaryStream)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -787,32 +707,27 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.video.livestream.v1.ElementaryStream other) {
-      if (other == com.google.cloud.video.livestream.v1.ElementaryStream.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.video.livestream.v1.ElementaryStream.getDefaultInstance()) return this;
       if (!other.getKey().isEmpty()) {
         key_ = other.key_;
         onChanged();
       }
       switch (other.getElementaryStreamCase()) {
-        case VIDEO_STREAM:
-          {
-            mergeVideoStream(other.getVideoStream());
-            break;
-          }
-        case AUDIO_STREAM:
-          {
-            mergeAudioStream(other.getAudioStream());
-            break;
-          }
-        case TEXT_STREAM:
-          {
-            mergeTextStream(other.getTextStream());
-            break;
-          }
-        case ELEMENTARYSTREAM_NOT_SET:
-          {
-            break;
-          }
+        case VIDEO_STREAM: {
+          mergeVideoStream(other.getVideoStream());
+          break;
+        }
+        case AUDIO_STREAM: {
+          mergeAudioStream(other.getAudioStream());
+          break;
+        }
+        case TEXT_STREAM: {
+          mergeTextStream(other.getTextStream());
+          break;
+        }
+        case ELEMENTARYSTREAM_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -833,8 +748,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.video.livestream.v1.ElementaryStream) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.video.livestream.v1.ElementaryStream) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -843,12 +757,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int elementaryStreamCase_ = 0;
     private java.lang.Object elementaryStream_;
-
-    public ElementaryStreamCase getElementaryStreamCase() {
-      return ElementaryStreamCase.forNumber(elementaryStreamCase_);
+    public ElementaryStreamCase
+        getElementaryStreamCase() {
+      return ElementaryStreamCase.forNumber(
+          elementaryStreamCase_);
     }
 
     public Builder clearElementaryStream() {
@@ -858,22 +772,21 @@ public Builder clearElementaryStream() {
       return this;
     }
 
+
     private java.lang.Object key_ = "";
     /**
-     *
-     *
      * 
      * A unique key for this elementary stream.
      * 
* * string key = 4; - * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -882,21 +795,20 @@ public java.lang.String getKey() { } } /** - * - * *
      * A unique key for this elementary stream.
      * 
* * string key = 4; - * * @return The bytes for key. */ - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -904,80 +816,67 @@ public com.google.protobuf.ByteString getKeyBytes() { } } /** - * - * *
      * A unique key for this elementary stream.
      * 
* * string key = 4; - * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey(java.lang.String value) { + public Builder setKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** - * - * *
      * A unique key for this elementary stream.
      * 
* * string key = 4; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** - * - * *
      * A unique key for this elementary stream.
      * 
* * string key = 4; - * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoStream, - com.google.cloud.video.livestream.v1.VideoStream.Builder, - com.google.cloud.video.livestream.v1.VideoStreamOrBuilder> - videoStreamBuilder_; + com.google.cloud.video.livestream.v1.VideoStream, com.google.cloud.video.livestream.v1.VideoStream.Builder, com.google.cloud.video.livestream.v1.VideoStreamOrBuilder> videoStreamBuilder_; /** - * - * *
      * Encoding of a video stream.
      * 
* * .google.cloud.video.livestream.v1.VideoStream video_stream = 1; - * * @return Whether the videoStream field is set. */ @java.lang.Override @@ -985,14 +884,11 @@ public boolean hasVideoStream() { return elementaryStreamCase_ == 1; } /** - * - * *
      * Encoding of a video stream.
      * 
* * .google.cloud.video.livestream.v1.VideoStream video_stream = 1; - * * @return The videoStream. */ @java.lang.Override @@ -1010,8 +906,6 @@ public com.google.cloud.video.livestream.v1.VideoStream getVideoStream() { } } /** - * - * *
      * Encoding of a video stream.
      * 
@@ -1032,8 +926,6 @@ public Builder setVideoStream(com.google.cloud.video.livestream.v1.VideoStream v return this; } /** - * - * *
      * Encoding of a video stream.
      * 
@@ -1052,8 +944,6 @@ public Builder setVideoStream( return this; } /** - * - * *
      * Encoding of a video stream.
      * 
@@ -1062,14 +952,10 @@ public Builder setVideoStream( */ public Builder mergeVideoStream(com.google.cloud.video.livestream.v1.VideoStream value) { if (videoStreamBuilder_ == null) { - if (elementaryStreamCase_ == 1 - && elementaryStream_ - != com.google.cloud.video.livestream.v1.VideoStream.getDefaultInstance()) { - elementaryStream_ = - com.google.cloud.video.livestream.v1.VideoStream.newBuilder( - (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_) - .mergeFrom(value) - .buildPartial(); + if (elementaryStreamCase_ == 1 && + elementaryStream_ != com.google.cloud.video.livestream.v1.VideoStream.getDefaultInstance()) { + elementaryStream_ = com.google.cloud.video.livestream.v1.VideoStream.newBuilder((com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_) + .mergeFrom(value).buildPartial(); } else { elementaryStream_ = value; } @@ -1085,8 +971,6 @@ public Builder mergeVideoStream(com.google.cloud.video.livestream.v1.VideoStream return this; } /** - * - * *
      * Encoding of a video stream.
      * 
@@ -1110,8 +994,6 @@ public Builder clearVideoStream() { return this; } /** - * - * *
      * Encoding of a video stream.
      * 
@@ -1122,8 +1004,6 @@ public com.google.cloud.video.livestream.v1.VideoStream.Builder getVideoStreamBu return getVideoStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Encoding of a video stream.
      * 
@@ -1142,8 +1022,6 @@ public com.google.cloud.video.livestream.v1.VideoStreamOrBuilder getVideoStreamO } } /** - * - * *
      * Encoding of a video stream.
      * 
@@ -1151,44 +1029,32 @@ public com.google.cloud.video.livestream.v1.VideoStreamOrBuilder getVideoStreamO * .google.cloud.video.livestream.v1.VideoStream video_stream = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoStream, - com.google.cloud.video.livestream.v1.VideoStream.Builder, - com.google.cloud.video.livestream.v1.VideoStreamOrBuilder> + com.google.cloud.video.livestream.v1.VideoStream, com.google.cloud.video.livestream.v1.VideoStream.Builder, com.google.cloud.video.livestream.v1.VideoStreamOrBuilder> getVideoStreamFieldBuilder() { if (videoStreamBuilder_ == null) { if (!(elementaryStreamCase_ == 1)) { elementaryStream_ = com.google.cloud.video.livestream.v1.VideoStream.getDefaultInstance(); } - videoStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoStream, - com.google.cloud.video.livestream.v1.VideoStream.Builder, - com.google.cloud.video.livestream.v1.VideoStreamOrBuilder>( + videoStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.VideoStream, com.google.cloud.video.livestream.v1.VideoStream.Builder, com.google.cloud.video.livestream.v1.VideoStreamOrBuilder>( (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_, getParentForChildren(), isClean()); elementaryStream_ = null; } elementaryStreamCase_ = 1; - onChanged(); - ; + onChanged();; return videoStreamBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStream, - com.google.cloud.video.livestream.v1.AudioStream.Builder, - com.google.cloud.video.livestream.v1.AudioStreamOrBuilder> - audioStreamBuilder_; + com.google.cloud.video.livestream.v1.AudioStream, com.google.cloud.video.livestream.v1.AudioStream.Builder, com.google.cloud.video.livestream.v1.AudioStreamOrBuilder> audioStreamBuilder_; /** - * - * *
      * Encoding of an audio stream.
      * 
* * .google.cloud.video.livestream.v1.AudioStream audio_stream = 2; - * * @return Whether the audioStream field is set. */ @java.lang.Override @@ -1196,14 +1062,11 @@ public boolean hasAudioStream() { return elementaryStreamCase_ == 2; } /** - * - * *
      * Encoding of an audio stream.
      * 
* * .google.cloud.video.livestream.v1.AudioStream audio_stream = 2; - * * @return The audioStream. */ @java.lang.Override @@ -1221,8 +1084,6 @@ public com.google.cloud.video.livestream.v1.AudioStream getAudioStream() { } } /** - * - * *
      * Encoding of an audio stream.
      * 
@@ -1243,8 +1104,6 @@ public Builder setAudioStream(com.google.cloud.video.livestream.v1.AudioStream v return this; } /** - * - * *
      * Encoding of an audio stream.
      * 
@@ -1263,8 +1122,6 @@ public Builder setAudioStream( return this; } /** - * - * *
      * Encoding of an audio stream.
      * 
@@ -1273,14 +1130,10 @@ public Builder setAudioStream( */ public Builder mergeAudioStream(com.google.cloud.video.livestream.v1.AudioStream value) { if (audioStreamBuilder_ == null) { - if (elementaryStreamCase_ == 2 - && elementaryStream_ - != com.google.cloud.video.livestream.v1.AudioStream.getDefaultInstance()) { - elementaryStream_ = - com.google.cloud.video.livestream.v1.AudioStream.newBuilder( - (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_) - .mergeFrom(value) - .buildPartial(); + if (elementaryStreamCase_ == 2 && + elementaryStream_ != com.google.cloud.video.livestream.v1.AudioStream.getDefaultInstance()) { + elementaryStream_ = com.google.cloud.video.livestream.v1.AudioStream.newBuilder((com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_) + .mergeFrom(value).buildPartial(); } else { elementaryStream_ = value; } @@ -1296,8 +1149,6 @@ public Builder mergeAudioStream(com.google.cloud.video.livestream.v1.AudioStream return this; } /** - * - * *
      * Encoding of an audio stream.
      * 
@@ -1321,8 +1172,6 @@ public Builder clearAudioStream() { return this; } /** - * - * *
      * Encoding of an audio stream.
      * 
@@ -1333,8 +1182,6 @@ public com.google.cloud.video.livestream.v1.AudioStream.Builder getAudioStreamBu return getAudioStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Encoding of an audio stream.
      * 
@@ -1353,8 +1200,6 @@ public com.google.cloud.video.livestream.v1.AudioStreamOrBuilder getAudioStreamO } } /** - * - * *
      * Encoding of an audio stream.
      * 
@@ -1362,44 +1207,32 @@ public com.google.cloud.video.livestream.v1.AudioStreamOrBuilder getAudioStreamO * .google.cloud.video.livestream.v1.AudioStream audio_stream = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStream, - com.google.cloud.video.livestream.v1.AudioStream.Builder, - com.google.cloud.video.livestream.v1.AudioStreamOrBuilder> + com.google.cloud.video.livestream.v1.AudioStream, com.google.cloud.video.livestream.v1.AudioStream.Builder, com.google.cloud.video.livestream.v1.AudioStreamOrBuilder> getAudioStreamFieldBuilder() { if (audioStreamBuilder_ == null) { if (!(elementaryStreamCase_ == 2)) { elementaryStream_ = com.google.cloud.video.livestream.v1.AudioStream.getDefaultInstance(); } - audioStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStream, - com.google.cloud.video.livestream.v1.AudioStream.Builder, - com.google.cloud.video.livestream.v1.AudioStreamOrBuilder>( + audioStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.AudioStream, com.google.cloud.video.livestream.v1.AudioStream.Builder, com.google.cloud.video.livestream.v1.AudioStreamOrBuilder>( (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_, getParentForChildren(), isClean()); elementaryStream_ = null; } elementaryStreamCase_ = 2; - onChanged(); - ; + onChanged();; return audioStreamBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.TextStream, - com.google.cloud.video.livestream.v1.TextStream.Builder, - com.google.cloud.video.livestream.v1.TextStreamOrBuilder> - textStreamBuilder_; + com.google.cloud.video.livestream.v1.TextStream, com.google.cloud.video.livestream.v1.TextStream.Builder, com.google.cloud.video.livestream.v1.TextStreamOrBuilder> textStreamBuilder_; /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
* * .google.cloud.video.livestream.v1.TextStream text_stream = 3; - * * @return Whether the textStream field is set. */ @java.lang.Override @@ -1407,14 +1240,11 @@ public boolean hasTextStream() { return elementaryStreamCase_ == 3; } /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
* * .google.cloud.video.livestream.v1.TextStream text_stream = 3; - * * @return The textStream. */ @java.lang.Override @@ -1432,8 +1262,6 @@ public com.google.cloud.video.livestream.v1.TextStream getTextStream() { } } /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1454,8 +1282,6 @@ public Builder setTextStream(com.google.cloud.video.livestream.v1.TextStream val return this; } /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1474,8 +1300,6 @@ public Builder setTextStream( return this; } /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1484,14 +1308,10 @@ public Builder setTextStream( */ public Builder mergeTextStream(com.google.cloud.video.livestream.v1.TextStream value) { if (textStreamBuilder_ == null) { - if (elementaryStreamCase_ == 3 - && elementaryStream_ - != com.google.cloud.video.livestream.v1.TextStream.getDefaultInstance()) { - elementaryStream_ = - com.google.cloud.video.livestream.v1.TextStream.newBuilder( - (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_) - .mergeFrom(value) - .buildPartial(); + if (elementaryStreamCase_ == 3 && + elementaryStream_ != com.google.cloud.video.livestream.v1.TextStream.getDefaultInstance()) { + elementaryStream_ = com.google.cloud.video.livestream.v1.TextStream.newBuilder((com.google.cloud.video.livestream.v1.TextStream) elementaryStream_) + .mergeFrom(value).buildPartial(); } else { elementaryStream_ = value; } @@ -1507,8 +1327,6 @@ public Builder mergeTextStream(com.google.cloud.video.livestream.v1.TextStream v return this; } /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1532,8 +1350,6 @@ public Builder clearTextStream() { return this; } /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1544,8 +1360,6 @@ public com.google.cloud.video.livestream.v1.TextStream.Builder getTextStreamBuil return getTextStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1564,8 +1378,6 @@ public com.google.cloud.video.livestream.v1.TextStreamOrBuilder getTextStreamOrB } } /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1573,32 +1385,26 @@ public com.google.cloud.video.livestream.v1.TextStreamOrBuilder getTextStreamOrB * .google.cloud.video.livestream.v1.TextStream text_stream = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.TextStream, - com.google.cloud.video.livestream.v1.TextStream.Builder, - com.google.cloud.video.livestream.v1.TextStreamOrBuilder> + com.google.cloud.video.livestream.v1.TextStream, com.google.cloud.video.livestream.v1.TextStream.Builder, com.google.cloud.video.livestream.v1.TextStreamOrBuilder> getTextStreamFieldBuilder() { if (textStreamBuilder_ == null) { if (!(elementaryStreamCase_ == 3)) { elementaryStream_ = com.google.cloud.video.livestream.v1.TextStream.getDefaultInstance(); } - textStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.TextStream, - com.google.cloud.video.livestream.v1.TextStream.Builder, - com.google.cloud.video.livestream.v1.TextStreamOrBuilder>( + textStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.TextStream, com.google.cloud.video.livestream.v1.TextStream.Builder, com.google.cloud.video.livestream.v1.TextStreamOrBuilder>( (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_, getParentForChildren(), isClean()); elementaryStream_ = null; } elementaryStreamCase_ = 3; - onChanged(); - ; + onChanged();; return textStreamBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1608,12 +1414,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.ElementaryStream) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.ElementaryStream) private static final com.google.cloud.video.livestream.v1.ElementaryStream DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.ElementaryStream(); } @@ -1622,16 +1428,16 @@ public static com.google.cloud.video.livestream.v1.ElementaryStream getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ElementaryStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ElementaryStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ElementaryStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ElementaryStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1646,4 +1452,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.ElementaryStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStreamOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStreamOrBuilder.java similarity index 76% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStreamOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStreamOrBuilder.java index 3b2625f..482f500 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStreamOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStreamOrBuilder.java @@ -1,80 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; -public interface ElementaryStreamOrBuilder - extends +public interface ElementaryStreamOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ElementaryStream) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A unique key for this elementary stream.
    * 
* * string key = 4; - * * @return The key. */ java.lang.String getKey(); /** - * - * *
    * A unique key for this elementary stream.
    * 
* * string key = 4; - * * @return The bytes for key. */ - com.google.protobuf.ByteString getKeyBytes(); + com.google.protobuf.ByteString + getKeyBytes(); /** - * - * *
    * Encoding of a video stream.
    * 
* * .google.cloud.video.livestream.v1.VideoStream video_stream = 1; - * * @return Whether the videoStream field is set. */ boolean hasVideoStream(); /** - * - * *
    * Encoding of a video stream.
    * 
* * .google.cloud.video.livestream.v1.VideoStream video_stream = 1; - * * @return The videoStream. */ com.google.cloud.video.livestream.v1.VideoStream getVideoStream(); /** - * - * *
    * Encoding of a video stream.
    * 
@@ -84,32 +55,24 @@ public interface ElementaryStreamOrBuilder com.google.cloud.video.livestream.v1.VideoStreamOrBuilder getVideoStreamOrBuilder(); /** - * - * *
    * Encoding of an audio stream.
    * 
* * .google.cloud.video.livestream.v1.AudioStream audio_stream = 2; - * * @return Whether the audioStream field is set. */ boolean hasAudioStream(); /** - * - * *
    * Encoding of an audio stream.
    * 
* * .google.cloud.video.livestream.v1.AudioStream audio_stream = 2; - * * @return The audioStream. */ com.google.cloud.video.livestream.v1.AudioStream getAudioStream(); /** - * - * *
    * Encoding of an audio stream.
    * 
@@ -119,32 +82,24 @@ public interface ElementaryStreamOrBuilder com.google.cloud.video.livestream.v1.AudioStreamOrBuilder getAudioStreamOrBuilder(); /** - * - * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
* * .google.cloud.video.livestream.v1.TextStream text_stream = 3; - * * @return Whether the textStream field is set. */ boolean hasTextStream(); /** - * - * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
* * .google.cloud.video.livestream.v1.TextStream text_stream = 3; - * * @return The textStream. */ com.google.cloud.video.livestream.v1.TextStream getTextStream(); /** - * - * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
@@ -153,6 +108,5 @@ public interface ElementaryStreamOrBuilder */ com.google.cloud.video.livestream.v1.TextStreamOrBuilder getTextStreamOrBuilder(); - public com.google.cloud.video.livestream.v1.ElementaryStream.ElementaryStreamCase - getElementaryStreamCase(); + public com.google.cloud.video.livestream.v1.ElementaryStream.ElementaryStreamCase getElementaryStreamCase(); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Event.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Event.java similarity index 69% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Event.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Event.java index cc69058..70bbfd3 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Event.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Event.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Event is a sub-resource of a channel, which can be scheduled by the user to
  * execute operations on a channel resource without having to stop the channel.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.video.livestream.v1.Event}
  */
-public final class Event extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Event extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.Event)
     EventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Event.newBuilder() to construct.
   private Event(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Event() {
     name_ = "";
     state_ = 0;
@@ -45,15 +27,16 @@ private Event() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Event();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Event(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,123 +56,109 @@ private Event(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              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;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder subBuilder = null;
-              if (taskCase_ == 6) {
-                subBuilder =
-                    ((com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_).toBuilder();
-              }
-              task_ =
-                  input.readMessage(
-                      com.google.cloud.video.livestream.v1.Event.AdBreakTask.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_);
-                task_ = subBuilder.buildPartial();
-              }
-              taskCase_ = 6;
-              break;
+
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 72:
-            {
-              executeNow_ = input.readBool();
-              break;
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 50: {
+            com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder subBuilder = null;
+            if (taskCase_ == 6) {
+              subBuilder = ((com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_).toBuilder();
             }
-          case 82:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (executionTime_ != null) {
-                subBuilder = executionTime_.toBuilder();
-              }
-              executionTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(executionTime_);
-                executionTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            task_ =
+                input.readMessage(com.google.cloud.video.livestream.v1.Event.AdBreakTask.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_);
+              task_ = subBuilder.buildPartial();
             }
-          case 88:
-            {
-              int rawValue = input.readEnum();
+            taskCase_ = 6;
+            break;
+          }
+          case 72: {
 
-              state_ = rawValue;
-              break;
+            executeNow_ = input.readBool();
+            break;
+          }
+          case 82: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (executionTime_ != null) {
+              subBuilder = executionTime_.toBuilder();
+            }
+            executionTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(executionTime_);
+              executionTime_ = subBuilder.buildPartial();
             }
-          case 98:
-            {
-              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 88: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 98: {
+            com.google.rpc.Status.Builder subBuilder = null;
+            if (error_ != null) {
+              subBuilder = error_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(error_);
+              error_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -197,52 +166,48 @@ private Event(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.video.livestream.v1.ResourcesProto
-        .internal_static_google_cloud_video_livestream_v1_Event_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.video.livestream.v1.ResourcesProto
-        .internal_static_google_cloud_video_livestream_v1_Event_fieldAccessorTable
+    return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.video.livestream.v1.Event.class,
-            com.google.cloud.video.livestream.v1.Event.Builder.class);
+            com.google.cloud.video.livestream.v1.Event.class, com.google.cloud.video.livestream.v1.Event.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State of the event
    * 
* * Protobuf enum {@code google.cloud.video.livestream.v1.Event.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Event state is not specified.
      * 
@@ -251,8 +216,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Event is scheduled but not executed yet.
      * 
@@ -261,8 +224,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SCHEDULED(1), /** - * - * *
      * Event is being executed.
      * 
@@ -271,8 +232,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
      * Event has been successfully executed.
      * 
@@ -281,8 +240,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(3), /** - * - * *
      * Event fails to be executed.
      * 
@@ -291,8 +248,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(4), /** - * - * *
      * Event has been created but not scheduled yet.
      * 
@@ -301,8 +256,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(5), /** - * - * *
      * Event was stopped before running for its full duration.
      * 
@@ -314,8 +267,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Event state is not specified.
      * 
@@ -324,8 +275,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Event is scheduled but not executed yet.
      * 
@@ -334,8 +283,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCHEDULED_VALUE = 1; /** - * - * *
      * Event is being executed.
      * 
@@ -344,8 +291,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
      * Event has been successfully executed.
      * 
@@ -354,8 +299,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 3; /** - * - * *
      * Event fails to be executed.
      * 
@@ -364,8 +307,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 4; /** - * - * *
      * Event has been created but not scheduled yet.
      * 
@@ -374,8 +315,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 5; /** - * - * *
      * Event was stopped before running for its full duration.
      * 
@@ -384,6 +323,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOPPED_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -408,57 +348,53 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return SCHEDULED; - case 2: - return RUNNING; - case 3: - return SUCCEEDED; - case 4: - return FAILED; - case 5: - return PENDING; - case 6: - return STOPPED; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return SCHEDULED; + case 2: return RUNNING; + case 3: return SUCCEEDED; + case 4: return FAILED; + case 5: return PENDING; + case 6: return STOPPED; + 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< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.video.livestream.v1.Event.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State 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; @@ -475,38 +411,29 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.video.livestream.v1.Event.State) } - public interface AdBreakTaskOrBuilder - extends + public interface AdBreakTaskOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.Event.AdBreakTask) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Duration of an ad opportunity. Must be greater than 0.
      * 
* * .google.protobuf.Duration duration = 1; - * * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
      * Duration of an ad opportunity. Must be greater than 0.
      * 
* * .google.protobuf.Duration duration = 1; - * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
      * Duration of an ad opportunity. Must be greater than 0.
      * 
@@ -516,37 +443,36 @@ public interface AdBreakTaskOrBuilder com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); } /** - * - * *
    * Inserts a new ad opportunity.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.Event.AdBreakTask} */ - public static final class AdBreakTask extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AdBreakTask extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.Event.AdBreakTask) AdBreakTaskOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AdBreakTask.newBuilder() to construct. private AdBreakTask(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AdBreakTask() {} + private AdBreakTask() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AdBreakTask(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AdBreakTask( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -565,28 +491,26 @@ private AdBreakTask( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (duration_ != null) { - subBuilder = duration_.toBuilder(); - } - duration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(duration_); - duration_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (duration_ != null) { + subBuilder = duration_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(duration_); + duration_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -594,39 +518,34 @@ private AdBreakTask( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.Event.AdBreakTask.class, - com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder.class); + com.google.cloud.video.livestream.v1.Event.AdBreakTask.class, com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder.class); } public static final int DURATION_FIELD_NUMBER = 1; private com.google.protobuf.Duration duration_; /** - * - * *
      * Duration of an ad opportunity. Must be greater than 0.
      * 
* * .google.protobuf.Duration duration = 1; - * * @return Whether the duration field is set. */ @java.lang.Override @@ -634,14 +553,11 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
      * Duration of an ad opportunity. Must be greater than 0.
      * 
* * .google.protobuf.Duration duration = 1; - * * @return The duration. */ @java.lang.Override @@ -649,8 +565,6 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
      * Duration of an ad opportunity. Must be greater than 0.
      * 
@@ -663,7 +577,6 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -675,7 +588,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 (duration_ != null) { output.writeMessage(1, getDuration()); } @@ -689,7 +603,8 @@ public int getSerializedSize() { size = 0; if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDuration()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -699,17 +614,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.Event.AdBreakTask)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.Event.AdBreakTask other = - (com.google.cloud.video.livestream.v1.Event.AdBreakTask) obj; + com.google.cloud.video.livestream.v1.Event.AdBreakTask other = (com.google.cloud.video.livestream.v1.Event.AdBreakTask) obj; if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration().equals(other.getDuration())) return false; + if (!getDuration() + .equals(other.getDuration())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -732,94 +647,87 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.Event.AdBreakTask prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.Event.AdBreakTask prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -829,32 +737,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Inserts a new ad opportunity.
      * 
* * Protobuf type {@code google.cloud.video.livestream.v1.Event.AdBreakTask} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.Event.AdBreakTask) com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.Event.AdBreakTask.class, - com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder.class); + com.google.cloud.video.livestream.v1.Event.AdBreakTask.class, com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.Event.AdBreakTask.newBuilder() @@ -862,15 +765,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(); @@ -884,9 +788,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor; } @java.lang.Override @@ -905,8 +809,7 @@ public com.google.cloud.video.livestream.v1.Event.AdBreakTask build() { @java.lang.Override public com.google.cloud.video.livestream.v1.Event.AdBreakTask buildPartial() { - com.google.cloud.video.livestream.v1.Event.AdBreakTask result = - new com.google.cloud.video.livestream.v1.Event.AdBreakTask(this); + com.google.cloud.video.livestream.v1.Event.AdBreakTask result = new com.google.cloud.video.livestream.v1.Event.AdBreakTask(this); if (durationBuilder_ == null) { result.duration_ = duration_; } else { @@ -920,41 +823,38 @@ public com.google.cloud.video.livestream.v1.Event.AdBreakTask buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.Event.AdBreakTask) { - return mergeFrom((com.google.cloud.video.livestream.v1.Event.AdBreakTask) other); + return mergeFrom((com.google.cloud.video.livestream.v1.Event.AdBreakTask)other); } else { super.mergeFrom(other); return this; @@ -962,8 +862,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.Event.AdBreakTask other) { - if (other == com.google.cloud.video.livestream.v1.Event.AdBreakTask.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.Event.AdBreakTask.getDefaultInstance()) return this; if (other.hasDuration()) { mergeDuration(other.getDuration()); } @@ -986,8 +885,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.Event.AdBreakTask) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.Event.AdBreakTask) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -999,33 +897,24 @@ public Builder mergeFrom( private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - durationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; /** - * - * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
* * .google.protobuf.Duration duration = 1; - * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** - * - * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
* * .google.protobuf.Duration duration = 1; - * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -1036,8 +925,6 @@ public com.google.protobuf.Duration getDuration() { } } /** - * - * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
@@ -1058,15 +945,14 @@ public Builder setDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
* * .google.protobuf.Duration duration = 1; */ - public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (durationBuilder_ == null) { duration_ = builderForValue.build(); onChanged(); @@ -1077,8 +963,6 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) return this; } /** - * - * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
@@ -1089,7 +973,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { if (duration_ != null) { duration_ = - com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); } else { duration_ = value; } @@ -1101,8 +985,6 @@ public Builder mergeDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
@@ -1121,8 +1003,6 @@ public Builder clearDuration() { return this; } /** - * - * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
@@ -1130,13 +1010,11 @@ public Builder clearDuration() { * .google.protobuf.Duration duration = 1; */ public com.google.protobuf.Duration.Builder getDurationBuilder() { - + onChanged(); return getDurationFieldBuilder().getBuilder(); } /** - * - * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
@@ -1147,12 +1025,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { if (durationBuilder_ != null) { return durationBuilder_.getMessageOrBuilder(); } else { - return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; + return duration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : duration_; } } /** - * - * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
@@ -1160,22 +1037,18 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { * .google.protobuf.Duration duration = 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> getDurationFieldBuilder() { if (durationBuilder_ == null) { - durationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getDuration(), getParentForChildren(), isClean()); + durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getDuration(), + getParentForChildren(), + isClean()); duration_ = null; } return durationBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1188,12 +1061,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.Event.AdBreakTask) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.Event.AdBreakTask) private static final com.google.cloud.video.livestream.v1.Event.AdBreakTask DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.Event.AdBreakTask(); } @@ -1202,16 +1075,16 @@ public static com.google.cloud.video.livestream.v1.Event.AdBreakTask getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdBreakTask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AdBreakTask(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdBreakTask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AdBreakTask(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1226,19 +1099,17 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.Event.AdBreakTask getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int taskCase_ = 0; private java.lang.Object task_; - public enum TaskCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { AD_BREAK(6), TASK_NOT_SET(0); private final int value; - private TaskCase(int value) { this.value = value; } @@ -1254,36 +1125,31 @@ public static TaskCase valueOf(int value) { public static TaskCase forNumber(int value) { switch (value) { - case 6: - return AD_BREAK; - case 0: - return TASK_NOT_SET; - default: - return null; + case 6: return AD_BREAK; + case 0: return TASK_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TaskCase getTaskCase() { - return TaskCase.forNumber(taskCase_); + public TaskCase + getTaskCase() { + return TaskCase.forNumber( + taskCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The resource name of the event, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1292,30 +1158,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the event, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* * 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 { @@ -1326,15 +1192,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -1342,15 +1204,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -1358,14 +1216,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1375,15 +1230,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1391,15 +1242,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -1407,14 +1254,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1422,23 +1266,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -1447,30 +1292,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * User-defined key/value metadata.
    * 
@@ -1478,12 +1321,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * User-defined key/value metadata.
    * 
@@ -1491,16 +1333,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * User-defined key/value metadata.
    * 
@@ -1508,11 +1350,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1521,16 +1364,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int AD_BREAK_FIELD_NUMBER = 6; /** - * - * *
    * Required. Inserts a new ad opportunity.
    * 
* - * - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the adBreak field is set. */ @java.lang.Override @@ -1538,40 +1376,31 @@ public boolean hasAdBreak() { return taskCase_ == 6; } /** - * - * *
    * Required. Inserts a new ad opportunity.
    * 
* - * - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The adBreak. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Event.AdBreakTask getAdBreak() { if (taskCase_ == 6) { - return (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_; + return (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_; } return com.google.cloud.video.livestream.v1.Event.AdBreakTask.getDefaultInstance(); } /** - * - * *
    * Required. Inserts a new ad opportunity.
    * 
* - * - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder getAdBreakOrBuilder() { if (taskCase_ == 6) { - return (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_; + return (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_; } return com.google.cloud.video.livestream.v1.Event.AdBreakTask.getDefaultInstance(); } @@ -1579,8 +1408,6 @@ public com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder getAdBrea public static final int EXECUTE_NOW_FIELD_NUMBER = 9; private boolean executeNow_; /** - * - * *
    * When this field is set to true, the event will be executed at the earliest
    * time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be
@@ -1588,7 +1415,6 @@ public com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder getAdBrea
    * 
* * bool execute_now = 9; - * * @return The executeNow. */ @java.lang.Override @@ -1599,8 +1425,6 @@ public boolean getExecuteNow() { public static final int EXECUTION_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp executionTime_; /** - * - * *
    * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
    * `true`, this field should not be set in `CreateEvent` request and will be
@@ -1608,7 +1432,6 @@ public boolean getExecuteNow() {
    * 
* * .google.protobuf.Timestamp execution_time = 10; - * * @return Whether the executionTime field is set. */ @java.lang.Override @@ -1616,8 +1439,6 @@ public boolean hasExecutionTime() { return executionTime_ != null; } /** - * - * *
    * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
    * `true`, this field should not be set in `CreateEvent` request and will be
@@ -1625,18 +1446,13 @@ public boolean hasExecutionTime() {
    * 
* * .google.protobuf.Timestamp execution_time = 10; - * * @return The executionTime. */ @java.lang.Override public com.google.protobuf.Timestamp getExecutionTime() { - return executionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : executionTime_; + return executionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executionTime_; } /** - * - * *
    * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
    * `true`, this field should not be set in `CreateEvent` request and will be
@@ -1653,55 +1469,39 @@ public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder() {
   public static final int STATE_FIELD_NUMBER = 11;
   private int state_;
   /**
-   *
-   *
    * 
    * Output only. The state of the event.
    * 
* - * - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The state of the event.
    * 
* - * - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.video.livestream.v1.Event.State getState() { + @java.lang.Override public com.google.cloud.video.livestream.v1.Event.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Event.State result = - com.google.cloud.video.livestream.v1.Event.State.valueOf(state_); + com.google.cloud.video.livestream.v1.Event.State result = com.google.cloud.video.livestream.v1.Event.State.valueOf(state_); return result == null ? com.google.cloud.video.livestream.v1.Event.State.UNRECOGNIZED : result; } public static final int ERROR_FIELD_NUMBER = 12; private com.google.rpc.Status error_; /** - * - * *
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
    * 
* * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ @java.lang.Override @@ -1709,15 +1509,12 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
    * 
* * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ @java.lang.Override @@ -1725,8 +1522,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
@@ -1740,7 +1535,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1752,7 +1546,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_);
     }
@@ -1762,8 +1557,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (updateTime_ != null) {
       output.writeMessage(3, getUpdateTime());
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetLabels(),
+        LabelsDefaultEntryHolder.defaultEntry,
+        4);
     if (taskCase_ == 6) {
       output.writeMessage(6, (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_);
     }
@@ -1792,37 +1591,42 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime());
-    }
-    for (java.util.Map.Entry entry :
-        internalGetLabels().getMap().entrySet()) {
-      com.google.protobuf.MapEntry labels__ =
-          LabelsDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getUpdateTime());
+    }
+    for (java.util.Map.Entry entry
+         : internalGetLabels().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, labels__);
     }
     if (taskCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_);
     }
     if (executeNow_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, executeNow_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(9, executeNow_);
     }
     if (executionTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getExecutionTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(10, getExecutionTime());
     }
     if (state_ != com.google.cloud.video.livestream.v1.Event.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, state_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(11, state_);
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getError());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(12, getError());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1832,38 +1636,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.video.livestream.v1.Event)) {
       return super.equals(obj);
     }
-    com.google.cloud.video.livestream.v1.Event other =
-        (com.google.cloud.video.livestream.v1.Event) obj;
+    com.google.cloud.video.livestream.v1.Event other = (com.google.cloud.video.livestream.v1.Event) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime().equals(other.getCreateTime())) return false;
+      if (!getCreateTime()
+          .equals(other.getCreateTime())) return false;
     }
     if (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime()
+          .equals(other.getUpdateTime())) return false;
     }
-    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
-    if (getExecuteNow() != other.getExecuteNow()) return false;
+    if (!internalGetLabels().equals(
+        other.internalGetLabels())) return false;
+    if (getExecuteNow()
+        != other.getExecuteNow()) return false;
     if (hasExecutionTime() != other.hasExecutionTime()) return false;
     if (hasExecutionTime()) {
-      if (!getExecutionTime().equals(other.getExecutionTime())) return false;
+      if (!getExecutionTime()
+          .equals(other.getExecutionTime())) return false;
     }
     if (state_ != other.state_) 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 (!getTaskCase().equals(other.getTaskCase())) return false;
     switch (taskCase_) {
       case 6:
-        if (!getAdBreak().equals(other.getAdBreak())) return false;
+        if (!getAdBreak()
+            .equals(other.getAdBreak())) return false;
         break;
       case 0:
       default:
@@ -1894,7 +1705,8 @@ public int hashCode() {
       hash = (53 * hash) + internalGetLabels().hashCode();
     }
     hash = (37 * hash) + EXECUTE_NOW_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExecuteNow());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getExecuteNow());
     if (hasExecutionTime()) {
       hash = (37 * hash) + EXECUTION_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getExecutionTime().hashCode();
@@ -1918,104 +1730,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.video.livestream.v1.Event parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.video.livestream.v1.Event parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.livestream.v1.Event parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.livestream.v1.Event parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.livestream.v1.Event parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.livestream.v1.Event parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.livestream.v1.Event parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.livestream.v1.Event parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.livestream.v1.Event parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.video.livestream.v1.Event parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.video.livestream.v1.Event parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.livestream.v1.Event parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.video.livestream.v1.Event parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.livestream.v1.Event parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.video.livestream.v1.Event prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Event is a sub-resource of a channel, which can be scheduled by the user to
    * execute operations on a channel resource without having to stop the channel.
@@ -2023,43 +1828,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.video.livestream.v1.Event}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.Event)
       com.google.cloud.video.livestream.v1.EventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto
-          .internal_static_google_cloud_video_livestream_v1_Event_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto
-          .internal_static_google_cloud_video_livestream_v1_Event_fieldAccessorTable
+      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.livestream.v1.Event.class,
-              com.google.cloud.video.livestream.v1.Event.Builder.class);
+              com.google.cloud.video.livestream.v1.Event.class, com.google.cloud.video.livestream.v1.Event.Builder.class);
     }
 
     // Construct using com.google.cloud.video.livestream.v1.Event.newBuilder()
@@ -2067,15 +1872,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();
@@ -2116,9 +1922,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto
-          .internal_static_google_cloud_video_livestream_v1_Event_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_descriptor;
     }
 
     @java.lang.Override
@@ -2137,8 +1943,7 @@ public com.google.cloud.video.livestream.v1.Event build() {
 
     @java.lang.Override
     public com.google.cloud.video.livestream.v1.Event buildPartial() {
-      com.google.cloud.video.livestream.v1.Event result =
-          new com.google.cloud.video.livestream.v1.Event(this);
+      com.google.cloud.video.livestream.v1.Event result = new com.google.cloud.video.livestream.v1.Event(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (createTimeBuilder_ == null) {
@@ -2181,39 +1986,38 @@ public com.google.cloud.video.livestream.v1.Event buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.video.livestream.v1.Event) {
-        return mergeFrom((com.google.cloud.video.livestream.v1.Event) other);
+        return mergeFrom((com.google.cloud.video.livestream.v1.Event)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2232,7 +2036,8 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Event other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (other.getExecuteNow() != false) {
         setExecuteNow(other.getExecuteNow());
       }
@@ -2246,15 +2051,13 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Event other) {
         mergeError(other.getError());
       }
       switch (other.getTaskCase()) {
-        case AD_BREAK:
-          {
-            mergeAdBreak(other.getAdBreak());
-            break;
-          }
-        case TASK_NOT_SET:
-          {
-            break;
-          }
+        case AD_BREAK: {
+          mergeAdBreak(other.getAdBreak());
+          break;
+        }
+        case TASK_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -2284,12 +2087,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int taskCase_ = 0;
     private java.lang.Object task_;
-
-    public TaskCase getTaskCase() {
-      return TaskCase.forNumber(taskCase_);
+    public TaskCase
+        getTaskCase() {
+      return TaskCase.forNumber(
+          taskCase_);
     }
 
     public Builder clearTask() {
@@ -2303,21 +2106,19 @@ public Builder clearTask() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the event, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* * 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; @@ -2326,22 +2127,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the event, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* * 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 { @@ -2349,64 +2149,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the event, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* * 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 event, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The resource name of the event, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* * 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; @@ -2414,58 +2207,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2481,17 +2255,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2502,21 +2273,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2528,15 +2295,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2550,64 +2313,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2615,58 +2362,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @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. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2682,17 +2410,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - 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(); @@ -2703,21 +2428,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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; } @@ -2729,15 +2450,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2751,84 +2468,69 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2840,30 +2542,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * User-defined key/value metadata.
      * 
@@ -2871,12 +2571,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * User-defined key/value metadata.
      * 
@@ -2884,17 +2583,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * User-defined key/value metadata.
      * 
@@ -2902,11 +2600,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2914,80 +2613,75 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event.AdBreakTask, - com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder, - com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder> - adBreakBuilder_; + com.google.cloud.video.livestream.v1.Event.AdBreakTask, com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder, com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder> adBreakBuilder_; /** - * - * *
      * Required. Inserts a new ad opportunity.
      * 
* - * - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the adBreak field is set. */ @java.lang.Override @@ -2995,16 +2689,11 @@ public boolean hasAdBreak() { return taskCase_ == 6; } /** - * - * *
      * Required. Inserts a new ad opportunity.
      * 
* - * - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The adBreak. */ @java.lang.Override @@ -3022,15 +2711,11 @@ public com.google.cloud.video.livestream.v1.Event.AdBreakTask getAdBreak() { } } /** - * - * *
      * Required. Inserts a new ad opportunity.
      * 
* - * - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAdBreak(com.google.cloud.video.livestream.v1.Event.AdBreakTask value) { if (adBreakBuilder_ == null) { @@ -3046,15 +2731,11 @@ public Builder setAdBreak(com.google.cloud.video.livestream.v1.Event.AdBreakTask return this; } /** - * - * *
      * Required. Inserts a new ad opportunity.
      * 
* - * - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAdBreak( com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder builderForValue) { @@ -3068,26 +2749,18 @@ public Builder setAdBreak( return this; } /** - * - * *
      * Required. Inserts a new ad opportunity.
      * 
* - * - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAdBreak(com.google.cloud.video.livestream.v1.Event.AdBreakTask value) { if (adBreakBuilder_ == null) { - if (taskCase_ == 6 - && task_ - != com.google.cloud.video.livestream.v1.Event.AdBreakTask.getDefaultInstance()) { - task_ = - com.google.cloud.video.livestream.v1.Event.AdBreakTask.newBuilder( - (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_) - .mergeFrom(value) - .buildPartial(); + if (taskCase_ == 6 && + task_ != com.google.cloud.video.livestream.v1.Event.AdBreakTask.getDefaultInstance()) { + task_ = com.google.cloud.video.livestream.v1.Event.AdBreakTask.newBuilder((com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_) + .mergeFrom(value).buildPartial(); } else { task_ = value; } @@ -3103,15 +2776,11 @@ public Builder mergeAdBreak(com.google.cloud.video.livestream.v1.Event.AdBreakTa return this; } /** - * - * *
      * Required. Inserts a new ad opportunity.
      * 
* - * - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAdBreak() { if (adBreakBuilder_ == null) { @@ -3130,29 +2799,21 @@ public Builder clearAdBreak() { return this; } /** - * - * *
      * Required. Inserts a new ad opportunity.
      * 
* - * - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder getAdBreakBuilder() { return getAdBreakFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Inserts a new ad opportunity.
      * 
* - * - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder getAdBreakOrBuilder() { @@ -3166,45 +2827,33 @@ public com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder getAdBrea } } /** - * - * *
      * Required. Inserts a new ad opportunity.
      * 
* - * - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event.AdBreakTask, - com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder, - com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder> + com.google.cloud.video.livestream.v1.Event.AdBreakTask, com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder, com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder> getAdBreakFieldBuilder() { if (adBreakBuilder_ == null) { if (!(taskCase_ == 6)) { task_ = com.google.cloud.video.livestream.v1.Event.AdBreakTask.getDefaultInstance(); } - adBreakBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event.AdBreakTask, - com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder, - com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder>( + adBreakBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.Event.AdBreakTask, com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder, com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder>( (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_, getParentForChildren(), isClean()); task_ = null; } taskCase_ = 6; - onChanged(); - ; + onChanged();; return adBreakBuilder_; } - private boolean executeNow_; + private boolean executeNow_ ; /** - * - * *
      * When this field is set to true, the event will be executed at the earliest
      * time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be
@@ -3212,7 +2861,6 @@ public com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder getAdBrea
      * 
* * bool execute_now = 9; - * * @return The executeNow. */ @java.lang.Override @@ -3220,8 +2868,6 @@ public boolean getExecuteNow() { return executeNow_; } /** - * - * *
      * When this field is set to true, the event will be executed at the earliest
      * time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be
@@ -3229,19 +2875,16 @@ public boolean getExecuteNow() {
      * 
* * bool execute_now = 9; - * * @param value The executeNow to set. * @return This builder for chaining. */ public Builder setExecuteNow(boolean value) { - + executeNow_ = value; onChanged(); return this; } /** - * - * *
      * When this field is set to true, the event will be executed at the earliest
      * time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be
@@ -3249,11 +2892,10 @@ public Builder setExecuteNow(boolean value) {
      * 
* * bool execute_now = 9; - * * @return This builder for chaining. */ public Builder clearExecuteNow() { - + executeNow_ = false; onChanged(); return this; @@ -3261,13 +2903,8 @@ public Builder clearExecuteNow() { private com.google.protobuf.Timestamp executionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - executionTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> executionTimeBuilder_; /** - * - * *
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -3275,15 +2912,12 @@ public Builder clearExecuteNow() {
      * 
* * .google.protobuf.Timestamp execution_time = 10; - * * @return Whether the executionTime field is set. */ public boolean hasExecutionTime() { return executionTimeBuilder_ != null || executionTime_ != null; } /** - * - * *
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -3291,21 +2925,16 @@ public boolean hasExecutionTime() {
      * 
* * .google.protobuf.Timestamp execution_time = 10; - * * @return The executionTime. */ public com.google.protobuf.Timestamp getExecutionTime() { if (executionTimeBuilder_ == null) { - return executionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : executionTime_; + return executionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executionTime_; } else { return executionTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -3328,8 +2957,6 @@ public Builder setExecutionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -3338,7 +2965,8 @@ public Builder setExecutionTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp execution_time = 10;
      */
-    public Builder setExecutionTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setExecutionTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (executionTimeBuilder_ == null) {
         executionTime_ = builderForValue.build();
         onChanged();
@@ -3349,8 +2977,6 @@ public Builder setExecutionTime(com.google.protobuf.Timestamp.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -3363,9 +2989,7 @@ public Builder mergeExecutionTime(com.google.protobuf.Timestamp value) {
       if (executionTimeBuilder_ == null) {
         if (executionTime_ != null) {
           executionTime_ =
-              com.google.protobuf.Timestamp.newBuilder(executionTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(executionTime_).mergeFrom(value).buildPartial();
         } else {
           executionTime_ = value;
         }
@@ -3377,8 +3001,6 @@ public Builder mergeExecutionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -3399,8 +3021,6 @@ public Builder clearExecutionTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -3410,13 +3030,11 @@ public Builder clearExecutionTime() {
      * .google.protobuf.Timestamp execution_time = 10;
      */
     public com.google.protobuf.Timestamp.Builder getExecutionTimeBuilder() {
-
+      
       onChanged();
       return getExecutionTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -3429,14 +3047,11 @@ public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder() {
       if (executionTimeBuilder_ != null) {
         return executionTimeBuilder_.getMessageOrBuilder();
       } else {
-        return executionTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : executionTime_;
+        return executionTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : executionTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -3446,17 +3061,14 @@ public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder() {
      * .google.protobuf.Timestamp execution_time = 10;
      */
     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> 
         getExecutionTimeFieldBuilder() {
       if (executionTimeBuilder_ == null) {
-        executionTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getExecutionTime(), getParentForChildren(), isClean());
+        executionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getExecutionTime(),
+                getParentForChildren(),
+                isClean());
         executionTime_ = null;
       }
       return executionTimeBuilder_;
@@ -3464,75 +3076,51 @@ public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder() {
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The state of the event.
      * 
* - * - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The state of the event.
      * 
* - * - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The state of the event.
      * 
* - * - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Event.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Event.State result = - com.google.cloud.video.livestream.v1.Event.State.valueOf(state_); - return result == null - ? com.google.cloud.video.livestream.v1.Event.State.UNRECOGNIZED - : result; + com.google.cloud.video.livestream.v1.Event.State result = com.google.cloud.video.livestream.v1.Event.State.valueOf(state_); + return result == null ? com.google.cloud.video.livestream.v1.Event.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The state of the event.
      * 
* - * - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -3540,26 +3128,21 @@ public Builder setState(com.google.cloud.video.livestream.v1.Event.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The state of the event.
      * 
* - * - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3567,33 +3150,26 @@ public Builder clearState() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; /** - * - * *
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
      * 
* * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
      * 
* * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -3604,8 +3180,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3627,8 +3201,6 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3636,7 +3208,8 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
-    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setError(
+        com.google.rpc.Status.Builder builderForValue) {
       if (errorBuilder_ == null) {
         error_ = builderForValue.build();
         onChanged();
@@ -3647,8 +3220,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3659,7 +3230,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;
         }
@@ -3671,8 +3243,6 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3692,8 +3262,6 @@ public Builder clearError() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3702,13 +3270,11 @@ public Builder clearError() {
      * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-
+      
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3720,12 +3286,11 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       if (errorBuilder_ != null) {
         return errorBuilder_.getMessageOrBuilder();
       } else {
-        return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
+        return error_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : error_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3734,21 +3299,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
         getErrorFieldBuilder() {
       if (errorBuilder_ == null) {
-        errorBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean());
+        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getError(),
+                getParentForChildren(),
+                isClean());
         error_ = null;
       }
       return errorBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3758,12 +3323,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.Event)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.Event)
   private static final com.google.cloud.video.livestream.v1.Event DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.Event();
   }
@@ -3772,16 +3337,16 @@ public static com.google.cloud.video.livestream.v1.Event getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Event parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Event(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Event parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Event(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3796,4 +3361,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.video.livestream.v1.Event getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventName.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventName.java
similarity index 100%
rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventName.java
rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventName.java
diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventOrBuilder.java
similarity index 73%
rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventOrBuilder.java
index 42befe1..bb1fd76 100644
--- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventOrBuilder.java
@@ -1,134 +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/video/livestream/v1/resources.proto
 
 package com.google.cloud.video.livestream.v1;
 
-public interface EventOrBuilder
-    extends
+public interface EventOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.Event)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The resource name of the event, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the event, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * User-defined key/value metadata.
    * 
@@ -137,31 +92,30 @@ public interface EventOrBuilder */ int getLabelsCount(); /** - * - * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * User-defined key/value metadata.
    * 
@@ -170,65 +124,49 @@ public interface EventOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Required. Inserts a new ad opportunity.
    * 
* - * - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the adBreak field is set. */ boolean hasAdBreak(); /** - * - * *
    * Required. Inserts a new ad opportunity.
    * 
* - * - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The adBreak. */ com.google.cloud.video.livestream.v1.Event.AdBreakTask getAdBreak(); /** - * - * *
    * Required. Inserts a new ad opportunity.
    * 
* - * - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder getAdBreakOrBuilder(); /** - * - * *
    * When this field is set to true, the event will be executed at the earliest
    * time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be
@@ -236,14 +174,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * bool execute_now = 9; - * * @return The executeNow. */ boolean getExecuteNow(); /** - * - * *
    * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
    * `true`, this field should not be set in `CreateEvent` request and will be
@@ -251,13 +186,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.protobuf.Timestamp execution_time = 10; - * * @return Whether the executionTime field is set. */ boolean hasExecutionTime(); /** - * - * *
    * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
    * `true`, this field should not be set in `CreateEvent` request and will be
@@ -265,13 +197,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.protobuf.Timestamp execution_time = 10; - * * @return The executionTime. */ com.google.protobuf.Timestamp getExecutionTime(); /** - * - * *
    * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
    * `true`, this field should not be set in `CreateEvent` request and will be
@@ -283,63 +212,45 @@ java.lang.String getLabelsOrDefault(
   com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The state of the event.
    * 
* - * - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The state of the event.
    * 
* - * - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.video.livestream.v1.Event.State getState(); /** - * - * *
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
    * 
* * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
    * 
* * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequest.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequest.java
similarity index 65%
rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequest.java
index 34444cf..43e1175 100644
--- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/video/livestream/v1/service.proto
 
 package com.google.cloud.video.livestream.v1;
 
 /**
- *
- *
  * 
  * Request message for "LivestreamService.GetChannel".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.GetChannelRequest} */ -public final class GetChannelRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetChannelRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.GetChannelRequest) GetChannelRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetChannelRequest.newBuilder() to construct. private GetChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetChannelRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetChannelRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetChannelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_GetChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.GetChannelRequest.class, - com.google.cloud.video.livestream.v1.GetChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.GetChannelRequest.class, com.google.cloud.video.livestream.v1.GetChannelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.GetChannelRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.GetChannelRequest other = - (com.google.cloud.video.livestream.v1.GetChannelRequest) obj; + com.google.cloud.video.livestream.v1.GetChannelRequest other = (com.google.cloud.video.livestream.v1.GetChannelRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.GetChannelRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.GetChannelRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.GetChannelRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.GetChannelRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.GetChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for "LivestreamService.GetChannel".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.GetChannelRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.GetChannelRequest) com.google.cloud.video.livestream.v1.GetChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_GetChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.GetChannelRequest.class, - com.google.cloud.video.livestream.v1.GetChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.GetChannelRequest.class, com.google.cloud.video.livestream.v1.GetChannelRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.GetChannelRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.video.livestream.v1.GetChannelRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.GetChannelRequest buildPartial() { - com.google.cloud.video.livestream.v1.GetChannelRequest result = - new com.google.cloud.video.livestream.v1.GetChannelRequest(this); + com.google.cloud.video.livestream.v1.GetChannelRequest result = new com.google.cloud.video.livestream.v1.GetChannelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.video.livestream.v1.GetChannelRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.GetChannelRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.GetChannelRequest) other); + return mergeFrom((com.google.cloud.video.livestream.v1.GetChannelRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.GetChannelRequest other) { - if (other == com.google.cloud.video.livestream.v1.GetChannelRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.GetChannelRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.GetChannelRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.GetChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.GetChannelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.GetChannelRequest) private static final com.google.cloud.video.livestream.v1.GetChannelRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.GetChannelRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.video.livestream.v1.GetChannelRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.GetChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequestOrBuilder.java new file mode 100644 index 0000000..1cb6e14 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/video/livestream/v1/service.proto + +package com.google.cloud.video.livestream.v1; + +public interface GetChannelRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.GetChannelRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the channel resource, in the form of:
+   * `projects/{project}/locations/{location}/channels/{channelId}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the channel resource, in the form of:
+   * `projects/{project}/locations/{location}/channels/{channelId}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequest.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequest.java similarity index 65% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequest.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequest.java index dd399cb..4c004d9 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Request message for "LivestreamService.GetEvent".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.GetEventRequest} */ -public final class GetEventRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetEventRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.GetEventRequest) GetEventRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetEventRequest.newBuilder() to construct. private GetEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetEventRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetEventRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetEventRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetEventRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_GetEventRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.GetEventRequest.class, - com.google.cloud.video.livestream.v1.GetEventRequest.Builder.class); + com.google.cloud.video.livestream.v1.GetEventRequest.class, com.google.cloud.video.livestream.v1.GetEventRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the event resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the event resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.GetEventRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.GetEventRequest other = - (com.google.cloud.video.livestream.v1.GetEventRequest) obj; + com.google.cloud.video.livestream.v1.GetEventRequest other = (com.google.cloud.video.livestream.v1.GetEventRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.GetEventRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.GetEventRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.GetEventRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.GetEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for "LivestreamService.GetEvent".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.GetEventRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.GetEventRequest) com.google.cloud.video.livestream.v1.GetEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_GetEventRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.GetEventRequest.class, - com.google.cloud.video.livestream.v1.GetEventRequest.Builder.class); + com.google.cloud.video.livestream.v1.GetEventRequest.class, com.google.cloud.video.livestream.v1.GetEventRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.GetEventRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.video.livestream.v1.GetEventRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.GetEventRequest buildPartial() { - com.google.cloud.video.livestream.v1.GetEventRequest result = - new com.google.cloud.video.livestream.v1.GetEventRequest(this); + com.google.cloud.video.livestream.v1.GetEventRequest result = new com.google.cloud.video.livestream.v1.GetEventRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.video.livestream.v1.GetEventRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.GetEventRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.GetEventRequest) other); + return mergeFrom((com.google.cloud.video.livestream.v1.GetEventRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.GetEventRequest other) { - if (other == com.google.cloud.video.livestream.v1.GetEventRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.GetEventRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.GetEventRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.GetEventRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.GetEventRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.GetEventRequest) private static final com.google.cloud.video.livestream.v1.GetEventRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.GetEventRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.video.livestream.v1.GetEventRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetEventRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEventRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetEventRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.GetEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequestOrBuilder.java new file mode 100644 index 0000000..a60140b --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/video/livestream/v1/service.proto + +package com.google.cloud.video.livestream.v1; + +public interface GetEventRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.GetEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the event resource, in the form of:
+   * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the event resource, in the form of:
+   * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequest.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequest.java similarity index 65% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequest.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequest.java index fc55578..e3f3721 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Request message for "LivestreamService.GetInput".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.GetInputRequest} */ -public final class GetInputRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetInputRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.GetInputRequest) GetInputRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetInputRequest.newBuilder() to construct. private GetInputRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetInputRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetInputRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetInputRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetInputRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetInputRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_GetInputRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetInputRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.GetInputRequest.class, - com.google.cloud.video.livestream.v1.GetInputRequest.Builder.class); + com.google.cloud.video.livestream.v1.GetInputRequest.class, com.google.cloud.video.livestream.v1.GetInputRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the input resource, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the input resource, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.GetInputRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.GetInputRequest other = - (com.google.cloud.video.livestream.v1.GetInputRequest) obj; + com.google.cloud.video.livestream.v1.GetInputRequest other = (com.google.cloud.video.livestream.v1.GetInputRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.GetInputRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.GetInputRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.GetInputRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.GetInputRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for "LivestreamService.GetInput".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.GetInputRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.GetInputRequest) com.google.cloud.video.livestream.v1.GetInputRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_GetInputRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetInputRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.GetInputRequest.class, - com.google.cloud.video.livestream.v1.GetInputRequest.Builder.class); + com.google.cloud.video.livestream.v1.GetInputRequest.class, com.google.cloud.video.livestream.v1.GetInputRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.GetInputRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.video.livestream.v1.GetInputRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.GetInputRequest buildPartial() { - com.google.cloud.video.livestream.v1.GetInputRequest result = - new com.google.cloud.video.livestream.v1.GetInputRequest(this); + com.google.cloud.video.livestream.v1.GetInputRequest result = new com.google.cloud.video.livestream.v1.GetInputRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.video.livestream.v1.GetInputRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.GetInputRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.GetInputRequest) other); + return mergeFrom((com.google.cloud.video.livestream.v1.GetInputRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.GetInputRequest other) { - if (other == com.google.cloud.video.livestream.v1.GetInputRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.GetInputRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.GetInputRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.GetInputRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.GetInputRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.GetInputRequest) private static final com.google.cloud.video.livestream.v1.GetInputRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.GetInputRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.video.livestream.v1.GetInputRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInputRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInputRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInputRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInputRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.GetInputRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequestOrBuilder.java new file mode 100644 index 0000000..5a0f901 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/video/livestream/v1/service.proto + +package com.google.cloud.video.livestream.v1; + +public interface GetInputRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.GetInputRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the input resource, in the form of:
+   * `projects/{project}/locations/{location}/inputs/{inputId}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the input resource, in the form of:
+   * `projects/{project}/locations/{location}/inputs/{inputId}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Input.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Input.java similarity index 70% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Input.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Input.java index 1bd32fc..fbee403 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Input.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Input.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Input resource represents the endpoint from which the channel ingests
  * the input stream.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.video.livestream.v1.Input}
  */
-public final class Input extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Input extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.Input)
     InputOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Input.newBuilder() to construct.
   private Input(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Input() {
     name_ = "";
     type_ = 0;
@@ -47,15 +29,16 @@ private Input() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Input();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Input(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,135 +58,115 @@ private Input(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              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;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 40:
-            {
-              int rawValue = input.readEnum();
 
-              type_ = rawValue;
-              break;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 40: {
+            int rawValue = input.readEnum();
 
-              uri_ = s;
-              break;
-            }
-          case 74:
-            {
-              com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder subBuilder = null;
-              if (preprocessingConfig_ != null) {
-                subBuilder = preprocessingConfig_.toBuilder();
-              }
-              preprocessingConfig_ =
-                  input.readMessage(
-                      com.google.cloud.video.livestream.v1.PreprocessingConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(preprocessingConfig_);
-                preprocessingConfig_ = subBuilder.buildPartial();
-              }
+            type_ = rawValue;
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              break;
+            uri_ = s;
+            break;
+          }
+          case 74: {
+            com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder subBuilder = null;
+            if (preprocessingConfig_ != null) {
+              subBuilder = preprocessingConfig_.toBuilder();
             }
-          case 98:
-            {
-              com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder subBuilder = null;
-              if (securityRules_ != null) {
-                subBuilder = securityRules_.toBuilder();
-              }
-              securityRules_ =
-                  input.readMessage(
-                      com.google.cloud.video.livestream.v1.Input.SecurityRule.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(securityRules_);
-                securityRules_ = subBuilder.buildPartial();
-              }
-
-              break;
+            preprocessingConfig_ = input.readMessage(com.google.cloud.video.livestream.v1.PreprocessingConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(preprocessingConfig_);
+              preprocessingConfig_ = subBuilder.buildPartial();
             }
-          case 112:
-            {
-              int rawValue = input.readEnum();
 
-              tier_ = rawValue;
-              break;
+            break;
+          }
+          case 98: {
+            com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder subBuilder = null;
+            if (securityRules_ != null) {
+              subBuilder = securityRules_.toBuilder();
+            }
+            securityRules_ = input.readMessage(com.google.cloud.video.livestream.v1.Input.SecurityRule.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(securityRules_);
+              securityRules_ = subBuilder.buildPartial();
             }
-          case 122:
-            {
-              com.google.cloud.video.livestream.v1.InputStreamProperty.Builder subBuilder = null;
-              if (inputStreamProperty_ != null) {
-                subBuilder = inputStreamProperty_.toBuilder();
-              }
-              inputStreamProperty_ =
-                  input.readMessage(
-                      com.google.cloud.video.livestream.v1.InputStreamProperty.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(inputStreamProperty_);
-                inputStreamProperty_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 112: {
+            int rawValue = input.readEnum();
+
+            tier_ = rawValue;
+            break;
+          }
+          case 122: {
+            com.google.cloud.video.livestream.v1.InputStreamProperty.Builder subBuilder = null;
+            if (inputStreamProperty_ != null) {
+              subBuilder = inputStreamProperty_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            inputStreamProperty_ = input.readMessage(com.google.cloud.video.livestream.v1.InputStreamProperty.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(inputStreamProperty_);
+              inputStreamProperty_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -211,52 +174,48 @@ private Input(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.video.livestream.v1.ResourcesProto
-        .internal_static_google_cloud_video_livestream_v1_Input_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.video.livestream.v1.ResourcesProto
-        .internal_static_google_cloud_video_livestream_v1_Input_fieldAccessorTable
+    return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.video.livestream.v1.Input.class,
-            com.google.cloud.video.livestream.v1.Input.Builder.class);
+            com.google.cloud.video.livestream.v1.Input.class, com.google.cloud.video.livestream.v1.Input.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The type of the input.
    * 
* * Protobuf enum {@code google.cloud.video.livestream.v1.Input.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Input type is not specified.
      * 
@@ -265,8 +224,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Input will take an rtmp input stream.
      * 
@@ -275,8 +232,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ RTMP_PUSH(1), /** - * - * *
      * Input will take an srt (Secure Reliable Transport) input stream.
      * 
@@ -288,8 +243,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Input type is not specified.
      * 
@@ -298,8 +251,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Input will take an rtmp input stream.
      * 
@@ -308,8 +259,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RTMP_PUSH_VALUE = 1; /** - * - * *
      * Input will take an srt (Secure Reliable Transport) input stream.
      * 
@@ -318,6 +267,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SRT_PUSH_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -342,49 +292,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return RTMP_PUSH; - case 2: - return SRT_PUSH; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return RTMP_PUSH; + case 2: return SRT_PUSH; + 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< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.video.livestream.v1.Input.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -402,18 +352,15 @@ private Type(int value) { } /** - * - * *
    * Tier of the input specification.
    * 
* * Protobuf enum {@code google.cloud.video.livestream.v1.Input.Tier} */ - public enum Tier implements com.google.protobuf.ProtocolMessageEnum { + public enum Tier + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Tier is not specified.
      * 
@@ -422,8 +369,6 @@ public enum Tier implements com.google.protobuf.ProtocolMessageEnum { */ TIER_UNSPECIFIED(0), /** - * - * *
      * Resolution < 1280x720. Bitrate <= 6 Mbps. FPS <= 60.
      * 
@@ -432,8 +377,6 @@ public enum Tier implements com.google.protobuf.ProtocolMessageEnum { */ SD(1), /** - * - * *
      * Resolution <= 1920x1080. Bitrate <= 25 Mbps. FPS <= 60.
      * 
@@ -442,8 +385,6 @@ public enum Tier implements com.google.protobuf.ProtocolMessageEnum { */ HD(2), /** - * - * *
      * Resolution <= 4096x2160. Not supported yet.
      * 
@@ -455,8 +396,6 @@ public enum Tier implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Tier is not specified.
      * 
@@ -465,8 +404,6 @@ public enum Tier implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIER_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Resolution < 1280x720. Bitrate <= 6 Mbps. FPS <= 60.
      * 
@@ -475,8 +412,6 @@ public enum Tier implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SD_VALUE = 1; /** - * - * *
      * Resolution <= 1920x1080. Bitrate <= 25 Mbps. FPS <= 60.
      * 
@@ -485,8 +420,6 @@ public enum Tier implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HD_VALUE = 2; /** - * - * *
      * Resolution <= 4096x2160. Not supported yet.
      * 
@@ -495,6 +428,7 @@ public enum Tier implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UHD_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -519,51 +453,50 @@ public static Tier valueOf(int value) { */ public static Tier forNumber(int value) { switch (value) { - case 0: - return TIER_UNSPECIFIED; - case 1: - return SD; - case 2: - return HD; - case 3: - return UHD; - default: - return null; + case 0: return TIER_UNSPECIFIED; + case 1: return SD; + case 2: return HD; + case 3: return UHD; + 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< + Tier> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Tier findValueByNumber(int number) { + return Tier.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Tier findValueByNumber(int number) { - return Tier.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.video.livestream.v1.Input.getDescriptor().getEnumTypes().get(1); } private static final Tier[] VALUES = values(); - public static Tier valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Tier 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; @@ -580,14 +513,11 @@ private Tier(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.video.livestream.v1.Input.Tier) } - public interface SecurityRuleOrBuilder - extends + public interface SecurityRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.Input.SecurityRule) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * At least one ip range must match unless none specified. The IP range is
      * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -595,13 +525,11 @@ public interface SecurityRuleOrBuilder
      * 
* * repeated string ip_ranges = 1; - * * @return A list containing the ipRanges. */ - java.util.List getIpRangesList(); + java.util.List + getIpRangesList(); /** - * - * *
      * At least one ip range must match unless none specified. The IP range is
      * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -609,13 +537,10 @@ public interface SecurityRuleOrBuilder
      * 
* * repeated string ip_ranges = 1; - * * @return The count of ipRanges. */ int getIpRangesCount(); /** - * - * *
      * At least one ip range must match unless none specified. The IP range is
      * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -623,14 +548,11 @@ public interface SecurityRuleOrBuilder
      * 
* * repeated string ip_ranges = 1; - * * @param index The index of the element to return. * @return The ipRanges at the given index. */ java.lang.String getIpRanges(int index); /** - * - * *
      * At least one ip range must match unless none specified. The IP range is
      * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -638,15 +560,13 @@ public interface SecurityRuleOrBuilder
      * 
* * repeated string ip_ranges = 1; - * * @param index The index of the value to return. * @return The bytes of the ipRanges at the given index. */ - com.google.protobuf.ByteString getIpRangesBytes(int index); + com.google.protobuf.ByteString + getIpRangesBytes(int index); } /** - * - * *
    * Security rules for access control. Each field represents one security rule.
    * Only when the source of the input stream satisfies all the fields, this
@@ -655,31 +575,31 @@ public interface SecurityRuleOrBuilder
    *
    * Protobuf type {@code google.cloud.video.livestream.v1.Input.SecurityRule}
    */
-  public static final class SecurityRule extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class SecurityRule extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.Input.SecurityRule)
       SecurityRuleOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use SecurityRule.newBuilder() to construct.
     private SecurityRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private SecurityRule() {
       ipRanges_ = 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 SecurityRule();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private SecurityRule(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -699,23 +619,22 @@ private SecurityRule(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  ipRanges_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                ipRanges_.add(s);
-                break;
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                ipRanges_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              ipRanges_.add(s);
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -723,7 +642,8 @@ private SecurityRule(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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)) {
           ipRanges_ = ipRanges_.getUnmodifiableView();
@@ -732,27 +652,22 @@ private SecurityRule(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto
-          .internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto
-          .internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_fieldAccessorTable
+      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.livestream.v1.Input.SecurityRule.class,
-              com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder.class);
+              com.google.cloud.video.livestream.v1.Input.SecurityRule.class, com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder.class);
     }
 
     public static final int IP_RANGES_FIELD_NUMBER = 1;
     private com.google.protobuf.LazyStringList ipRanges_;
     /**
-     *
-     *
      * 
      * At least one ip range must match unless none specified. The IP range is
      * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -760,15 +675,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * repeated string ip_ranges = 1; - * * @return A list containing the ipRanges. */ - public com.google.protobuf.ProtocolStringList getIpRangesList() { + public com.google.protobuf.ProtocolStringList + getIpRangesList() { return ipRanges_; } /** - * - * *
      * At least one ip range must match unless none specified. The IP range is
      * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -776,15 +689,12 @@ public com.google.protobuf.ProtocolStringList getIpRangesList() {
      * 
* * repeated string ip_ranges = 1; - * * @return The count of ipRanges. */ public int getIpRangesCount() { return ipRanges_.size(); } /** - * - * *
      * At least one ip range must match unless none specified. The IP range is
      * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -792,7 +702,6 @@ public int getIpRangesCount() {
      * 
* * repeated string ip_ranges = 1; - * * @param index The index of the element to return. * @return The ipRanges at the given index. */ @@ -800,8 +709,6 @@ public java.lang.String getIpRanges(int index) { return ipRanges_.get(index); } /** - * - * *
      * At least one ip range must match unless none specified. The IP range is
      * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -809,16 +716,15 @@ public java.lang.String getIpRanges(int index) {
      * 
* * repeated string ip_ranges = 1; - * * @param index The index of the value to return. * @return The bytes of the ipRanges at the given index. */ - public com.google.protobuf.ByteString getIpRangesBytes(int index) { + public com.google.protobuf.ByteString + getIpRangesBytes(int index) { return ipRanges_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -830,7 +736,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 < ipRanges_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ipRanges_.getRaw(i)); } @@ -859,15 +766,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.Input.SecurityRule)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.Input.SecurityRule other = - (com.google.cloud.video.livestream.v1.Input.SecurityRule) obj; + com.google.cloud.video.livestream.v1.Input.SecurityRule other = (com.google.cloud.video.livestream.v1.Input.SecurityRule) obj; - if (!getIpRangesList().equals(other.getIpRangesList())) return false; + if (!getIpRangesList() + .equals(other.getIpRangesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -889,94 +796,87 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.Input.SecurityRule prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.Input.SecurityRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -986,8 +886,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Security rules for access control. Each field represents one security rule.
      * Only when the source of the input stream satisfies all the fields, this
@@ -996,24 +894,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.video.livestream.v1.Input.SecurityRule}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.Input.SecurityRule)
         com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.video.livestream.v1.ResourcesProto
-            .internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.video.livestream.v1.ResourcesProto
-            .internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_fieldAccessorTable
+        return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.video.livestream.v1.Input.SecurityRule.class,
-                com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder.class);
+                com.google.cloud.video.livestream.v1.Input.SecurityRule.class, com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder.class);
       }
 
       // Construct using com.google.cloud.video.livestream.v1.Input.SecurityRule.newBuilder()
@@ -1021,15 +916,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();
@@ -1039,9 +935,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.video.livestream.v1.ResourcesProto
-            .internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor;
       }
 
       @java.lang.Override
@@ -1060,8 +956,7 @@ public com.google.cloud.video.livestream.v1.Input.SecurityRule build() {
 
       @java.lang.Override
       public com.google.cloud.video.livestream.v1.Input.SecurityRule buildPartial() {
-        com.google.cloud.video.livestream.v1.Input.SecurityRule result =
-            new com.google.cloud.video.livestream.v1.Input.SecurityRule(this);
+        com.google.cloud.video.livestream.v1.Input.SecurityRule result = new com.google.cloud.video.livestream.v1.Input.SecurityRule(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           ipRanges_ = ipRanges_.getUnmodifiableView();
@@ -1076,41 +971,38 @@ public com.google.cloud.video.livestream.v1.Input.SecurityRule buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.video.livestream.v1.Input.SecurityRule) {
-          return mergeFrom((com.google.cloud.video.livestream.v1.Input.SecurityRule) other);
+          return mergeFrom((com.google.cloud.video.livestream.v1.Input.SecurityRule)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1118,8 +1010,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.video.livestream.v1.Input.SecurityRule other) {
-        if (other == com.google.cloud.video.livestream.v1.Input.SecurityRule.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.video.livestream.v1.Input.SecurityRule.getDefaultInstance()) return this;
         if (!other.ipRanges_.isEmpty()) {
           if (ipRanges_.isEmpty()) {
             ipRanges_ = other.ipRanges_;
@@ -1149,8 +1040,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.video.livestream.v1.Input.SecurityRule) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.video.livestream.v1.Input.SecurityRule) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1159,21 +1049,16 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private com.google.protobuf.LazyStringList ipRanges_ =
-          com.google.protobuf.LazyStringArrayList.EMPTY;
-
+      private com.google.protobuf.LazyStringList ipRanges_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       private void ensureIpRangesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           ipRanges_ = new com.google.protobuf.LazyStringArrayList(ipRanges_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
       /**
-       *
-       *
        * 
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1181,15 +1066,13 @@ private void ensureIpRangesIsMutable() {
        * 
* * repeated string ip_ranges = 1; - * * @return A list containing the ipRanges. */ - public com.google.protobuf.ProtocolStringList getIpRangesList() { + public com.google.protobuf.ProtocolStringList + getIpRangesList() { return ipRanges_.getUnmodifiableView(); } /** - * - * *
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1197,15 +1080,12 @@ public com.google.protobuf.ProtocolStringList getIpRangesList() {
        * 
* * repeated string ip_ranges = 1; - * * @return The count of ipRanges. */ public int getIpRangesCount() { return ipRanges_.size(); } /** - * - * *
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1213,7 +1093,6 @@ public int getIpRangesCount() {
        * 
* * repeated string ip_ranges = 1; - * * @param index The index of the element to return. * @return The ipRanges at the given index. */ @@ -1221,8 +1100,6 @@ public java.lang.String getIpRanges(int index) { return ipRanges_.get(index); } /** - * - * *
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1230,16 +1107,14 @@ public java.lang.String getIpRanges(int index) {
        * 
* * repeated string ip_ranges = 1; - * * @param index The index of the value to return. * @return The bytes of the ipRanges at the given index. */ - public com.google.protobuf.ByteString getIpRangesBytes(int index) { + public com.google.protobuf.ByteString + getIpRangesBytes(int index) { return ipRanges_.getByteString(index); } /** - * - * *
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1247,23 +1122,21 @@ public com.google.protobuf.ByteString getIpRangesBytes(int index) {
        * 
* * repeated string ip_ranges = 1; - * * @param index The index to set the value at. * @param value The ipRanges to set. * @return This builder for chaining. */ - public Builder setIpRanges(int index, java.lang.String value) { + public Builder setIpRanges( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpRangesIsMutable(); + throw new NullPointerException(); + } + ensureIpRangesIsMutable(); ipRanges_.set(index, value); onChanged(); return this; } /** - * - * *
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1271,22 +1144,20 @@ public Builder setIpRanges(int index, java.lang.String value) {
        * 
* * repeated string ip_ranges = 1; - * * @param value The ipRanges to add. * @return This builder for chaining. */ - public Builder addIpRanges(java.lang.String value) { + public Builder addIpRanges( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpRangesIsMutable(); + throw new NullPointerException(); + } + ensureIpRangesIsMutable(); ipRanges_.add(value); onChanged(); return this; } /** - * - * *
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1294,19 +1165,18 @@ public Builder addIpRanges(java.lang.String value) {
        * 
* * repeated string ip_ranges = 1; - * * @param values The ipRanges to add. * @return This builder for chaining. */ - public Builder addAllIpRanges(java.lang.Iterable values) { + public Builder addAllIpRanges( + java.lang.Iterable values) { ensureIpRangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipRanges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ipRanges_); onChanged(); return this; } /** - * - * *
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1314,7 +1184,6 @@ public Builder addAllIpRanges(java.lang.Iterable values) {
        * 
* * repeated string ip_ranges = 1; - * * @return This builder for chaining. */ public Builder clearIpRanges() { @@ -1324,8 +1193,6 @@ public Builder clearIpRanges() { return this; } /** - * - * *
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1333,21 +1200,20 @@ public Builder clearIpRanges() {
        * 
* * repeated string ip_ranges = 1; - * * @param value The bytes of the ipRanges to add. * @return This builder for chaining. */ - public Builder addIpRangesBytes(com.google.protobuf.ByteString value) { + public Builder addIpRangesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIpRangesIsMutable(); ipRanges_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1360,12 +1226,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.Input.SecurityRule) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.Input.SecurityRule) private static final com.google.cloud.video.livestream.v1.Input.SecurityRule DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.Input.SecurityRule(); } @@ -1374,16 +1240,16 @@ public static com.google.cloud.video.livestream.v1.Input.SecurityRule getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SecurityRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SecurityRule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecurityRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SecurityRule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1398,20 +1264,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.Input.SecurityRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The resource name of the input, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1420,30 +1284,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the input, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* * 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 { @@ -1454,15 +1318,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -1470,15 +1330,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -1486,14 +1342,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1503,15 +1356,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1519,15 +1368,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -1535,14 +1380,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1550,23 +1392,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -1575,30 +1418,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * User-defined key/value metadata.
    * 
@@ -1606,12 +1447,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * User-defined key/value metadata.
    * 
@@ -1619,16 +1459,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * User-defined key/value metadata.
    * 
@@ -1636,11 +1476,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1650,44 +1491,33 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int TYPE_FIELD_NUMBER = 5; private int type_; /** - * - * *
    * Source type.
    * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Source type.
    * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.video.livestream.v1.Input.Type getType() { + @java.lang.Override public com.google.cloud.video.livestream.v1.Input.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Input.Type result = - com.google.cloud.video.livestream.v1.Input.Type.valueOf(type_); + com.google.cloud.video.livestream.v1.Input.Type result = com.google.cloud.video.livestream.v1.Input.Type.valueOf(type_); return result == null ? com.google.cloud.video.livestream.v1.Input.Type.UNRECOGNIZED : result; } public static final int TIER_FIELD_NUMBER = 14; private int tier_; /** - * - * *
    * Tier defines the maximum input specification that is accepted by the
    * video pipeline. The billing is charged based on the tier specified here.
@@ -1696,16 +1526,12 @@ public com.google.cloud.video.livestream.v1.Input.Type getType() {
    * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; - * * @return The enum numeric value on the wire for tier. */ - @java.lang.Override - public int getTierValue() { + @java.lang.Override public int getTierValue() { return tier_; } /** - * - * *
    * Tier defines the maximum input specification that is accepted by the
    * video pipeline. The billing is charged based on the tier specified here.
@@ -1714,22 +1540,17 @@ public int getTierValue() {
    * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; - * * @return The tier. */ - @java.lang.Override - public com.google.cloud.video.livestream.v1.Input.Tier getTier() { + @java.lang.Override public com.google.cloud.video.livestream.v1.Input.Tier getTier() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Input.Tier result = - com.google.cloud.video.livestream.v1.Input.Tier.valueOf(tier_); + com.google.cloud.video.livestream.v1.Input.Tier result = com.google.cloud.video.livestream.v1.Input.Tier.valueOf(tier_); return result == null ? com.google.cloud.video.livestream.v1.Input.Tier.UNRECOGNIZED : result; } public static final int URI_FIELD_NUMBER = 6; private volatile java.lang.Object uri_; /** - * - * *
    * Output only. URI to push the input stream to.
    * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -1738,7 +1559,6 @@ public com.google.cloud.video.livestream.v1.Input.Tier getTier() {
    * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uri. */ @java.lang.Override @@ -1747,15 +1567,14 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * Output only. URI to push the input stream to.
    * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -1764,15 +1583,16 @@ public java.lang.String getUri() {
    * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1783,14 +1603,11 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int PREPROCESSING_CONFIG_FIELD_NUMBER = 9; private com.google.cloud.video.livestream.v1.PreprocessingConfig preprocessingConfig_; /** - * - * *
    * Preprocessing configurations.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; - * * @return Whether the preprocessingConfig field is set. */ @java.lang.Override @@ -1798,25 +1615,18 @@ public boolean hasPreprocessingConfig() { return preprocessingConfig_ != null; } /** - * - * *
    * Preprocessing configurations.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; - * * @return The preprocessingConfig. */ @java.lang.Override public com.google.cloud.video.livestream.v1.PreprocessingConfig getPreprocessingConfig() { - return preprocessingConfig_ == null - ? com.google.cloud.video.livestream.v1.PreprocessingConfig.getDefaultInstance() - : preprocessingConfig_; + return preprocessingConfig_ == null ? com.google.cloud.video.livestream.v1.PreprocessingConfig.getDefaultInstance() : preprocessingConfig_; } /** - * - * *
    * Preprocessing configurations.
    * 
@@ -1824,22 +1634,18 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig getPreprocessing * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder - getPreprocessingConfigOrBuilder() { + public com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder() { return getPreprocessingConfig(); } public static final int SECURITY_RULES_FIELD_NUMBER = 12; private com.google.cloud.video.livestream.v1.Input.SecurityRule securityRules_; /** - * - * *
    * Security rule for access control.
    * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; - * * @return Whether the securityRules field is set. */ @java.lang.Override @@ -1847,25 +1653,18 @@ public boolean hasSecurityRules() { return securityRules_ != null; } /** - * - * *
    * Security rule for access control.
    * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; - * * @return The securityRules. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Input.SecurityRule getSecurityRules() { - return securityRules_ == null - ? com.google.cloud.video.livestream.v1.Input.SecurityRule.getDefaultInstance() - : securityRules_; + return securityRules_ == null ? com.google.cloud.video.livestream.v1.Input.SecurityRule.getDefaultInstance() : securityRules_; } /** - * - * *
    * Security rule for access control.
    * 
@@ -1873,25 +1672,19 @@ public com.google.cloud.video.livestream.v1.Input.SecurityRule getSecurityRules( * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder - getSecurityRulesOrBuilder() { + public com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder getSecurityRulesOrBuilder() { return getSecurityRules(); } public static final int INPUT_STREAM_PROPERTY_FIELD_NUMBER = 15; private com.google.cloud.video.livestream.v1.InputStreamProperty inputStreamProperty_; /** - * - * *
    * Output only. The information for the input stream. This field will be present only when
    * this input receives the input stream.
    * 
* - * - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the inputStreamProperty field is set. */ @java.lang.Override @@ -1899,45 +1692,32 @@ public boolean hasInputStreamProperty() { return inputStreamProperty_ != null; } /** - * - * *
    * Output only. The information for the input stream. This field will be present only when
    * this input receives the input stream.
    * 
* - * - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The inputStreamProperty. */ @java.lang.Override public com.google.cloud.video.livestream.v1.InputStreamProperty getInputStreamProperty() { - return inputStreamProperty_ == null - ? com.google.cloud.video.livestream.v1.InputStreamProperty.getDefaultInstance() - : inputStreamProperty_; + return inputStreamProperty_ == null ? com.google.cloud.video.livestream.v1.InputStreamProperty.getDefaultInstance() : inputStreamProperty_; } /** - * - * *
    * Output only. The information for the input stream. This field will be present only when
    * this input receives the input stream.
    * 
* - * - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder - getInputStreamPropertyOrBuilder() { + public com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder getInputStreamPropertyOrBuilder() { return getInputStreamProperty(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1949,7 +1729,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_); } @@ -1959,8 +1740,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (type_ != com.google.cloud.video.livestream.v1.Input.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, type_); } @@ -1992,39 +1777,45 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); } if (type_ != com.google.cloud.video.livestream.v1.Input.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, uri_); } if (preprocessingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getPreprocessingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getPreprocessingConfig()); } if (securityRules_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getSecurityRules()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getSecurityRules()); } if (tier_ != com.google.cloud.video.livestream.v1.Input.Tier.TIER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, tier_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(14, tier_); } if (inputStreamProperty_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(15, getInputStreamProperty()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getInputStreamProperty()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2034,38 +1825,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.video.livestream.v1.Input)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.Input other = - (com.google.cloud.video.livestream.v1.Input) obj; + com.google.cloud.video.livestream.v1.Input other = (com.google.cloud.video.livestream.v1.Input) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (type_ != other.type_) return false; if (tier_ != other.tier_) return false; - if (!getUri().equals(other.getUri())) return false; + if (!getUri() + .equals(other.getUri())) return false; if (hasPreprocessingConfig() != other.hasPreprocessingConfig()) return false; if (hasPreprocessingConfig()) { - if (!getPreprocessingConfig().equals(other.getPreprocessingConfig())) return false; + if (!getPreprocessingConfig() + .equals(other.getPreprocessingConfig())) return false; } if (hasSecurityRules() != other.hasSecurityRules()) return false; if (hasSecurityRules()) { - if (!getSecurityRules().equals(other.getSecurityRules())) return false; + if (!getSecurityRules() + .equals(other.getSecurityRules())) return false; } if (hasInputStreamProperty() != other.hasInputStreamProperty()) return false; if (hasInputStreamProperty()) { - if (!getInputStreamProperty().equals(other.getInputStreamProperty())) return false; + if (!getInputStreamProperty() + .equals(other.getInputStreamProperty())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2115,104 +1913,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.Input parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.Input parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.Input parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Input parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.Input parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Input parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.Input parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Input parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.Input parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.Input parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.Input parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.Input parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Input parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.Input parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.Input prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Input resource represents the endpoint from which the channel ingests
    * the input stream.
@@ -2220,43 +2011,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.video.livestream.v1.Input}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.Input)
       com.google.cloud.video.livestream.v1.InputOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto
-          .internal_static_google_cloud_video_livestream_v1_Input_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto
-          .internal_static_google_cloud_video_livestream_v1_Input_fieldAccessorTable
+      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.livestream.v1.Input.class,
-              com.google.cloud.video.livestream.v1.Input.Builder.class);
+              com.google.cloud.video.livestream.v1.Input.class, com.google.cloud.video.livestream.v1.Input.Builder.class);
     }
 
     // Construct using com.google.cloud.video.livestream.v1.Input.newBuilder()
@@ -2264,15 +2055,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();
@@ -2319,9 +2111,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto
-          .internal_static_google_cloud_video_livestream_v1_Input_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_descriptor;
     }
 
     @java.lang.Override
@@ -2340,8 +2132,7 @@ public com.google.cloud.video.livestream.v1.Input build() {
 
     @java.lang.Override
     public com.google.cloud.video.livestream.v1.Input buildPartial() {
-      com.google.cloud.video.livestream.v1.Input result =
-          new com.google.cloud.video.livestream.v1.Input(this);
+      com.google.cloud.video.livestream.v1.Input result = new com.google.cloud.video.livestream.v1.Input(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (createTimeBuilder_ == null) {
@@ -2382,39 +2173,38 @@ public com.google.cloud.video.livestream.v1.Input buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.video.livestream.v1.Input) {
-        return mergeFrom((com.google.cloud.video.livestream.v1.Input) other);
+        return mergeFrom((com.google.cloud.video.livestream.v1.Input)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2433,7 +2223,8 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Input other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (other.type_ != 0) {
         setTypeValue(other.getTypeValue());
       }
@@ -2481,26 +2272,23 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * 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; @@ -2509,22 +2297,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * 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 { @@ -2532,64 +2319,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * 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 input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The resource name of the input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * 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; @@ -2597,58 +2377,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2664,17 +2425,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2685,21 +2443,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2711,15 +2465,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2733,64 +2483,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2798,58 +2532,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @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. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2865,17 +2580,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - 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(); @@ -2886,21 +2598,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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; } @@ -2912,15 +2620,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2934,84 +2638,69 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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. The update time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3023,30 +2712,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * User-defined key/value metadata.
      * 
@@ -3054,12 +2741,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * User-defined key/value metadata.
      * 
@@ -3067,17 +2753,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * User-defined key/value metadata.
      * 
@@ -3085,11 +2770,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3097,125 +2783,114 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } private int type_ = 0; /** - * - * *
      * Source type.
      * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Source type.
      * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * Source type.
      * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; - * * @return The type. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Input.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Input.Type result = - com.google.cloud.video.livestream.v1.Input.Type.valueOf(type_); + com.google.cloud.video.livestream.v1.Input.Type result = com.google.cloud.video.livestream.v1.Input.Type.valueOf(type_); return result == null ? com.google.cloud.video.livestream.v1.Input.Type.UNRECOGNIZED : result; } /** - * - * *
      * Source type.
      * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; - * * @param value The type to set. * @return This builder for chaining. */ @@ -3223,24 +2898,21 @@ public Builder setType(com.google.cloud.video.livestream.v1.Input.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Source type.
      * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -3248,8 +2920,6 @@ public Builder clearType() { private int tier_ = 0; /** - * - * *
      * Tier defines the maximum input specification that is accepted by the
      * video pipeline. The billing is charged based on the tier specified here.
@@ -3258,16 +2928,12 @@ public Builder clearType() {
      * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; - * * @return The enum numeric value on the wire for tier. */ - @java.lang.Override - public int getTierValue() { + @java.lang.Override public int getTierValue() { return tier_; } /** - * - * *
      * Tier defines the maximum input specification that is accepted by the
      * video pipeline. The billing is charged based on the tier specified here.
@@ -3276,19 +2942,16 @@ public int getTierValue() {
      * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; - * * @param value The enum numeric value on the wire for tier to set. * @return This builder for chaining. */ public Builder setTierValue(int value) { - + tier_ = value; onChanged(); return this; } /** - * - * *
      * Tier defines the maximum input specification that is accepted by the
      * video pipeline. The billing is charged based on the tier specified here.
@@ -3297,19 +2960,15 @@ public Builder setTierValue(int value) {
      * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; - * * @return The tier. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Input.Tier getTier() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Input.Tier result = - com.google.cloud.video.livestream.v1.Input.Tier.valueOf(tier_); + com.google.cloud.video.livestream.v1.Input.Tier result = com.google.cloud.video.livestream.v1.Input.Tier.valueOf(tier_); return result == null ? com.google.cloud.video.livestream.v1.Input.Tier.UNRECOGNIZED : result; } /** - * - * *
      * Tier defines the maximum input specification that is accepted by the
      * video pipeline. The billing is charged based on the tier specified here.
@@ -3318,7 +2977,6 @@ public com.google.cloud.video.livestream.v1.Input.Tier getTier() {
      * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; - * * @param value The tier to set. * @return This builder for chaining. */ @@ -3326,14 +2984,12 @@ public Builder setTier(com.google.cloud.video.livestream.v1.Input.Tier value) { if (value == null) { throw new NullPointerException(); } - + tier_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Tier defines the maximum input specification that is accepted by the
      * video pipeline. The billing is charged based on the tier specified here.
@@ -3342,11 +2998,10 @@ public Builder setTier(com.google.cloud.video.livestream.v1.Input.Tier value) {
      * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; - * * @return This builder for chaining. */ public Builder clearTier() { - + tier_ = 0; onChanged(); return this; @@ -3354,8 +3009,6 @@ public Builder clearTier() { private java.lang.Object uri_ = ""; /** - * - * *
      * Output only. URI to push the input stream to.
      * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -3364,13 +3017,13 @@ public Builder clearTier() {
      * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -3379,8 +3032,6 @@ public java.lang.String getUri() { } } /** - * - * *
      * Output only. URI to push the input stream to.
      * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -3389,14 +3040,15 @@ public java.lang.String getUri() {
      * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -3404,8 +3056,6 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * Output only. URI to push the input stream to.
      * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -3414,22 +3064,20 @@ public com.google.protobuf.ByteString getUriBytes() {
      * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
      * Output only. URI to push the input stream to.
      * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -3438,18 +3086,15 @@ public Builder setUri(java.lang.String value) {
      * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
      * Output only. URI to push the input stream to.
      * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -3458,16 +3103,16 @@ public Builder clearUri() {
      * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -3475,55 +3120,41 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private com.google.cloud.video.livestream.v1.PreprocessingConfig preprocessingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig, - com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder, - com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder> - preprocessingConfigBuilder_; + com.google.cloud.video.livestream.v1.PreprocessingConfig, com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder> preprocessingConfigBuilder_; /** - * - * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; - * * @return Whether the preprocessingConfig field is set. */ public boolean hasPreprocessingConfig() { return preprocessingConfigBuilder_ != null || preprocessingConfig_ != null; } /** - * - * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; - * * @return The preprocessingConfig. */ public com.google.cloud.video.livestream.v1.PreprocessingConfig getPreprocessingConfig() { if (preprocessingConfigBuilder_ == null) { - return preprocessingConfig_ == null - ? com.google.cloud.video.livestream.v1.PreprocessingConfig.getDefaultInstance() - : preprocessingConfig_; + return preprocessingConfig_ == null ? com.google.cloud.video.livestream.v1.PreprocessingConfig.getDefaultInstance() : preprocessingConfig_; } else { return preprocessingConfigBuilder_.getMessage(); } } /** - * - * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; */ - public Builder setPreprocessingConfig( - com.google.cloud.video.livestream.v1.PreprocessingConfig value) { + public Builder setPreprocessingConfig(com.google.cloud.video.livestream.v1.PreprocessingConfig value) { if (preprocessingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3537,8 +3168,6 @@ public Builder setPreprocessingConfig( return this; } /** - * - * *
      * Preprocessing configurations.
      * 
@@ -3557,23 +3186,17 @@ public Builder setPreprocessingConfig( return this; } /** - * - * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; */ - public Builder mergePreprocessingConfig( - com.google.cloud.video.livestream.v1.PreprocessingConfig value) { + public Builder mergePreprocessingConfig(com.google.cloud.video.livestream.v1.PreprocessingConfig value) { if (preprocessingConfigBuilder_ == null) { if (preprocessingConfig_ != null) { preprocessingConfig_ = - com.google.cloud.video.livestream.v1.PreprocessingConfig.newBuilder( - preprocessingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.livestream.v1.PreprocessingConfig.newBuilder(preprocessingConfig_).mergeFrom(value).buildPartial(); } else { preprocessingConfig_ = value; } @@ -3585,8 +3208,6 @@ public Builder mergePreprocessingConfig( return this; } /** - * - * *
      * Preprocessing configurations.
      * 
@@ -3605,42 +3226,33 @@ public Builder clearPreprocessingConfig() { return this; } /** - * - * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; */ - public com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder - getPreprocessingConfigBuilder() { - + public com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder getPreprocessingConfigBuilder() { + onChanged(); return getPreprocessingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; */ - public com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder - getPreprocessingConfigOrBuilder() { + public com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder() { if (preprocessingConfigBuilder_ != null) { return preprocessingConfigBuilder_.getMessageOrBuilder(); } else { - return preprocessingConfig_ == null - ? com.google.cloud.video.livestream.v1.PreprocessingConfig.getDefaultInstance() - : preprocessingConfig_; + return preprocessingConfig_ == null ? + com.google.cloud.video.livestream.v1.PreprocessingConfig.getDefaultInstance() : preprocessingConfig_; } } /** - * - * *
      * Preprocessing configurations.
      * 
@@ -3648,17 +3260,14 @@ public Builder clearPreprocessingConfig() { * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig, - com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder, - com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder> + com.google.cloud.video.livestream.v1.PreprocessingConfig, com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder> getPreprocessingConfigFieldBuilder() { if (preprocessingConfigBuilder_ == null) { - preprocessingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig, - com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder, - com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder>( - getPreprocessingConfig(), getParentForChildren(), isClean()); + preprocessingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.PreprocessingConfig, com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder>( + getPreprocessingConfig(), + getParentForChildren(), + isClean()); preprocessingConfig_ = null; } return preprocessingConfigBuilder_; @@ -3666,47 +3275,34 @@ public Builder clearPreprocessingConfig() { private com.google.cloud.video.livestream.v1.Input.SecurityRule securityRules_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input.SecurityRule, - com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder, - com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder> - securityRulesBuilder_; + com.google.cloud.video.livestream.v1.Input.SecurityRule, com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder, com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder> securityRulesBuilder_; /** - * - * *
      * Security rule for access control.
      * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; - * * @return Whether the securityRules field is set. */ public boolean hasSecurityRules() { return securityRulesBuilder_ != null || securityRules_ != null; } /** - * - * *
      * Security rule for access control.
      * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; - * * @return The securityRules. */ public com.google.cloud.video.livestream.v1.Input.SecurityRule getSecurityRules() { if (securityRulesBuilder_ == null) { - return securityRules_ == null - ? com.google.cloud.video.livestream.v1.Input.SecurityRule.getDefaultInstance() - : securityRules_; + return securityRules_ == null ? com.google.cloud.video.livestream.v1.Input.SecurityRule.getDefaultInstance() : securityRules_; } else { return securityRulesBuilder_.getMessage(); } } /** - * - * *
      * Security rule for access control.
      * 
@@ -3727,8 +3323,6 @@ public Builder setSecurityRules(com.google.cloud.video.livestream.v1.Input.Secur return this; } /** - * - * *
      * Security rule for access control.
      * 
@@ -3747,22 +3341,17 @@ public Builder setSecurityRules( return this; } /** - * - * *
      * Security rule for access control.
      * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; */ - public Builder mergeSecurityRules( - com.google.cloud.video.livestream.v1.Input.SecurityRule value) { + public Builder mergeSecurityRules(com.google.cloud.video.livestream.v1.Input.SecurityRule value) { if (securityRulesBuilder_ == null) { if (securityRules_ != null) { securityRules_ = - com.google.cloud.video.livestream.v1.Input.SecurityRule.newBuilder(securityRules_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.livestream.v1.Input.SecurityRule.newBuilder(securityRules_).mergeFrom(value).buildPartial(); } else { securityRules_ = value; } @@ -3774,8 +3363,6 @@ public Builder mergeSecurityRules( return this; } /** - * - * *
      * Security rule for access control.
      * 
@@ -3794,42 +3381,33 @@ public Builder clearSecurityRules() { return this; } /** - * - * *
      * Security rule for access control.
      * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; */ - public com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder - getSecurityRulesBuilder() { - + public com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder getSecurityRulesBuilder() { + onChanged(); return getSecurityRulesFieldBuilder().getBuilder(); } /** - * - * *
      * Security rule for access control.
      * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; */ - public com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder - getSecurityRulesOrBuilder() { + public com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder getSecurityRulesOrBuilder() { if (securityRulesBuilder_ != null) { return securityRulesBuilder_.getMessageOrBuilder(); } else { - return securityRules_ == null - ? com.google.cloud.video.livestream.v1.Input.SecurityRule.getDefaultInstance() - : securityRules_; + return securityRules_ == null ? + com.google.cloud.video.livestream.v1.Input.SecurityRule.getDefaultInstance() : securityRules_; } } /** - * - * *
      * Security rule for access control.
      * 
@@ -3837,17 +3415,14 @@ public Builder clearSecurityRules() { * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input.SecurityRule, - com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder, - com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder> + com.google.cloud.video.livestream.v1.Input.SecurityRule, com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder, com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder> getSecurityRulesFieldBuilder() { if (securityRulesBuilder_ == null) { - securityRulesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input.SecurityRule, - com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder, - com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder>( - getSecurityRules(), getParentForChildren(), isClean()); + securityRulesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.Input.SecurityRule, com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder, com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder>( + getSecurityRules(), + getParentForChildren(), + isClean()); securityRules_ = null; } return securityRulesBuilder_; @@ -3855,64 +3430,44 @@ public Builder clearSecurityRules() { private com.google.cloud.video.livestream.v1.InputStreamProperty inputStreamProperty_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputStreamProperty, - com.google.cloud.video.livestream.v1.InputStreamProperty.Builder, - com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder> - inputStreamPropertyBuilder_; + com.google.cloud.video.livestream.v1.InputStreamProperty, com.google.cloud.video.livestream.v1.InputStreamProperty.Builder, com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder> inputStreamPropertyBuilder_; /** - * - * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the inputStreamProperty field is set. */ public boolean hasInputStreamProperty() { return inputStreamPropertyBuilder_ != null || inputStreamProperty_ != null; } /** - * - * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The inputStreamProperty. */ public com.google.cloud.video.livestream.v1.InputStreamProperty getInputStreamProperty() { if (inputStreamPropertyBuilder_ == null) { - return inputStreamProperty_ == null - ? com.google.cloud.video.livestream.v1.InputStreamProperty.getDefaultInstance() - : inputStreamProperty_; + return inputStreamProperty_ == null ? com.google.cloud.video.livestream.v1.InputStreamProperty.getDefaultInstance() : inputStreamProperty_; } else { return inputStreamPropertyBuilder_.getMessage(); } } /** - * - * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setInputStreamProperty( - com.google.cloud.video.livestream.v1.InputStreamProperty value) { + public Builder setInputStreamProperty(com.google.cloud.video.livestream.v1.InputStreamProperty value) { if (inputStreamPropertyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3926,16 +3481,12 @@ public Builder setInputStreamProperty( return this; } /** - * - * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setInputStreamProperty( com.google.cloud.video.livestream.v1.InputStreamProperty.Builder builderForValue) { @@ -3949,26 +3500,18 @@ public Builder setInputStreamProperty( return this; } /** - * - * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeInputStreamProperty( - com.google.cloud.video.livestream.v1.InputStreamProperty value) { + public Builder mergeInputStreamProperty(com.google.cloud.video.livestream.v1.InputStreamProperty value) { if (inputStreamPropertyBuilder_ == null) { if (inputStreamProperty_ != null) { inputStreamProperty_ = - com.google.cloud.video.livestream.v1.InputStreamProperty.newBuilder( - inputStreamProperty_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.livestream.v1.InputStreamProperty.newBuilder(inputStreamProperty_).mergeFrom(value).buildPartial(); } else { inputStreamProperty_ = value; } @@ -3980,16 +3523,12 @@ public Builder mergeInputStreamProperty( return this; } /** - * - * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearInputStreamProperty() { if (inputStreamPropertyBuilder_ == null) { @@ -4003,76 +3542,58 @@ public Builder clearInputStreamProperty() { return this; } /** - * - * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.video.livestream.v1.InputStreamProperty.Builder - getInputStreamPropertyBuilder() { - + public com.google.cloud.video.livestream.v1.InputStreamProperty.Builder getInputStreamPropertyBuilder() { + onChanged(); return getInputStreamPropertyFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder - getInputStreamPropertyOrBuilder() { + public com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder getInputStreamPropertyOrBuilder() { if (inputStreamPropertyBuilder_ != null) { return inputStreamPropertyBuilder_.getMessageOrBuilder(); } else { - return inputStreamProperty_ == null - ? com.google.cloud.video.livestream.v1.InputStreamProperty.getDefaultInstance() - : inputStreamProperty_; + return inputStreamProperty_ == null ? + com.google.cloud.video.livestream.v1.InputStreamProperty.getDefaultInstance() : inputStreamProperty_; } } /** - * - * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputStreamProperty, - com.google.cloud.video.livestream.v1.InputStreamProperty.Builder, - com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder> + com.google.cloud.video.livestream.v1.InputStreamProperty, com.google.cloud.video.livestream.v1.InputStreamProperty.Builder, com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder> getInputStreamPropertyFieldBuilder() { if (inputStreamPropertyBuilder_ == null) { - inputStreamPropertyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputStreamProperty, - com.google.cloud.video.livestream.v1.InputStreamProperty.Builder, - com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder>( - getInputStreamProperty(), getParentForChildren(), isClean()); + inputStreamPropertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.InputStreamProperty, com.google.cloud.video.livestream.v1.InputStreamProperty.Builder, com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder>( + getInputStreamProperty(), + getParentForChildren(), + isClean()); inputStreamProperty_ = null; } return inputStreamPropertyBuilder_; } - @java.lang.Override - 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,12 +3603,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.Input) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.Input) private static final com.google.cloud.video.livestream.v1.Input DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.Input(); } @@ -4096,16 +3617,16 @@ public static com.google.cloud.video.livestream.v1.Input getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Input parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Input(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Input parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Input(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4120,4 +3641,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.Input getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachment.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachment.java similarity index 69% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachment.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachment.java index fb05de8..5215f3e 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachment.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachment.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * A group of information for attaching an input resource to this channel.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.InputAttachment} */ -public final class InputAttachment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InputAttachment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.InputAttachment) InputAttachmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InputAttachment.newBuilder() to construct. private InputAttachment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InputAttachment() { key_ = ""; input_ = ""; @@ -44,15 +26,16 @@ private InputAttachment() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InputAttachment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InputAttachment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,46 +54,38 @@ private InputAttachment( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - key_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + key_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - input_ = s; - break; + input_ = s; + break; + } + case 26: { + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder subBuilder = null; + if (automaticFailover_ != null) { + subBuilder = automaticFailover_.toBuilder(); } - case 26: - { - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder - subBuilder = null; - if (automaticFailover_ != null) { - subBuilder = automaticFailover_.toBuilder(); - } - automaticFailover_ = - input.readMessage( - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(automaticFailover_); - automaticFailover_ = subBuilder.buildPartial(); - } - - break; + automaticFailover_ = input.readMessage(com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(automaticFailover_); + automaticFailover_ = 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) { @@ -118,122 +93,107 @@ private InputAttachment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_InputAttachment_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.InputAttachment.class, - com.google.cloud.video.livestream.v1.InputAttachment.Builder.class); + com.google.cloud.video.livestream.v1.InputAttachment.class, com.google.cloud.video.livestream.v1.InputAttachment.Builder.class); } - public interface AutomaticFailoverOrBuilder - extends + public interface AutomaticFailoverOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
      * disconnected. Currently, only up to one backup input is supported.
      * 
* * repeated string input_keys = 1; - * * @return A list containing the inputKeys. */ - java.util.List getInputKeysList(); + java.util.List + getInputKeysList(); /** - * - * *
      * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
      * disconnected. Currently, only up to one backup input is supported.
      * 
* * repeated string input_keys = 1; - * * @return The count of inputKeys. */ int getInputKeysCount(); /** - * - * *
      * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
      * disconnected. Currently, only up to one backup input is supported.
      * 
* * repeated string input_keys = 1; - * * @param index The index of the element to return. * @return The inputKeys at the given index. */ java.lang.String getInputKeys(int index); /** - * - * *
      * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
      * disconnected. Currently, only up to one backup input is supported.
      * 
* * repeated string input_keys = 1; - * * @param index The index of the value to return. * @return The bytes of the inputKeys at the given index. */ - com.google.protobuf.ByteString getInputKeysBytes(int index); + com.google.protobuf.ByteString + getInputKeysBytes(int index); } /** - * - * *
    * Configurations to follow when automatic failover happens.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover} */ - public static final class AutomaticFailover extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AutomaticFailover extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) AutomaticFailoverOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AutomaticFailover.newBuilder() to construct. private AutomaticFailover(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AutomaticFailover() { inputKeys_ = 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 AutomaticFailover(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AutomaticFailover( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -253,23 +213,22 @@ private AutomaticFailover( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - inputKeys_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - inputKeys_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + inputKeys_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + inputKeys_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -277,7 +236,8 @@ private AutomaticFailover( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { inputKeys_ = inputKeys_.getUnmodifiableView(); @@ -286,64 +246,53 @@ private AutomaticFailover( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.class, - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder.class); + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.class, com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder.class); } public static final int INPUT_KEYS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList inputKeys_; /** - * - * *
      * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
      * disconnected. Currently, only up to one backup input is supported.
      * 
* * repeated string input_keys = 1; - * * @return A list containing the inputKeys. */ - public com.google.protobuf.ProtocolStringList getInputKeysList() { + public com.google.protobuf.ProtocolStringList + getInputKeysList() { return inputKeys_; } /** - * - * *
      * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
      * disconnected. Currently, only up to one backup input is supported.
      * 
* * repeated string input_keys = 1; - * * @return The count of inputKeys. */ public int getInputKeysCount() { return inputKeys_.size(); } /** - * - * *
      * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
      * disconnected. Currently, only up to one backup input is supported.
      * 
* * repeated string input_keys = 1; - * * @param index The index of the element to return. * @return The inputKeys at the given index. */ @@ -351,24 +300,21 @@ public java.lang.String getInputKeys(int index) { return inputKeys_.get(index); } /** - * - * *
      * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
      * disconnected. Currently, only up to one backup input is supported.
      * 
* * repeated string input_keys = 1; - * * @param index The index of the value to return. * @return The bytes of the inputKeys at the given index. */ - public com.google.protobuf.ByteString getInputKeysBytes(int index) { + public com.google.protobuf.ByteString + getInputKeysBytes(int index) { return inputKeys_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -380,7 +326,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 < inputKeys_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputKeys_.getRaw(i)); } @@ -409,16 +356,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover)) { + if (!(obj instanceof com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover other = - (com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) obj; + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover other = (com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) obj; - if (!getInputKeysList().equals(other.getInputKeysList())) return false; + if (!getInputKeysList() + .equals(other.getInputKeysList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -440,95 +386,87 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -538,50 +476,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configurations to follow when automatic failover happens.
      * 
* * Protobuf type {@code google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.class, - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder - .class); + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.class, com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder.class); } - // Construct using - // com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.newBuilder() + // Construct using com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.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(); @@ -591,22 +523,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor; } @java.lang.Override - public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover - getDefaultInstanceForType() { - return com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover - .getDefaultInstance(); + public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover getDefaultInstanceForType() { + return com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.getDefaultInstance(); } @java.lang.Override public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover build() { - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover result = - buildPartial(); + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -615,8 +544,7 @@ public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover bu @java.lang.Override public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover buildPartial() { - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover result = - new com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover(this); + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover result = new com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { inputKeys_ = inputKeys_.getUnmodifiableView(); @@ -631,54 +559,46 @@ public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) { - return mergeFrom( - (com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) other); + if (other instanceof com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) { + return mergeFrom((com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover other) { - if (other - == com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover other) { + if (other == com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.getDefaultInstance()) return this; if (!other.inputKeys_.isEmpty()) { if (inputKeys_.isEmpty()) { inputKeys_ = other.inputKeys_; @@ -708,9 +628,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -719,58 +637,47 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList inputKeys_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList inputKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInputKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { inputKeys_ = new com.google.protobuf.LazyStringArrayList(inputKeys_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; - * * @return A list containing the inputKeys. */ - public com.google.protobuf.ProtocolStringList getInputKeysList() { + public com.google.protobuf.ProtocolStringList + getInputKeysList() { return inputKeys_.getUnmodifiableView(); } /** - * - * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; - * * @return The count of inputKeys. */ public int getInputKeysCount() { return inputKeys_.size(); } /** - * - * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; - * * @param index The index of the element to return. * @return The inputKeys at the given index. */ @@ -778,95 +685,85 @@ public java.lang.String getInputKeys(int index) { return inputKeys_.get(index); } /** - * - * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; - * * @param index The index of the value to return. * @return The bytes of the inputKeys at the given index. */ - public com.google.protobuf.ByteString getInputKeysBytes(int index) { + public com.google.protobuf.ByteString + getInputKeysBytes(int index) { return inputKeys_.getByteString(index); } /** - * - * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; - * * @param index The index to set the value at. * @param value The inputKeys to set. * @return This builder for chaining. */ - public Builder setInputKeys(int index, java.lang.String value) { + public Builder setInputKeys( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInputKeysIsMutable(); + throw new NullPointerException(); + } + ensureInputKeysIsMutable(); inputKeys_.set(index, value); onChanged(); return this; } /** - * - * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; - * * @param value The inputKeys to add. * @return This builder for chaining. */ - public Builder addInputKeys(java.lang.String value) { + public Builder addInputKeys( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInputKeysIsMutable(); + throw new NullPointerException(); + } + ensureInputKeysIsMutable(); inputKeys_.add(value); onChanged(); return this; } /** - * - * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; - * * @param values The inputKeys to add. * @return This builder for chaining. */ - public Builder addAllInputKeys(java.lang.Iterable values) { + public Builder addAllInputKeys( + java.lang.Iterable values) { ensureInputKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inputKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, inputKeys_); onChanged(); return this; } /** - * - * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; - * * @return This builder for chaining. */ public Builder clearInputKeys() { @@ -876,29 +773,26 @@ public Builder clearInputKeys() { return this; } /** - * - * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; - * * @param value The bytes of the inputKeys to add. * @return This builder for chaining. */ - public Builder addInputKeysBytes(com.google.protobuf.ByteString value) { + public Builder addInputKeysBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInputKeysIsMutable(); inputKeys_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -911,33 +805,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) - private static final com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover - DEFAULT_INSTANCE; - + private static final com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover(); + DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover(); } - public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover - getDefaultInstance() { + public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutomaticFailover parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AutomaticFailover(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutomaticFailover parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AutomaticFailover(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -949,23 +840,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover - getDefaultInstanceForType() { + public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** - * - * *
    * A unique key for this input attachment.
    * 
* * string key = 1; - * * @return The key. */ @java.lang.Override @@ -974,29 +862,29 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** - * - * *
    * A unique key for this input attachment.
    * 
* * string key = 1; - * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -1007,15 +895,12 @@ public com.google.protobuf.ByteString getKeyBytes() { public static final int INPUT_FIELD_NUMBER = 2; private volatile java.lang.Object input_; /** - * - * *
    * The resource name of an existing input, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* * string input = 2 [(.google.api.resource_reference) = { ... } - * * @return The input. */ @java.lang.Override @@ -1024,30 +909,30 @@ public java.lang.String getInput() { 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(); input_ = s; return s; } } /** - * - * *
    * The resource name of an existing input, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* * string input = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for input. */ @java.lang.Override - public com.google.protobuf.ByteString getInputBytes() { + public com.google.protobuf.ByteString + getInputBytes() { java.lang.Object ref = input_; 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); input_ = b; return b; } else { @@ -1058,16 +943,11 @@ public com.google.protobuf.ByteString getInputBytes() { public static final int AUTOMATIC_FAILOVER_FIELD_NUMBER = 3; private com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automaticFailover_; /** - * - * *
    * Automatic failover configurations.
    * 
* - * - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; - * - * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; * @return Whether the automaticFailover field is set. */ @java.lang.Override @@ -1075,45 +955,30 @@ public boolean hasAutomaticFailover() { return automaticFailover_ != null; } /** - * - * *
    * Automatic failover configurations.
    * 
* - * - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; - * - * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; * @return The automaticFailover. */ @java.lang.Override - public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover - getAutomaticFailover() { - return automaticFailover_ == null - ? com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover - .getDefaultInstance() - : automaticFailover_; + public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover getAutomaticFailover() { + return automaticFailover_ == null ? com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.getDefaultInstance() : automaticFailover_; } /** - * - * *
    * Automatic failover configurations.
    * 
* - * - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; - * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder - getAutomaticFailoverOrBuilder() { + public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder getAutomaticFailoverOrBuilder() { return getAutomaticFailover(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1125,7 +990,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } @@ -1151,7 +1017,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, input_); } if (automaticFailover_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAutomaticFailover()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAutomaticFailover()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1161,19 +1028,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.InputAttachment)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.InputAttachment other = - (com.google.cloud.video.livestream.v1.InputAttachment) obj; + com.google.cloud.video.livestream.v1.InputAttachment other = (com.google.cloud.video.livestream.v1.InputAttachment) obj; - if (!getKey().equals(other.getKey())) return false; - if (!getInput().equals(other.getInput())) return false; + if (!getKey() + .equals(other.getKey())) return false; + if (!getInput() + .equals(other.getInput())) return false; if (hasAutomaticFailover() != other.hasAutomaticFailover()) return false; if (hasAutomaticFailover()) { - if (!getAutomaticFailover().equals(other.getAutomaticFailover())) return false; + if (!getAutomaticFailover() + .equals(other.getAutomaticFailover())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1200,126 +1069,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.InputAttachment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.InputAttachment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.InputAttachment parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.InputAttachment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 group of information for attaching an input resource to this channel.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.InputAttachment} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.InputAttachment) com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_InputAttachment_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.InputAttachment.class, - com.google.cloud.video.livestream.v1.InputAttachment.Builder.class); + com.google.cloud.video.livestream.v1.InputAttachment.class, com.google.cloud.video.livestream.v1.InputAttachment.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.InputAttachment.newBuilder() @@ -1327,15 +1187,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(); @@ -1353,9 +1214,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor; } @java.lang.Override @@ -1374,8 +1235,7 @@ public com.google.cloud.video.livestream.v1.InputAttachment build() { @java.lang.Override public com.google.cloud.video.livestream.v1.InputAttachment buildPartial() { - com.google.cloud.video.livestream.v1.InputAttachment result = - new com.google.cloud.video.livestream.v1.InputAttachment(this); + com.google.cloud.video.livestream.v1.InputAttachment result = new com.google.cloud.video.livestream.v1.InputAttachment(this); result.key_ = key_; result.input_ = input_; if (automaticFailoverBuilder_ == null) { @@ -1391,39 +1251,38 @@ public com.google.cloud.video.livestream.v1.InputAttachment buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.InputAttachment) { - return mergeFrom((com.google.cloud.video.livestream.v1.InputAttachment) other); + return mergeFrom((com.google.cloud.video.livestream.v1.InputAttachment)other); } else { super.mergeFrom(other); return this; @@ -1431,8 +1290,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.InputAttachment other) { - if (other == com.google.cloud.video.livestream.v1.InputAttachment.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.InputAttachment.getDefaultInstance()) return this; if (!other.getKey().isEmpty()) { key_ = other.key_; onChanged(); @@ -1463,8 +1321,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.InputAttachment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.InputAttachment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1476,20 +1333,18 @@ public Builder mergeFrom( private java.lang.Object key_ = ""; /** - * - * *
      * A unique key for this input attachment.
      * 
* * string key = 1; - * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -1498,21 +1353,20 @@ public java.lang.String getKey() { } } /** - * - * *
      * A unique key for this input attachment.
      * 
* * string key = 1; - * * @return The bytes for key. */ - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -1520,61 +1374,54 @@ public com.google.protobuf.ByteString getKeyBytes() { } } /** - * - * *
      * A unique key for this input attachment.
      * 
* * string key = 1; - * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey(java.lang.String value) { + public Builder setKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** - * - * *
      * A unique key for this input attachment.
      * 
* * string key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** - * - * *
      * A unique key for this input attachment.
      * 
* * string key = 1; - * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; @@ -1582,21 +1429,19 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) { private java.lang.Object input_ = ""; /** - * - * *
      * The resource name of an existing input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * string input = 2 [(.google.api.resource_reference) = { ... } - * * @return The input. */ public java.lang.String getInput() { java.lang.Object ref = input_; 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(); input_ = s; return s; @@ -1605,22 +1450,21 @@ public java.lang.String getInput() { } } /** - * - * *
      * The resource name of an existing input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * string input = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for input. */ - public com.google.protobuf.ByteString getInputBytes() { + public com.google.protobuf.ByteString + getInputBytes() { java.lang.Object ref = input_; 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); input_ = b; return b; } else { @@ -1628,129 +1472,99 @@ public com.google.protobuf.ByteString getInputBytes() { } } /** - * - * *
      * The resource name of an existing input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * string input = 2 [(.google.api.resource_reference) = { ... } - * * @param value The input to set. * @return This builder for chaining. */ - public Builder setInput(java.lang.String value) { + public Builder setInput( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + input_ = value; onChanged(); return this; } /** - * - * *
      * The resource name of an existing input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * string input = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearInput() { - + input_ = getDefaultInstance().getInput(); onChanged(); return this; } /** - * - * *
      * The resource name of an existing input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * string input = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for input to set. * @return This builder for chaining. */ - public Builder setInputBytes(com.google.protobuf.ByteString value) { + public Builder setInputBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + input_ = value; onChanged(); return this; } - private com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover - automaticFailover_; + private com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automaticFailover_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover, - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder, - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder> - automaticFailoverBuilder_; + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover, com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder, com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder> automaticFailoverBuilder_; /** - * - * *
      * Automatic failover configurations.
      * 
* - * - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; - * - * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; * @return Whether the automaticFailover field is set. */ public boolean hasAutomaticFailover() { return automaticFailoverBuilder_ != null || automaticFailover_ != null; } /** - * - * *
      * Automatic failover configurations.
      * 
* - * - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; - * - * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; * @return The automaticFailover. */ - public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover - getAutomaticFailover() { + public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover getAutomaticFailover() { if (automaticFailoverBuilder_ == null) { - return automaticFailover_ == null - ? com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover - .getDefaultInstance() - : automaticFailover_; + return automaticFailover_ == null ? com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.getDefaultInstance() : automaticFailover_; } else { return automaticFailoverBuilder_.getMessage(); } } /** - * - * *
      * Automatic failover configurations.
      * 
* - * - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; - * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; */ - public Builder setAutomaticFailover( - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover value) { + public Builder setAutomaticFailover(com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover value) { if (automaticFailoverBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1764,19 +1578,14 @@ public Builder setAutomaticFailover( return this; } /** - * - * *
      * Automatic failover configurations.
      * 
* - * - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; - * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; */ public Builder setAutomaticFailover( - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder - builderForValue) { + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder builderForValue) { if (automaticFailoverBuilder_ == null) { automaticFailover_ = builderForValue.build(); onChanged(); @@ -1787,25 +1596,17 @@ public Builder setAutomaticFailover( return this; } /** - * - * *
      * Automatic failover configurations.
      * 
* - * - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; - * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; */ - public Builder mergeAutomaticFailover( - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover value) { + public Builder mergeAutomaticFailover(com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover value) { if (automaticFailoverBuilder_ == null) { if (automaticFailover_ != null) { automaticFailover_ = - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.newBuilder( - automaticFailover_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.newBuilder(automaticFailover_).mergeFrom(value).buildPartial(); } else { automaticFailover_ = value; } @@ -1817,15 +1618,11 @@ public Builder mergeAutomaticFailover( return this; } /** - * - * *
      * Automatic failover configurations.
      * 
* - * - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; - * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; */ public Builder clearAutomaticFailover() { if (automaticFailoverBuilder_ == null) { @@ -1839,74 +1636,55 @@ public Builder clearAutomaticFailover() { return this; } /** - * - * *
      * Automatic failover configurations.
      * 
* - * - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; - * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; */ - public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder - getAutomaticFailoverBuilder() { - + public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder getAutomaticFailoverBuilder() { + onChanged(); return getAutomaticFailoverFieldBuilder().getBuilder(); } /** - * - * *
      * Automatic failover configurations.
      * 
* - * - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; - * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; */ - public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder - getAutomaticFailoverOrBuilder() { + public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder getAutomaticFailoverOrBuilder() { if (automaticFailoverBuilder_ != null) { return automaticFailoverBuilder_.getMessageOrBuilder(); } else { - return automaticFailover_ == null - ? com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover - .getDefaultInstance() - : automaticFailover_; + return automaticFailover_ == null ? + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.getDefaultInstance() : automaticFailover_; } } /** - * - * *
      * Automatic failover configurations.
      * 
* - * - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; - * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover, - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder, - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder> + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover, com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder, com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder> getAutomaticFailoverFieldBuilder() { if (automaticFailoverBuilder_ == null) { - automaticFailoverBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover, - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder, - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder>( - getAutomaticFailover(), getParentForChildren(), isClean()); + automaticFailoverBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover, com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder, com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder>( + getAutomaticFailover(), + getParentForChildren(), + isClean()); automaticFailover_ = null; } return automaticFailoverBuilder_; } - @java.lang.Override - 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 +1694,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.InputAttachment) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.InputAttachment) private static final com.google.cloud.video.livestream.v1.InputAttachment DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.InputAttachment(); } @@ -1930,16 +1708,16 @@ public static com.google.cloud.video.livestream.v1.InputAttachment getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InputAttachment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InputAttachment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InputAttachment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InputAttachment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1954,4 +1732,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.InputAttachment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachmentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachmentOrBuilder.java similarity index 57% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachmentOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachmentOrBuilder.java index caeab31..cf14f94 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachmentOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachmentOrBuilder.java @@ -1,119 +1,78 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface InputAttachmentOrBuilder - extends +public interface InputAttachmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.InputAttachment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A unique key for this input attachment.
    * 
* * string key = 1; - * * @return The key. */ java.lang.String getKey(); /** - * - * *
    * A unique key for this input attachment.
    * 
* * string key = 1; - * * @return The bytes for key. */ - com.google.protobuf.ByteString getKeyBytes(); + com.google.protobuf.ByteString + getKeyBytes(); /** - * - * *
    * The resource name of an existing input, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* * string input = 2 [(.google.api.resource_reference) = { ... } - * * @return The input. */ java.lang.String getInput(); /** - * - * *
    * The resource name of an existing input, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* * string input = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for input. */ - com.google.protobuf.ByteString getInputBytes(); + com.google.protobuf.ByteString + getInputBytes(); /** - * - * *
    * Automatic failover configurations.
    * 
* - * - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; - * - * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; * @return Whether the automaticFailover field is set. */ boolean hasAutomaticFailover(); /** - * - * *
    * Automatic failover configurations.
    * 
* - * - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; - * - * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; * @return The automaticFailover. */ com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover getAutomaticFailover(); /** - * - * *
    * Automatic failover configurations.
    * 
* - * - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; - * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; */ - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder - getAutomaticFailoverOrBuilder(); + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder getAutomaticFailoverOrBuilder(); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputName.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputName.java similarity index 100% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputName.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputName.java diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputOrBuilder.java similarity index 76% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputOrBuilder.java index bb7b245..e30e2b2 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputOrBuilder.java @@ -1,134 +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/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface InputOrBuilder - extends +public interface InputOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.Input) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the input, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the input, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * User-defined key/value metadata.
    * 
@@ -137,31 +92,30 @@ public interface InputOrBuilder */ int getLabelsCount(); /** - * - * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * User-defined key/value metadata.
    * 
@@ -170,49 +124,41 @@ public interface InputOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Source type.
    * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Source type.
    * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; - * * @return The type. */ com.google.cloud.video.livestream.v1.Input.Type getType(); /** - * - * *
    * Tier defines the maximum input specification that is accepted by the
    * video pipeline. The billing is charged based on the tier specified here.
@@ -221,13 +167,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; - * * @return The enum numeric value on the wire for tier. */ int getTierValue(); /** - * - * *
    * Tier defines the maximum input specification that is accepted by the
    * video pipeline. The billing is charged based on the tier specified here.
@@ -236,14 +179,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; - * * @return The tier. */ com.google.cloud.video.livestream.v1.Input.Tier getTier(); /** - * - * *
    * Output only. URI to push the input stream to.
    * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -252,13 +192,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * Output only. URI to push the input stream to.
    * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -267,74 +204,57 @@ java.lang.String getLabelsOrDefault(
    * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Preprocessing configurations.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; - * * @return Whether the preprocessingConfig field is set. */ boolean hasPreprocessingConfig(); /** - * - * *
    * Preprocessing configurations.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; - * * @return The preprocessingConfig. */ com.google.cloud.video.livestream.v1.PreprocessingConfig getPreprocessingConfig(); /** - * - * *
    * Preprocessing configurations.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; */ - com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder - getPreprocessingConfigOrBuilder(); + com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder(); /** - * - * *
    * Security rule for access control.
    * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; - * * @return Whether the securityRules field is set. */ boolean hasSecurityRules(); /** - * - * *
    * Security rule for access control.
    * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; - * * @return The securityRules. */ com.google.cloud.video.livestream.v1.Input.SecurityRule getSecurityRules(); /** - * - * *
    * Security rule for access control.
    * 
@@ -344,47 +264,32 @@ java.lang.String getLabelsOrDefault( com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder getSecurityRulesOrBuilder(); /** - * - * *
    * Output only. The information for the input stream. This field will be present only when
    * this input receives the input stream.
    * 
* - * - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the inputStreamProperty field is set. */ boolean hasInputStreamProperty(); /** - * - * *
    * Output only. The information for the input stream. This field will be present only when
    * this input receives the input stream.
    * 
* - * - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The inputStreamProperty. */ com.google.cloud.video.livestream.v1.InputStreamProperty getInputStreamProperty(); /** - * - * *
    * Output only. The information for the input stream. This field will be present only when
    * this input receives the input stream.
    * 
* - * - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder - getInputStreamPropertyOrBuilder(); + com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder getInputStreamPropertyOrBuilder(); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamProperty.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamProperty.java similarity index 72% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamProperty.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamProperty.java index 283e374..59fbf4f 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamProperty.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamProperty.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Properties of the input stream.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.InputStreamProperty} */ -public final class InputStreamProperty extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InputStreamProperty extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.InputStreamProperty) InputStreamPropertyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InputStreamProperty.newBuilder() to construct. private InputStreamProperty(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InputStreamProperty() { videoStreams_ = java.util.Collections.emptyList(); audioStreams_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private InputStreamProperty() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InputStreamProperty(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InputStreamProperty( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,56 +55,44 @@ private InputStreamProperty( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (lastEstablishTime_ != null) { - subBuilder = lastEstablishTime_.toBuilder(); - } - lastEstablishTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastEstablishTime_); - lastEstablishTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (lastEstablishTime_ != null) { + subBuilder = lastEstablishTime_.toBuilder(); + } + lastEstablishTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastEstablishTime_); + lastEstablishTime_ = subBuilder.buildPartial(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - videoStreams_ = - new java.util.ArrayList< - com.google.cloud.video.livestream.v1.VideoStreamProperty>(); - mutable_bitField0_ |= 0x00000001; - } - videoStreams_.add( - input.readMessage( - com.google.cloud.video.livestream.v1.VideoStreamProperty.parser(), - extensionRegistry)); - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + videoStreams_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - audioStreams_ = - new java.util.ArrayList< - com.google.cloud.video.livestream.v1.AudioStreamProperty>(); - mutable_bitField0_ |= 0x00000002; - } - audioStreams_.add( - input.readMessage( - com.google.cloud.video.livestream.v1.AudioStreamProperty.parser(), - extensionRegistry)); - break; + videoStreams_.add( + input.readMessage(com.google.cloud.video.livestream.v1.VideoStreamProperty.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + audioStreams_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + audioStreams_.add( + input.readMessage(com.google.cloud.video.livestream.v1.AudioStreamProperty.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,7 +100,8 @@ private InputStreamProperty( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { videoStreams_ = java.util.Collections.unmodifiableList(videoStreams_); @@ -141,34 +113,28 @@ private InputStreamProperty( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_InputStreamProperty_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputStreamProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.InputStreamProperty.class, - com.google.cloud.video.livestream.v1.InputStreamProperty.Builder.class); + com.google.cloud.video.livestream.v1.InputStreamProperty.class, com.google.cloud.video.livestream.v1.InputStreamProperty.Builder.class); } public static final int LAST_ESTABLISH_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp lastEstablishTime_; /** - * - * *
    * The time that the current input stream is accepted and the connection is
    * established.
    * 
* * .google.protobuf.Timestamp last_establish_time = 1; - * * @return Whether the lastEstablishTime field is set. */ @java.lang.Override @@ -176,26 +142,19 @@ public boolean hasLastEstablishTime() { return lastEstablishTime_ != null; } /** - * - * *
    * The time that the current input stream is accepted and the connection is
    * established.
    * 
* * .google.protobuf.Timestamp last_establish_time = 1; - * * @return The lastEstablishTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastEstablishTime() { - return lastEstablishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastEstablishTime_; + return lastEstablishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastEstablishTime_; } /** - * - * *
    * The time that the current input stream is accepted and the connection is
    * established.
@@ -211,8 +170,6 @@ public com.google.protobuf.TimestampOrBuilder getLastEstablishTimeOrBuilder() {
   public static final int VIDEO_STREAMS_FIELD_NUMBER = 2;
   private java.util.List videoStreams_;
   /**
-   *
-   *
    * 
    * Properties of the video streams.
    * 
@@ -220,13 +177,10 @@ public com.google.protobuf.TimestampOrBuilder getLastEstablishTimeOrBuilder() { * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ @java.lang.Override - public java.util.List - getVideoStreamsList() { + public java.util.List getVideoStreamsList() { return videoStreams_; } /** - * - * *
    * Properties of the video streams.
    * 
@@ -234,13 +188,11 @@ public com.google.protobuf.TimestampOrBuilder getLastEstablishTimeOrBuilder() { * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ @java.lang.Override - public java.util.List + public java.util.List getVideoStreamsOrBuilderList() { return videoStreams_; } /** - * - * *
    * Properties of the video streams.
    * 
@@ -252,8 +204,6 @@ public int getVideoStreamsCount() { return videoStreams_.size(); } /** - * - * *
    * Properties of the video streams.
    * 
@@ -265,8 +215,6 @@ public com.google.cloud.video.livestream.v1.VideoStreamProperty getVideoStreams( return videoStreams_.get(index); } /** - * - * *
    * Properties of the video streams.
    * 
@@ -282,8 +230,6 @@ public com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder getVide public static final int AUDIO_STREAMS_FIELD_NUMBER = 3; private java.util.List audioStreams_; /** - * - * *
    * Properties of the audio streams.
    * 
@@ -291,13 +237,10 @@ public com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder getVide * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ @java.lang.Override - public java.util.List - getAudioStreamsList() { + public java.util.List getAudioStreamsList() { return audioStreams_; } /** - * - * *
    * Properties of the audio streams.
    * 
@@ -305,13 +248,11 @@ public com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder getVide * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ @java.lang.Override - public java.util.List + public java.util.List getAudioStreamsOrBuilderList() { return audioStreams_; } /** - * - * *
    * Properties of the audio streams.
    * 
@@ -323,8 +264,6 @@ public int getAudioStreamsCount() { return audioStreams_.size(); } /** - * - * *
    * Properties of the audio streams.
    * 
@@ -336,8 +275,6 @@ public com.google.cloud.video.livestream.v1.AudioStreamProperty getAudioStreams( return audioStreams_.get(index); } /** - * - * *
    * Properties of the audio streams.
    * 
@@ -351,7 +288,6 @@ public com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder getAudi } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -363,7 +299,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 (lastEstablishTime_ != null) { output.writeMessage(1, getLastEstablishTime()); } @@ -383,13 +320,16 @@ public int getSerializedSize() { size = 0; if (lastEstablishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLastEstablishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getLastEstablishTime()); } for (int i = 0; i < videoStreams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, videoStreams_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, videoStreams_.get(i)); } for (int i = 0; i < audioStreams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, audioStreams_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, audioStreams_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -399,20 +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.video.livestream.v1.InputStreamProperty)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.InputStreamProperty other = - (com.google.cloud.video.livestream.v1.InputStreamProperty) obj; + com.google.cloud.video.livestream.v1.InputStreamProperty other = (com.google.cloud.video.livestream.v1.InputStreamProperty) obj; if (hasLastEstablishTime() != other.hasLastEstablishTime()) return false; if (hasLastEstablishTime()) { - if (!getLastEstablishTime().equals(other.getLastEstablishTime())) return false; + if (!getLastEstablishTime() + .equals(other.getLastEstablishTime())) return false; } - if (!getVideoStreamsList().equals(other.getVideoStreamsList())) return false; - if (!getAudioStreamsList().equals(other.getAudioStreamsList())) return false; + if (!getVideoStreamsList() + .equals(other.getVideoStreamsList())) return false; + if (!getAudioStreamsList() + .equals(other.getAudioStreamsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -442,127 +384,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.InputStreamProperty parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.InputStreamProperty parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.InputStreamProperty parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.InputStreamProperty prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.InputStreamProperty prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Properties of the input stream.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.InputStreamProperty} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.InputStreamProperty) com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_InputStreamProperty_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputStreamProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.InputStreamProperty.class, - com.google.cloud.video.livestream.v1.InputStreamProperty.Builder.class); + com.google.cloud.video.livestream.v1.InputStreamProperty.class, com.google.cloud.video.livestream.v1.InputStreamProperty.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.InputStreamProperty.newBuilder() @@ -570,18 +502,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) { getVideoStreamsFieldBuilder(); getAudioStreamsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -607,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor; } @java.lang.Override @@ -628,8 +560,7 @@ public com.google.cloud.video.livestream.v1.InputStreamProperty build() { @java.lang.Override public com.google.cloud.video.livestream.v1.InputStreamProperty buildPartial() { - com.google.cloud.video.livestream.v1.InputStreamProperty result = - new com.google.cloud.video.livestream.v1.InputStreamProperty(this); + com.google.cloud.video.livestream.v1.InputStreamProperty result = new com.google.cloud.video.livestream.v1.InputStreamProperty(this); int from_bitField0_ = bitField0_; if (lastEstablishTimeBuilder_ == null) { result.lastEstablishTime_ = lastEstablishTime_; @@ -662,39 +593,38 @@ public com.google.cloud.video.livestream.v1.InputStreamProperty buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.InputStreamProperty) { - return mergeFrom((com.google.cloud.video.livestream.v1.InputStreamProperty) other); + return mergeFrom((com.google.cloud.video.livestream.v1.InputStreamProperty)other); } else { super.mergeFrom(other); return this; @@ -702,8 +632,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.InputStreamProperty other) { - if (other == com.google.cloud.video.livestream.v1.InputStreamProperty.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.InputStreamProperty.getDefaultInstance()) return this; if (other.hasLastEstablishTime()) { mergeLastEstablishTime(other.getLastEstablishTime()); } @@ -725,10 +654,9 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.InputStreamPropert videoStreamsBuilder_ = null; videoStreams_ = other.videoStreams_; bitField0_ = (bitField0_ & ~0x00000001); - videoStreamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVideoStreamsFieldBuilder() - : null; + videoStreamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getVideoStreamsFieldBuilder() : null; } else { videoStreamsBuilder_.addAllMessages(other.videoStreams_); } @@ -752,10 +680,9 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.InputStreamPropert audioStreamsBuilder_ = null; audioStreams_ = other.audioStreams_; bitField0_ = (bitField0_ & ~0x00000002); - audioStreamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAudioStreamsFieldBuilder() - : null; + audioStreamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAudioStreamsFieldBuilder() : null; } else { audioStreamsBuilder_.addAllMessages(other.audioStreams_); } @@ -780,8 +707,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.InputStreamProperty) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.InputStreamProperty) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -790,54 +716,40 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.protobuf.Timestamp lastEstablishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastEstablishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastEstablishTimeBuilder_; /** - * - * *
      * The time that the current input stream is accepted and the connection is
      * established.
      * 
* * .google.protobuf.Timestamp last_establish_time = 1; - * * @return Whether the lastEstablishTime field is set. */ public boolean hasLastEstablishTime() { return lastEstablishTimeBuilder_ != null || lastEstablishTime_ != null; } /** - * - * *
      * The time that the current input stream is accepted and the connection is
      * established.
      * 
* * .google.protobuf.Timestamp last_establish_time = 1; - * * @return The lastEstablishTime. */ public com.google.protobuf.Timestamp getLastEstablishTime() { if (lastEstablishTimeBuilder_ == null) { - return lastEstablishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastEstablishTime_; + return lastEstablishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastEstablishTime_; } else { return lastEstablishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time that the current input stream is accepted and the connection is
      * established.
@@ -859,8 +771,6 @@ public Builder setLastEstablishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time that the current input stream is accepted and the connection is
      * established.
@@ -868,7 +778,8 @@ public Builder setLastEstablishTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp last_establish_time = 1;
      */
-    public Builder setLastEstablishTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setLastEstablishTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (lastEstablishTimeBuilder_ == null) {
         lastEstablishTime_ = builderForValue.build();
         onChanged();
@@ -879,8 +790,6 @@ public Builder setLastEstablishTime(com.google.protobuf.Timestamp.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The time that the current input stream is accepted and the connection is
      * established.
@@ -892,9 +801,7 @@ public Builder mergeLastEstablishTime(com.google.protobuf.Timestamp value) {
       if (lastEstablishTimeBuilder_ == null) {
         if (lastEstablishTime_ != null) {
           lastEstablishTime_ =
-              com.google.protobuf.Timestamp.newBuilder(lastEstablishTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(lastEstablishTime_).mergeFrom(value).buildPartial();
         } else {
           lastEstablishTime_ = value;
         }
@@ -906,8 +813,6 @@ public Builder mergeLastEstablishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time that the current input stream is accepted and the connection is
      * established.
@@ -927,8 +832,6 @@ public Builder clearLastEstablishTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time that the current input stream is accepted and the connection is
      * established.
@@ -937,13 +840,11 @@ public Builder clearLastEstablishTime() {
      * .google.protobuf.Timestamp last_establish_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getLastEstablishTimeBuilder() {
-
+      
       onChanged();
       return getLastEstablishTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time that the current input stream is accepted and the connection is
      * established.
@@ -955,14 +856,11 @@ public com.google.protobuf.TimestampOrBuilder getLastEstablishTimeOrBuilder() {
       if (lastEstablishTimeBuilder_ != null) {
         return lastEstablishTimeBuilder_.getMessageOrBuilder();
       } else {
-        return lastEstablishTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : lastEstablishTime_;
+        return lastEstablishTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : lastEstablishTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time that the current input stream is accepted and the connection is
      * established.
@@ -971,52 +869,39 @@ public com.google.protobuf.TimestampOrBuilder getLastEstablishTimeOrBuilder() {
      * .google.protobuf.Timestamp last_establish_time = 1;
      */
     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> 
         getLastEstablishTimeFieldBuilder() {
       if (lastEstablishTimeBuilder_ == null) {
-        lastEstablishTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getLastEstablishTime(), getParentForChildren(), isClean());
+        lastEstablishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getLastEstablishTime(),
+                getParentForChildren(),
+                isClean());
         lastEstablishTime_ = null;
       }
       return lastEstablishTimeBuilder_;
     }
 
     private java.util.List videoStreams_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureVideoStreamsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        videoStreams_ =
-            new java.util.ArrayList(
-                videoStreams_);
+        videoStreams_ = new java.util.ArrayList(videoStreams_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.video.livestream.v1.VideoStreamProperty,
-            com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder,
-            com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder>
-        videoStreamsBuilder_;
+        com.google.cloud.video.livestream.v1.VideoStreamProperty, com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder, com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder> videoStreamsBuilder_;
 
     /**
-     *
-     *
      * 
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ - public java.util.List - getVideoStreamsList() { + public java.util.List getVideoStreamsList() { if (videoStreamsBuilder_ == null) { return java.util.Collections.unmodifiableList(videoStreams_); } else { @@ -1024,14 +909,11 @@ private void ensureVideoStreamsIsMutable() { } } /** - * - * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ public int getVideoStreamsCount() { if (videoStreamsBuilder_ == null) { @@ -1041,14 +923,11 @@ public int getVideoStreamsCount() { } } /** - * - * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ public com.google.cloud.video.livestream.v1.VideoStreamProperty getVideoStreams(int index) { if (videoStreamsBuilder_ == null) { @@ -1058,14 +937,11 @@ public com.google.cloud.video.livestream.v1.VideoStreamProperty getVideoStreams( } } /** - * - * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ public Builder setVideoStreams( int index, com.google.cloud.video.livestream.v1.VideoStreamProperty value) { @@ -1082,18 +958,14 @@ public Builder setVideoStreams( return this; } /** - * - * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ public Builder setVideoStreams( - int index, - com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder builderForValue) { + int index, com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder builderForValue) { if (videoStreamsBuilder_ == null) { ensureVideoStreamsIsMutable(); videoStreams_.set(index, builderForValue.build()); @@ -1104,14 +976,11 @@ public Builder setVideoStreams( return this; } /** - * - * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ public Builder addVideoStreams(com.google.cloud.video.livestream.v1.VideoStreamProperty value) { if (videoStreamsBuilder_ == null) { @@ -1127,14 +996,11 @@ public Builder addVideoStreams(com.google.cloud.video.livestream.v1.VideoStreamP return this; } /** - * - * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ public Builder addVideoStreams( int index, com.google.cloud.video.livestream.v1.VideoStreamProperty value) { @@ -1151,14 +1017,11 @@ public Builder addVideoStreams( return this; } /** - * - * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ public Builder addVideoStreams( com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder builderForValue) { @@ -1172,18 +1035,14 @@ public Builder addVideoStreams( return this; } /** - * - * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ public Builder addVideoStreams( - int index, - com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder builderForValue) { + int index, com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder builderForValue) { if (videoStreamsBuilder_ == null) { ensureVideoStreamsIsMutable(); videoStreams_.add(index, builderForValue.build()); @@ -1194,21 +1053,18 @@ public Builder addVideoStreams( return this; } /** - * - * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ public Builder addAllVideoStreams( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (videoStreamsBuilder_ == null) { ensureVideoStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, videoStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, videoStreams_); onChanged(); } else { videoStreamsBuilder_.addAllMessages(values); @@ -1216,14 +1072,11 @@ public Builder addAllVideoStreams( return this; } /** - * - * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ public Builder clearVideoStreams() { if (videoStreamsBuilder_ == null) { @@ -1236,14 +1089,11 @@ public Builder clearVideoStreams() { return this; } /** - * - * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ public Builder removeVideoStreams(int index) { if (videoStreamsBuilder_ == null) { @@ -1256,50 +1106,39 @@ public Builder removeVideoStreams(int index) { return this; } /** - * - * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ public com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder getVideoStreamsBuilder( int index) { return getVideoStreamsFieldBuilder().getBuilder(index); } /** - * - * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ - public com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder - getVideoStreamsOrBuilder(int index) { + public com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder getVideoStreamsOrBuilder( + int index) { if (videoStreamsBuilder_ == null) { - return videoStreams_.get(index); - } else { + return videoStreams_.get(index); } else { return videoStreamsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ - public java.util.List< - ? extends com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder> - getVideoStreamsOrBuilderList() { + public java.util.List + getVideoStreamsOrBuilderList() { if (videoStreamsBuilder_ != null) { return videoStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -1307,99 +1146,74 @@ public com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder getVideo } } /** - * - * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ - public com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder - addVideoStreamsBuilder() { - return getVideoStreamsFieldBuilder() - .addBuilder( - com.google.cloud.video.livestream.v1.VideoStreamProperty.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder addVideoStreamsBuilder() { + return getVideoStreamsFieldBuilder().addBuilder( + com.google.cloud.video.livestream.v1.VideoStreamProperty.getDefaultInstance()); } /** - * - * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ public com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder addVideoStreamsBuilder( int index) { - return getVideoStreamsFieldBuilder() - .addBuilder( - index, com.google.cloud.video.livestream.v1.VideoStreamProperty.getDefaultInstance()); + return getVideoStreamsFieldBuilder().addBuilder( + index, com.google.cloud.video.livestream.v1.VideoStreamProperty.getDefaultInstance()); } /** - * - * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; - * + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ - public java.util.List - getVideoStreamsBuilderList() { + public java.util.List + getVideoStreamsBuilderList() { return getVideoStreamsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoStreamProperty, - com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder, - com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder> + com.google.cloud.video.livestream.v1.VideoStreamProperty, com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder, com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder> getVideoStreamsFieldBuilder() { if (videoStreamsBuilder_ == null) { - videoStreamsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoStreamProperty, - com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder, - com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder>( - videoStreams_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + videoStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.VideoStreamProperty, com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder, com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder>( + videoStreams_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); videoStreams_ = null; } return videoStreamsBuilder_; } private java.util.List audioStreams_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAudioStreamsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - audioStreams_ = - new java.util.ArrayList( - audioStreams_); + audioStreams_ = new java.util.ArrayList(audioStreams_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStreamProperty, - com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder, - com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder> - audioStreamsBuilder_; + com.google.cloud.video.livestream.v1.AudioStreamProperty, com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder, com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder> audioStreamsBuilder_; /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ - public java.util.List - getAudioStreamsList() { + public java.util.List getAudioStreamsList() { if (audioStreamsBuilder_ == null) { return java.util.Collections.unmodifiableList(audioStreams_); } else { @@ -1407,14 +1221,11 @@ private void ensureAudioStreamsIsMutable() { } } /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ public int getAudioStreamsCount() { if (audioStreamsBuilder_ == null) { @@ -1424,14 +1235,11 @@ public int getAudioStreamsCount() { } } /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ public com.google.cloud.video.livestream.v1.AudioStreamProperty getAudioStreams(int index) { if (audioStreamsBuilder_ == null) { @@ -1441,14 +1249,11 @@ public com.google.cloud.video.livestream.v1.AudioStreamProperty getAudioStreams( } } /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ public Builder setAudioStreams( int index, com.google.cloud.video.livestream.v1.AudioStreamProperty value) { @@ -1465,18 +1270,14 @@ public Builder setAudioStreams( return this; } /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ public Builder setAudioStreams( - int index, - com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder builderForValue) { + int index, com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder builderForValue) { if (audioStreamsBuilder_ == null) { ensureAudioStreamsIsMutable(); audioStreams_.set(index, builderForValue.build()); @@ -1487,14 +1288,11 @@ public Builder setAudioStreams( return this; } /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ public Builder addAudioStreams(com.google.cloud.video.livestream.v1.AudioStreamProperty value) { if (audioStreamsBuilder_ == null) { @@ -1510,14 +1308,11 @@ public Builder addAudioStreams(com.google.cloud.video.livestream.v1.AudioStreamP return this; } /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ public Builder addAudioStreams( int index, com.google.cloud.video.livestream.v1.AudioStreamProperty value) { @@ -1534,14 +1329,11 @@ public Builder addAudioStreams( return this; } /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ public Builder addAudioStreams( com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder builderForValue) { @@ -1555,18 +1347,14 @@ public Builder addAudioStreams( return this; } /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ public Builder addAudioStreams( - int index, - com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder builderForValue) { + int index, com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder builderForValue) { if (audioStreamsBuilder_ == null) { ensureAudioStreamsIsMutable(); audioStreams_.add(index, builderForValue.build()); @@ -1577,21 +1365,18 @@ public Builder addAudioStreams( return this; } /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ public Builder addAllAudioStreams( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (audioStreamsBuilder_ == null) { ensureAudioStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, audioStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, audioStreams_); onChanged(); } else { audioStreamsBuilder_.addAllMessages(values); @@ -1599,14 +1384,11 @@ public Builder addAllAudioStreams( return this; } /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ public Builder clearAudioStreams() { if (audioStreamsBuilder_ == null) { @@ -1619,14 +1401,11 @@ public Builder clearAudioStreams() { return this; } /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ public Builder removeAudioStreams(int index) { if (audioStreamsBuilder_ == null) { @@ -1639,50 +1418,39 @@ public Builder removeAudioStreams(int index) { return this; } /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ public com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder getAudioStreamsBuilder( int index) { return getAudioStreamsFieldBuilder().getBuilder(index); } /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ - public com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder - getAudioStreamsOrBuilder(int index) { + public com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder getAudioStreamsOrBuilder( + int index) { if (audioStreamsBuilder_ == null) { - return audioStreams_.get(index); - } else { + return audioStreams_.get(index); } else { return audioStreamsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ - public java.util.List< - ? extends com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder> - getAudioStreamsOrBuilderList() { + public java.util.List + getAudioStreamsOrBuilderList() { if (audioStreamsBuilder_ != null) { return audioStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -1690,71 +1458,56 @@ public com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder getAudio } } /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ - public com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder - addAudioStreamsBuilder() { - return getAudioStreamsFieldBuilder() - .addBuilder( - com.google.cloud.video.livestream.v1.AudioStreamProperty.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder addAudioStreamsBuilder() { + return getAudioStreamsFieldBuilder().addBuilder( + com.google.cloud.video.livestream.v1.AudioStreamProperty.getDefaultInstance()); } /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ public com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder addAudioStreamsBuilder( int index) { - return getAudioStreamsFieldBuilder() - .addBuilder( - index, com.google.cloud.video.livestream.v1.AudioStreamProperty.getDefaultInstance()); + return getAudioStreamsFieldBuilder().addBuilder( + index, com.google.cloud.video.livestream.v1.AudioStreamProperty.getDefaultInstance()); } /** - * - * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; - * + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ - public java.util.List - getAudioStreamsBuilderList() { + public java.util.List + getAudioStreamsBuilderList() { return getAudioStreamsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStreamProperty, - com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder, - com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder> + com.google.cloud.video.livestream.v1.AudioStreamProperty, com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder, com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder> getAudioStreamsFieldBuilder() { if (audioStreamsBuilder_ == null) { - audioStreamsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStreamProperty, - com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder, - com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder>( - audioStreams_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + audioStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.AudioStreamProperty, com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder, com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder>( + audioStreams_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); audioStreams_ = null; } return audioStreamsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1764,12 +1517,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.InputStreamProperty) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.InputStreamProperty) private static final com.google.cloud.video.livestream.v1.InputStreamProperty DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.InputStreamProperty(); } @@ -1778,16 +1531,16 @@ public static com.google.cloud.video.livestream.v1.InputStreamProperty getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InputStreamProperty parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InputStreamProperty(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InputStreamProperty parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InputStreamProperty(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1802,4 +1555,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.InputStreamProperty getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamPropertyOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamPropertyOrBuilder.java similarity index 80% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamPropertyOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamPropertyOrBuilder.java index d78973a..f93c18c 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamPropertyOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamPropertyOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface InputStreamPropertyOrBuilder - extends +public interface InputStreamPropertyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.InputStreamProperty) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time that the current input stream is accepted and the connection is
    * established.
    * 
* * .google.protobuf.Timestamp last_establish_time = 1; - * * @return Whether the lastEstablishTime field is set. */ boolean hasLastEstablishTime(); /** - * - * *
    * The time that the current input stream is accepted and the connection is
    * established.
    * 
* * .google.protobuf.Timestamp last_establish_time = 1; - * * @return The lastEstablishTime. */ com.google.protobuf.Timestamp getLastEstablishTime(); /** - * - * *
    * The time that the current input stream is accepted and the connection is
    * established.
@@ -62,18 +38,15 @@ public interface InputStreamPropertyOrBuilder
   com.google.protobuf.TimestampOrBuilder getLastEstablishTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Properties of the video streams.
    * 
* * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ - java.util.List getVideoStreamsList(); + java.util.List + getVideoStreamsList(); /** - * - * *
    * Properties of the video streams.
    * 
@@ -82,8 +55,6 @@ public interface InputStreamPropertyOrBuilder */ com.google.cloud.video.livestream.v1.VideoStreamProperty getVideoStreams(int index); /** - * - * *
    * Properties of the video streams.
    * 
@@ -92,19 +63,15 @@ public interface InputStreamPropertyOrBuilder */ int getVideoStreamsCount(); /** - * - * *
    * Properties of the video streams.
    * 
* * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ - java.util.List + java.util.List getVideoStreamsOrBuilderList(); /** - * - * *
    * Properties of the video streams.
    * 
@@ -115,18 +82,15 @@ com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder getVideoStream int index); /** - * - * *
    * Properties of the audio streams.
    * 
* * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ - java.util.List getAudioStreamsList(); + java.util.List + getAudioStreamsList(); /** - * - * *
    * Properties of the audio streams.
    * 
@@ -135,8 +99,6 @@ com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder getVideoStream */ com.google.cloud.video.livestream.v1.AudioStreamProperty getAudioStreams(int index); /** - * - * *
    * Properties of the audio streams.
    * 
@@ -145,19 +107,15 @@ com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder getVideoStream */ int getAudioStreamsCount(); /** - * - * *
    * Properties of the audio streams.
    * 
* * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ - java.util.List + java.util.List getAudioStreamsOrBuilderList(); /** - * - * *
    * Properties of the audio streams.
    * 
diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequest.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequest.java similarity index 70% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequest.java index 2dd344e..6e2a5fe 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Request message for "LivestreamService.ListChannels".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListChannelsRequest} */ -public final class ListChannelsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListChannelsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.ListChannelsRequest) ListChannelsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListChannelsRequest.newBuilder() to construct. private ListChannelsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListChannelsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListChannelsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListChannelsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListChannelsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListChannelsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,42 +99,35 @@ private ListChannelsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListChannelsRequest.class, - com.google.cloud.video.livestream.v1.ListChannelsRequest.Builder.class); + com.google.cloud.video.livestream.v1.ListChannelsRequest.class, com.google.cloud.video.livestream.v1.ListChannelsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -164,32 +136,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -200,8 +170,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of items to return. If unspecified, server
    * will pick an appropriate default. Server may return fewer items than
@@ -211,7 +179,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -222,14 +189,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -238,29 +202,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -271,14 +235,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -287,29 +248,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -320,15 +281,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Specifies the ordering of results following syntax at
    * https://cloud.google.com/apis/design/design_patterns#sorting_order.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -337,30 +295,30 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Specifies the ordering of results following syntax at
    * https://cloud.google.com/apis/design/design_patterns#sorting_order.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -369,7 +327,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,7 +338,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -410,7 +368,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -429,19 +388,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.ListChannelsRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.ListChannelsRequest other = - (com.google.cloud.video.livestream.v1.ListChannelsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.video.livestream.v1.ListChannelsRequest other = (com.google.cloud.video.livestream.v1.ListChannelsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -469,127 +432,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.ListChannelsRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.ListChannelsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for "LivestreamService.ListChannels".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListChannelsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.ListChannelsRequest) com.google.cloud.video.livestream.v1.ListChannelsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListChannelsRequest.class, - com.google.cloud.video.livestream.v1.ListChannelsRequest.Builder.class); + com.google.cloud.video.livestream.v1.ListChannelsRequest.class, com.google.cloud.video.livestream.v1.ListChannelsRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.ListChannelsRequest.newBuilder() @@ -597,15 +550,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -623,9 +577,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor; } @java.lang.Override @@ -644,8 +598,7 @@ public com.google.cloud.video.livestream.v1.ListChannelsRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.ListChannelsRequest buildPartial() { - com.google.cloud.video.livestream.v1.ListChannelsRequest result = - new com.google.cloud.video.livestream.v1.ListChannelsRequest(this); + com.google.cloud.video.livestream.v1.ListChannelsRequest result = new com.google.cloud.video.livestream.v1.ListChannelsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -659,39 +612,38 @@ public com.google.cloud.video.livestream.v1.ListChannelsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.ListChannelsRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.ListChannelsRequest) other); + return mergeFrom((com.google.cloud.video.livestream.v1.ListChannelsRequest)other); } else { super.mergeFrom(other); return this; @@ -699,8 +651,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListChannelsRequest other) { - if (other == com.google.cloud.video.livestream.v1.ListChannelsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.ListChannelsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -739,8 +690,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.ListChannelsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.ListChannelsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -752,23 +702,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -777,24 +723,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -802,79 +745,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -884,7 +812,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -892,8 +819,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -903,19 +828,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -925,11 +847,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -937,20 +858,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -959,21 +878,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -981,61 +899,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1043,20 +954,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1065,21 +974,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1087,61 +995,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1149,21 +1050,19 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1172,22 +1071,21 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1195,71 +1093,64 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1269,12 +1160,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.ListChannelsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.ListChannelsRequest) private static final com.google.cloud.video.livestream.v1.ListChannelsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.ListChannelsRequest(); } @@ -1283,16 +1174,16 @@ public static com.google.cloud.video.livestream.v1.ListChannelsRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListChannelsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListChannelsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListChannelsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListChannelsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1307,4 +1198,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.ListChannelsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequestOrBuilder.java index 92a0724..d4e5ebb 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface ListChannelsRequestOrBuilder - extends +public interface ListChannelsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ListChannelsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of items to return. If unspecified, server
    * will pick an appropriate default. Server may return fewer items than
@@ -66,85 +39,69 @@ public interface ListChannelsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Specifies the ordering of results following syntax at
    * https://cloud.google.com/apis/design/design_patterns#sorting_order.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Specifies the ordering of results following syntax at
    * https://cloud.google.com/apis/design/design_patterns#sorting_order.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponse.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponse.java similarity index 73% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponse.java index 1ccf0ed..8fe5303 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Response message for "LivestreamService.ListChannels".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListChannelsResponse} */ -public final class ListChannelsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListChannelsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.ListChannelsResponse) ListChannelsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListChannelsResponse.newBuilder() to construct. private ListChannelsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListChannelsResponse() { channels_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListChannelsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListChannelsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListChannelsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private ListChannelsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - channels_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - channels_.add( - input.readMessage( - com.google.cloud.video.livestream.v1.Channel.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + channels_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + channels_.add( + input.readMessage(com.google.cloud.video.livestream.v1.Channel.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +94,8 @@ private ListChannelsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { channels_ = java.util.Collections.unmodifiableList(channels_); @@ -127,27 +107,22 @@ private ListChannelsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListChannelsResponse.class, - com.google.cloud.video.livestream.v1.ListChannelsResponse.Builder.class); + com.google.cloud.video.livestream.v1.ListChannelsResponse.class, com.google.cloud.video.livestream.v1.ListChannelsResponse.Builder.class); } public static final int CHANNELS_FIELD_NUMBER = 1; private java.util.List channels_; /** - * - * *
    * A list of channels.
    * 
@@ -159,8 +134,6 @@ public java.util.List getChannelsL return channels_; } /** - * - * *
    * A list of channels.
    * 
@@ -168,13 +141,11 @@ public java.util.List getChannelsL * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ @java.lang.Override - public java.util.List + public java.util.List getChannelsOrBuilderList() { return channels_; } /** - * - * *
    * A list of channels.
    * 
@@ -186,8 +157,6 @@ public int getChannelsCount() { return channels_.size(); } /** - * - * *
    * A list of channels.
    * 
@@ -199,8 +168,6 @@ public com.google.cloud.video.livestream.v1.Channel getChannels(int index) { return channels_.get(index); } /** - * - * *
    * A list of channels.
    * 
@@ -208,22 +175,20 @@ public com.google.cloud.video.livestream.v1.Channel getChannels(int index) { * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelsOrBuilder(int index) { + public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelsOrBuilder( + int index) { return channels_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -232,30 +197,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -266,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -309,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +291,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 < channels_.size(); i++) { output.writeMessage(1, channels_.get(i)); } @@ -357,7 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < channels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, channels_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, channels_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -378,17 +334,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.ListChannelsResponse)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.ListChannelsResponse other = - (com.google.cloud.video.livestream.v1.ListChannelsResponse) obj; + com.google.cloud.video.livestream.v1.ListChannelsResponse other = (com.google.cloud.video.livestream.v1.ListChannelsResponse) obj; - if (!getChannelsList().equals(other.getChannelsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getChannelsList() + .equals(other.getChannelsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -416,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.ListChannelsResponse prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.ListChannelsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for "LivestreamService.ListChannels".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListChannelsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.ListChannelsResponse) com.google.cloud.video.livestream.v1.ListChannelsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListChannelsResponse.class, - com.google.cloud.video.livestream.v1.ListChannelsResponse.Builder.class); + com.google.cloud.video.livestream.v1.ListChannelsResponse.class, com.google.cloud.video.livestream.v1.ListChannelsResponse.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.ListChannelsResponse.newBuilder() @@ -544,17 +492,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) { getChannelsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -572,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor; } @java.lang.Override @@ -593,8 +541,7 @@ public com.google.cloud.video.livestream.v1.ListChannelsResponse build() { @java.lang.Override public com.google.cloud.video.livestream.v1.ListChannelsResponse buildPartial() { - com.google.cloud.video.livestream.v1.ListChannelsResponse result = - new com.google.cloud.video.livestream.v1.ListChannelsResponse(this); + com.google.cloud.video.livestream.v1.ListChannelsResponse result = new com.google.cloud.video.livestream.v1.ListChannelsResponse(this); int from_bitField0_ = bitField0_; if (channelsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -619,39 +566,38 @@ public com.google.cloud.video.livestream.v1.ListChannelsResponse buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.ListChannelsResponse) { - return mergeFrom((com.google.cloud.video.livestream.v1.ListChannelsResponse) other); + return mergeFrom((com.google.cloud.video.livestream.v1.ListChannelsResponse)other); } else { super.mergeFrom(other); return this; @@ -659,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListChannelsResponse other) { - if (other == com.google.cloud.video.livestream.v1.ListChannelsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.ListChannelsResponse.getDefaultInstance()) return this; if (channelsBuilder_ == null) { if (!other.channels_.isEmpty()) { if (channels_.isEmpty()) { @@ -679,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListChannelsRespon channelsBuilder_ = null; channels_ = other.channels_; bitField0_ = (bitField0_ & ~0x00000001); - channelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChannelsFieldBuilder() - : null; + channelsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChannelsFieldBuilder() : null; } else { channelsBuilder_.addAllMessages(other.channels_); } @@ -721,8 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.ListChannelsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.ListChannelsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -731,29 +674,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List channels_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureChannelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - channels_ = - new java.util.ArrayList(channels_); + channels_ = new java.util.ArrayList(channels_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel, - com.google.cloud.video.livestream.v1.Channel.Builder, - com.google.cloud.video.livestream.v1.ChannelOrBuilder> - channelsBuilder_; + com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder> channelsBuilder_; /** - * - * *
      * A list of channels.
      * 
@@ -768,8 +703,6 @@ public java.util.List getChannelsL } } /** - * - * *
      * A list of channels.
      * 
@@ -784,8 +717,6 @@ public int getChannelsCount() { } } /** - * - * *
      * A list of channels.
      * 
@@ -800,15 +731,14 @@ public com.google.cloud.video.livestream.v1.Channel getChannels(int index) { } } /** - * - * *
      * A list of channels.
      * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - public Builder setChannels(int index, com.google.cloud.video.livestream.v1.Channel value) { + public Builder setChannels( + int index, com.google.cloud.video.livestream.v1.Channel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -822,8 +752,6 @@ public Builder setChannels(int index, com.google.cloud.video.livestream.v1.Chann return this; } /** - * - * *
      * A list of channels.
      * 
@@ -842,8 +770,6 @@ public Builder setChannels( return this; } /** - * - * *
      * A list of channels.
      * 
@@ -864,15 +790,14 @@ public Builder addChannels(com.google.cloud.video.livestream.v1.Channel value) { return this; } /** - * - * *
      * A list of channels.
      * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - public Builder addChannels(int index, com.google.cloud.video.livestream.v1.Channel value) { + public Builder addChannels( + int index, com.google.cloud.video.livestream.v1.Channel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -886,8 +811,6 @@ public Builder addChannels(int index, com.google.cloud.video.livestream.v1.Chann return this; } /** - * - * *
      * A list of channels.
      * 
@@ -906,8 +829,6 @@ public Builder addChannels( return this; } /** - * - * *
      * A list of channels.
      * 
@@ -926,8 +847,6 @@ public Builder addChannels( return this; } /** - * - * *
      * A list of channels.
      * 
@@ -938,7 +857,8 @@ public Builder addAllChannels( java.lang.Iterable values) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, channels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, channels_); onChanged(); } else { channelsBuilder_.addAllMessages(values); @@ -946,8 +866,6 @@ public Builder addAllChannels( return this; } /** - * - * *
      * A list of channels.
      * 
@@ -965,8 +883,6 @@ public Builder clearChannels() { return this; } /** - * - * *
      * A list of channels.
      * 
@@ -984,44 +900,39 @@ public Builder removeChannels(int index) { return this; } /** - * - * *
      * A list of channels.
      * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - public com.google.cloud.video.livestream.v1.Channel.Builder getChannelsBuilder(int index) { + public com.google.cloud.video.livestream.v1.Channel.Builder getChannelsBuilder( + int index) { return getChannelsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of channels.
      * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelsOrBuilder(int index) { + public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelsOrBuilder( + int index) { if (channelsBuilder_ == null) { - return channels_.get(index); - } else { + return channels_.get(index); } else { return channelsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of channels.
      * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - public java.util.List - getChannelsOrBuilderList() { + public java.util.List + getChannelsOrBuilderList() { if (channelsBuilder_ != null) { return channelsBuilder_.getMessageOrBuilderList(); } else { @@ -1029,8 +940,6 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelsOrBuilde } } /** - * - * *
      * A list of channels.
      * 
@@ -1038,48 +947,42 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelsOrBuilde * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ public com.google.cloud.video.livestream.v1.Channel.Builder addChannelsBuilder() { - return getChannelsFieldBuilder() - .addBuilder(com.google.cloud.video.livestream.v1.Channel.getDefaultInstance()); + return getChannelsFieldBuilder().addBuilder( + com.google.cloud.video.livestream.v1.Channel.getDefaultInstance()); } /** - * - * *
      * A list of channels.
      * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - public com.google.cloud.video.livestream.v1.Channel.Builder addChannelsBuilder(int index) { - return getChannelsFieldBuilder() - .addBuilder(index, com.google.cloud.video.livestream.v1.Channel.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.Channel.Builder addChannelsBuilder( + int index) { + return getChannelsFieldBuilder().addBuilder( + index, com.google.cloud.video.livestream.v1.Channel.getDefaultInstance()); } /** - * - * *
      * A list of channels.
      * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - public java.util.List - getChannelsBuilderList() { + public java.util.List + getChannelsBuilderList() { return getChannelsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel, - com.google.cloud.video.livestream.v1.Channel.Builder, - com.google.cloud.video.livestream.v1.ChannelOrBuilder> + com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder> getChannelsFieldBuilder() { if (channelsBuilder_ == null) { - channelsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel, - com.google.cloud.video.livestream.v1.Channel.Builder, - com.google.cloud.video.livestream.v1.ChannelOrBuilder>( - channels_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + channelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder>( + channels_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); channels_ = null; } return channelsBuilder_; @@ -1087,21 +990,19 @@ public com.google.cloud.video.livestream.v1.Channel.Builder addChannelsBuilder(i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1110,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1133,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1249,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1342,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1375,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.ListChannelsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.ListChannelsResponse) private static final com.google.cloud.video.livestream.v1.ListChannelsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.ListChannelsResponse(); } @@ -1389,16 +1260,16 @@ public static com.google.cloud.video.livestream.v1.ListChannelsResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListChannelsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListChannelsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListChannelsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListChannelsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1413,4 +1284,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.ListChannelsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponseOrBuilder.java index 1929bee..af5c472 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface ListChannelsResponseOrBuilder - extends +public interface ListChannelsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ListChannelsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of channels.
    * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - java.util.List getChannelsList(); + java.util.List + getChannelsList(); /** - * - * *
    * A list of channels.
    * 
@@ -44,8 +25,6 @@ public interface ListChannelsResponseOrBuilder */ com.google.cloud.video.livestream.v1.Channel getChannels(int index); /** - * - * *
    * A list of channels.
    * 
@@ -54,102 +33,84 @@ public interface ListChannelsResponseOrBuilder */ int getChannelsCount(); /** - * - * *
    * A list of channels.
    * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - java.util.List + java.util.List getChannelsOrBuilderList(); /** - * - * *
    * A list of channels.
    * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelsOrBuilder(int index); + com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelsOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequest.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequest.java similarity index 70% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequest.java index 50a8fdb..12b32fc 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Request message for "LivestreamService.ListEvents".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListEventsRequest} */ -public final class ListEventsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListEventsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.ListEventsRequest) ListEventsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListEventsRequest.newBuilder() to construct. private ListEventsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListEventsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListEventsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListEventsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListEventsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListEventsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,42 +99,35 @@ private ListEventsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListEventsRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListEventsRequest.class, - com.google.cloud.video.livestream.v1.ListEventsRequest.Builder.class); + com.google.cloud.video.livestream.v1.ListEventsRequest.class, com.google.cloud.video.livestream.v1.ListEventsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent channel for the resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -164,32 +136,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent channel for the resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -200,8 +170,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of items to return. If unspecified, server
    * will pick an appropriate default. Server may return fewer items than
@@ -211,7 +179,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -222,14 +189,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -238,29 +202,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -271,14 +235,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -287,29 +248,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -320,15 +281,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Specifies the ordering of results following syntax at
    * https://cloud.google.com/apis/design/design_patterns#sorting_order.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -337,30 +295,30 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Specifies the ordering of results following syntax at
    * https://cloud.google.com/apis/design/design_patterns#sorting_order.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -369,7 +327,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,7 +338,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -410,7 +368,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -429,19 +388,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.ListEventsRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.ListEventsRequest other = - (com.google.cloud.video.livestream.v1.ListEventsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.video.livestream.v1.ListEventsRequest other = (com.google.cloud.video.livestream.v1.ListEventsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -469,127 +432,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.ListEventsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.ListEventsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListEventsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.ListEventsRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.ListEventsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for "LivestreamService.ListEvents".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListEventsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.ListEventsRequest) com.google.cloud.video.livestream.v1.ListEventsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListEventsRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListEventsRequest.class, - com.google.cloud.video.livestream.v1.ListEventsRequest.Builder.class); + com.google.cloud.video.livestream.v1.ListEventsRequest.class, com.google.cloud.video.livestream.v1.ListEventsRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.ListEventsRequest.newBuilder() @@ -597,15 +550,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -623,9 +577,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor; } @java.lang.Override @@ -644,8 +598,7 @@ public com.google.cloud.video.livestream.v1.ListEventsRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.ListEventsRequest buildPartial() { - com.google.cloud.video.livestream.v1.ListEventsRequest result = - new com.google.cloud.video.livestream.v1.ListEventsRequest(this); + com.google.cloud.video.livestream.v1.ListEventsRequest result = new com.google.cloud.video.livestream.v1.ListEventsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -659,39 +612,38 @@ public com.google.cloud.video.livestream.v1.ListEventsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.ListEventsRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.ListEventsRequest) other); + return mergeFrom((com.google.cloud.video.livestream.v1.ListEventsRequest)other); } else { super.mergeFrom(other); return this; @@ -699,8 +651,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListEventsRequest other) { - if (other == com.google.cloud.video.livestream.v1.ListEventsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.ListEventsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -739,8 +690,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.ListEventsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.ListEventsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -752,23 +702,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -777,24 +723,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -802,79 +745,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -884,7 +812,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -892,8 +819,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -903,19 +828,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -925,11 +847,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -937,20 +858,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -959,21 +878,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -981,61 +899,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1043,20 +954,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1065,21 +974,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1087,61 +995,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1149,21 +1050,19 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1172,22 +1071,21 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1195,71 +1093,64 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1269,12 +1160,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.ListEventsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.ListEventsRequest) private static final com.google.cloud.video.livestream.v1.ListEventsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.ListEventsRequest(); } @@ -1283,16 +1174,16 @@ public static com.google.cloud.video.livestream.v1.ListEventsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEventsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEventsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEventsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEventsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1307,4 +1198,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.ListEventsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequestOrBuilder.java index 120bcb9..052075b 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface ListEventsRequestOrBuilder - extends +public interface ListEventsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ListEventsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent channel for the resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent channel for the resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of items to return. If unspecified, server
    * will pick an appropriate default. Server may return fewer items than
@@ -66,85 +39,69 @@ public interface ListEventsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Specifies the ordering of results following syntax at
    * https://cloud.google.com/apis/design/design_patterns#sorting_order.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Specifies the ordering of results following syntax at
    * https://cloud.google.com/apis/design/design_patterns#sorting_order.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponse.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponse.java similarity index 73% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponse.java index 1d5be18..e6914ff 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Response message for "LivestreamService.ListEvents".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListEventsResponse} */ -public final class ListEventsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListEventsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.ListEventsResponse) ListEventsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListEventsResponse.newBuilder() to construct. private ListEventsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListEventsResponse() { events_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListEventsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListEventsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private ListEventsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - events_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - events_.add( - input.readMessage( - com.google.cloud.video.livestream.v1.Event.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + events_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + events_.add( + input.readMessage(com.google.cloud.video.livestream.v1.Event.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +94,8 @@ private ListEventsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { events_ = java.util.Collections.unmodifiableList(events_); @@ -127,27 +107,22 @@ private ListEventsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListEventsResponse_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListEventsResponse.class, - com.google.cloud.video.livestream.v1.ListEventsResponse.Builder.class); + com.google.cloud.video.livestream.v1.ListEventsResponse.class, com.google.cloud.video.livestream.v1.ListEventsResponse.Builder.class); } public static final int EVENTS_FIELD_NUMBER = 1; private java.util.List events_; /** - * - * *
    * A list of events.
    * 
@@ -159,8 +134,6 @@ public java.util.List getEventsList( return events_; } /** - * - * *
    * A list of events.
    * 
@@ -168,13 +141,11 @@ public java.util.List getEventsList( * repeated .google.cloud.video.livestream.v1.Event events = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEventsOrBuilderList() { return events_; } /** - * - * *
    * A list of events.
    * 
@@ -186,8 +157,6 @@ public int getEventsCount() { return events_.size(); } /** - * - * *
    * A list of events.
    * 
@@ -199,8 +168,6 @@ public com.google.cloud.video.livestream.v1.Event getEvents(int index) { return events_.get(index); } /** - * - * *
    * A list of events.
    * 
@@ -208,22 +175,20 @@ public com.google.cloud.video.livestream.v1.Event getEvents(int index) { * repeated .google.cloud.video.livestream.v1.Event events = 1; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.EventOrBuilder getEventsOrBuilder(int index) { + public com.google.cloud.video.livestream.v1.EventOrBuilder getEventsOrBuilder( + int index) { return events_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -232,30 +197,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -266,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -309,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +291,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 < events_.size(); i++) { output.writeMessage(1, events_.get(i)); } @@ -357,7 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < events_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, events_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, events_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -378,17 +334,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.ListEventsResponse)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.ListEventsResponse other = - (com.google.cloud.video.livestream.v1.ListEventsResponse) obj; + com.google.cloud.video.livestream.v1.ListEventsResponse other = (com.google.cloud.video.livestream.v1.ListEventsResponse) obj; - if (!getEventsList().equals(other.getEventsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getEventsList() + .equals(other.getEventsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -416,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.ListEventsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.ListEventsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListEventsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.ListEventsResponse prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.ListEventsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for "LivestreamService.ListEvents".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListEventsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.ListEventsResponse) com.google.cloud.video.livestream.v1.ListEventsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListEventsResponse_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListEventsResponse.class, - com.google.cloud.video.livestream.v1.ListEventsResponse.Builder.class); + com.google.cloud.video.livestream.v1.ListEventsResponse.class, com.google.cloud.video.livestream.v1.ListEventsResponse.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.ListEventsResponse.newBuilder() @@ -544,17 +492,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) { getEventsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -572,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor; } @java.lang.Override @@ -593,8 +541,7 @@ public com.google.cloud.video.livestream.v1.ListEventsResponse build() { @java.lang.Override public com.google.cloud.video.livestream.v1.ListEventsResponse buildPartial() { - com.google.cloud.video.livestream.v1.ListEventsResponse result = - new com.google.cloud.video.livestream.v1.ListEventsResponse(this); + com.google.cloud.video.livestream.v1.ListEventsResponse result = new com.google.cloud.video.livestream.v1.ListEventsResponse(this); int from_bitField0_ = bitField0_; if (eventsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -619,39 +566,38 @@ public com.google.cloud.video.livestream.v1.ListEventsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.ListEventsResponse) { - return mergeFrom((com.google.cloud.video.livestream.v1.ListEventsResponse) other); + return mergeFrom((com.google.cloud.video.livestream.v1.ListEventsResponse)other); } else { super.mergeFrom(other); return this; @@ -659,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListEventsResponse other) { - if (other == com.google.cloud.video.livestream.v1.ListEventsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.ListEventsResponse.getDefaultInstance()) return this; if (eventsBuilder_ == null) { if (!other.events_.isEmpty()) { if (events_.isEmpty()) { @@ -679,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListEventsResponse eventsBuilder_ = null; events_ = other.events_; bitField0_ = (bitField0_ & ~0x00000001); - eventsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEventsFieldBuilder() - : null; + eventsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEventsFieldBuilder() : null; } else { eventsBuilder_.addAllMessages(other.events_); } @@ -721,8 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.ListEventsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.ListEventsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -731,28 +674,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List events_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEventsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { events_ = new java.util.ArrayList(events_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event, - com.google.cloud.video.livestream.v1.Event.Builder, - com.google.cloud.video.livestream.v1.EventOrBuilder> - eventsBuilder_; + com.google.cloud.video.livestream.v1.Event, com.google.cloud.video.livestream.v1.Event.Builder, com.google.cloud.video.livestream.v1.EventOrBuilder> eventsBuilder_; /** - * - * *
      * A list of events.
      * 
@@ -767,8 +703,6 @@ public java.util.List getEventsList( } } /** - * - * *
      * A list of events.
      * 
@@ -783,8 +717,6 @@ public int getEventsCount() { } } /** - * - * *
      * A list of events.
      * 
@@ -799,15 +731,14 @@ public com.google.cloud.video.livestream.v1.Event getEvents(int index) { } } /** - * - * *
      * A list of events.
      * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - public Builder setEvents(int index, com.google.cloud.video.livestream.v1.Event value) { + public Builder setEvents( + int index, com.google.cloud.video.livestream.v1.Event value) { if (eventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -821,8 +752,6 @@ public Builder setEvents(int index, com.google.cloud.video.livestream.v1.Event v return this; } /** - * - * *
      * A list of events.
      * 
@@ -841,8 +770,6 @@ public Builder setEvents( return this; } /** - * - * *
      * A list of events.
      * 
@@ -863,15 +790,14 @@ public Builder addEvents(com.google.cloud.video.livestream.v1.Event value) { return this; } /** - * - * *
      * A list of events.
      * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - public Builder addEvents(int index, com.google.cloud.video.livestream.v1.Event value) { + public Builder addEvents( + int index, com.google.cloud.video.livestream.v1.Event value) { if (eventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -885,15 +811,14 @@ public Builder addEvents(int index, com.google.cloud.video.livestream.v1.Event v return this; } /** - * - * *
      * A list of events.
      * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - public Builder addEvents(com.google.cloud.video.livestream.v1.Event.Builder builderForValue) { + public Builder addEvents( + com.google.cloud.video.livestream.v1.Event.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.add(builderForValue.build()); @@ -904,8 +829,6 @@ public Builder addEvents(com.google.cloud.video.livestream.v1.Event.Builder buil return this; } /** - * - * *
      * A list of events.
      * 
@@ -924,8 +847,6 @@ public Builder addEvents( return this; } /** - * - * *
      * A list of events.
      * 
@@ -936,7 +857,8 @@ public Builder addAllEvents( java.lang.Iterable values) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, events_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, events_); onChanged(); } else { eventsBuilder_.addAllMessages(values); @@ -944,8 +866,6 @@ public Builder addAllEvents( return this; } /** - * - * *
      * A list of events.
      * 
@@ -963,8 +883,6 @@ public Builder clearEvents() { return this; } /** - * - * *
      * A list of events.
      * 
@@ -982,44 +900,39 @@ public Builder removeEvents(int index) { return this; } /** - * - * *
      * A list of events.
      * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - public com.google.cloud.video.livestream.v1.Event.Builder getEventsBuilder(int index) { + public com.google.cloud.video.livestream.v1.Event.Builder getEventsBuilder( + int index) { return getEventsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of events.
      * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - public com.google.cloud.video.livestream.v1.EventOrBuilder getEventsOrBuilder(int index) { + public com.google.cloud.video.livestream.v1.EventOrBuilder getEventsOrBuilder( + int index) { if (eventsBuilder_ == null) { - return events_.get(index); - } else { + return events_.get(index); } else { return eventsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of events.
      * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - public java.util.List - getEventsOrBuilderList() { + public java.util.List + getEventsOrBuilderList() { if (eventsBuilder_ != null) { return eventsBuilder_.getMessageOrBuilderList(); } else { @@ -1027,8 +940,6 @@ public com.google.cloud.video.livestream.v1.EventOrBuilder getEventsOrBuilder(in } } /** - * - * *
      * A list of events.
      * 
@@ -1036,48 +947,42 @@ public com.google.cloud.video.livestream.v1.EventOrBuilder getEventsOrBuilder(in * repeated .google.cloud.video.livestream.v1.Event events = 1; */ public com.google.cloud.video.livestream.v1.Event.Builder addEventsBuilder() { - return getEventsFieldBuilder() - .addBuilder(com.google.cloud.video.livestream.v1.Event.getDefaultInstance()); + return getEventsFieldBuilder().addBuilder( + com.google.cloud.video.livestream.v1.Event.getDefaultInstance()); } /** - * - * *
      * A list of events.
      * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - public com.google.cloud.video.livestream.v1.Event.Builder addEventsBuilder(int index) { - return getEventsFieldBuilder() - .addBuilder(index, com.google.cloud.video.livestream.v1.Event.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.Event.Builder addEventsBuilder( + int index) { + return getEventsFieldBuilder().addBuilder( + index, com.google.cloud.video.livestream.v1.Event.getDefaultInstance()); } /** - * - * *
      * A list of events.
      * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - public java.util.List - getEventsBuilderList() { + public java.util.List + getEventsBuilderList() { return getEventsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event, - com.google.cloud.video.livestream.v1.Event.Builder, - com.google.cloud.video.livestream.v1.EventOrBuilder> + com.google.cloud.video.livestream.v1.Event, com.google.cloud.video.livestream.v1.Event.Builder, com.google.cloud.video.livestream.v1.EventOrBuilder> getEventsFieldBuilder() { if (eventsBuilder_ == null) { - eventsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event, - com.google.cloud.video.livestream.v1.Event.Builder, - com.google.cloud.video.livestream.v1.EventOrBuilder>( - events_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + eventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.Event, com.google.cloud.video.livestream.v1.Event.Builder, com.google.cloud.video.livestream.v1.EventOrBuilder>( + events_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); events_ = null; } return eventsBuilder_; @@ -1085,21 +990,19 @@ public com.google.cloud.video.livestream.v1.Event.Builder addEventsBuilder(int i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1108,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1131,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1247,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1340,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1373,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.ListEventsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.ListEventsResponse) private static final com.google.cloud.video.livestream.v1.ListEventsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.ListEventsResponse(); } @@ -1387,16 +1260,16 @@ public static com.google.cloud.video.livestream.v1.ListEventsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEventsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEventsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEventsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEventsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1411,4 +1284,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.ListEventsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponseOrBuilder.java index 9c51dce..81375f3 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface ListEventsResponseOrBuilder - extends +public interface ListEventsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ListEventsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of events.
    * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - java.util.List getEventsList(); + java.util.List + getEventsList(); /** - * - * *
    * A list of events.
    * 
@@ -44,8 +25,6 @@ public interface ListEventsResponseOrBuilder */ com.google.cloud.video.livestream.v1.Event getEvents(int index); /** - * - * *
    * A list of events.
    * 
@@ -54,102 +33,84 @@ public interface ListEventsResponseOrBuilder */ int getEventsCount(); /** - * - * *
    * A list of events.
    * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - java.util.List + java.util.List getEventsOrBuilderList(); /** - * - * *
    * A list of events.
    * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - com.google.cloud.video.livestream.v1.EventOrBuilder getEventsOrBuilder(int index); + com.google.cloud.video.livestream.v1.EventOrBuilder getEventsOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequest.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequest.java similarity index 70% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequest.java index e87aab4..2d70ec8 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Request message for "LivestreamService.ListInputs".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListInputsRequest} */ -public final class ListInputsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListInputsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.ListInputsRequest) ListInputsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListInputsRequest.newBuilder() to construct. private ListInputsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListInputsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListInputsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInputsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListInputsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListInputsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,42 +99,35 @@ private ListInputsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListInputsRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListInputsRequest.class, - com.google.cloud.video.livestream.v1.ListInputsRequest.Builder.class); + com.google.cloud.video.livestream.v1.ListInputsRequest.class, com.google.cloud.video.livestream.v1.ListInputsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -164,32 +136,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -200,8 +170,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of items to return. If unspecified, server
    * will pick an appropriate default. Server may return fewer items than
@@ -211,7 +179,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -222,14 +189,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -238,29 +202,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -271,14 +235,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -287,29 +248,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -320,15 +281,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Specifies the ordering of results following syntax at [Sorting
    * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -337,30 +295,30 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Specifies the ordering of results following syntax at [Sorting
    * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -369,7 +327,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,7 +338,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -410,7 +368,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -429,19 +388,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.ListInputsRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.ListInputsRequest other = - (com.google.cloud.video.livestream.v1.ListInputsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.video.livestream.v1.ListInputsRequest other = (com.google.cloud.video.livestream.v1.ListInputsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -469,127 +432,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.ListInputsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.ListInputsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListInputsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.ListInputsRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.ListInputsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for "LivestreamService.ListInputs".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListInputsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.ListInputsRequest) com.google.cloud.video.livestream.v1.ListInputsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListInputsRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListInputsRequest.class, - com.google.cloud.video.livestream.v1.ListInputsRequest.Builder.class); + com.google.cloud.video.livestream.v1.ListInputsRequest.class, com.google.cloud.video.livestream.v1.ListInputsRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.ListInputsRequest.newBuilder() @@ -597,15 +550,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -623,9 +577,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor; } @java.lang.Override @@ -644,8 +598,7 @@ public com.google.cloud.video.livestream.v1.ListInputsRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.ListInputsRequest buildPartial() { - com.google.cloud.video.livestream.v1.ListInputsRequest result = - new com.google.cloud.video.livestream.v1.ListInputsRequest(this); + com.google.cloud.video.livestream.v1.ListInputsRequest result = new com.google.cloud.video.livestream.v1.ListInputsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -659,39 +612,38 @@ public com.google.cloud.video.livestream.v1.ListInputsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.ListInputsRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.ListInputsRequest) other); + return mergeFrom((com.google.cloud.video.livestream.v1.ListInputsRequest)other); } else { super.mergeFrom(other); return this; @@ -699,8 +651,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListInputsRequest other) { - if (other == com.google.cloud.video.livestream.v1.ListInputsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.ListInputsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -739,8 +690,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.ListInputsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.ListInputsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -752,23 +702,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -777,24 +723,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -802,79 +745,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -884,7 +812,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -892,8 +819,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -903,19 +828,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -925,11 +847,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -937,20 +858,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -959,21 +878,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -981,61 +899,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1043,20 +954,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1065,21 +974,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1087,61 +995,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1149,21 +1050,19 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Specifies the ordering of results following syntax at [Sorting
      * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
      * 
* * string order_by = 5; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1172,22 +1071,21 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Specifies the ordering of results following syntax at [Sorting
      * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
      * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1195,71 +1093,64 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Specifies the ordering of results following syntax at [Sorting
      * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Specifies the ordering of results following syntax at [Sorting
      * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Specifies the ordering of results following syntax at [Sorting
      * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1269,12 +1160,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.ListInputsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.ListInputsRequest) private static final com.google.cloud.video.livestream.v1.ListInputsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.ListInputsRequest(); } @@ -1283,16 +1174,16 @@ public static com.google.cloud.video.livestream.v1.ListInputsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInputsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInputsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInputsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInputsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1307,4 +1198,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.ListInputsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequestOrBuilder.java index 3bc4e2a..796b36e 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface ListInputsRequestOrBuilder - extends +public interface ListInputsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ListInputsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of items to return. If unspecified, server
    * will pick an appropriate default. Server may return fewer items than
@@ -66,85 +39,69 @@ public interface ListInputsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Specifies the ordering of results following syntax at [Sorting
    * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Specifies the ordering of results following syntax at [Sorting
    * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponse.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponse.java similarity index 73% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponse.java index 8fab050..92e3cd4 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Response message for "LivestreamService.ListInputs".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListInputsResponse} */ -public final class ListInputsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListInputsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.ListInputsResponse) ListInputsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListInputsResponse.newBuilder() to construct. private ListInputsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListInputsResponse() { inputs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListInputsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInputsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListInputsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private ListInputsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - inputs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - inputs_.add( - input.readMessage( - com.google.cloud.video.livestream.v1.Input.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + inputs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + inputs_.add( + input.readMessage(com.google.cloud.video.livestream.v1.Input.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +94,8 @@ private ListInputsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { inputs_ = java.util.Collections.unmodifiableList(inputs_); @@ -127,27 +107,22 @@ private ListInputsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListInputsResponse_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListInputsResponse.class, - com.google.cloud.video.livestream.v1.ListInputsResponse.Builder.class); + com.google.cloud.video.livestream.v1.ListInputsResponse.class, com.google.cloud.video.livestream.v1.ListInputsResponse.Builder.class); } public static final int INPUTS_FIELD_NUMBER = 1; private java.util.List inputs_; /** - * - * *
    * A list of inputs.
    * 
@@ -159,8 +134,6 @@ public java.util.List getInputsList( return inputs_; } /** - * - * *
    * A list of inputs.
    * 
@@ -168,13 +141,11 @@ public java.util.List getInputsList( * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInputsOrBuilderList() { return inputs_; } /** - * - * *
    * A list of inputs.
    * 
@@ -186,8 +157,6 @@ public int getInputsCount() { return inputs_.size(); } /** - * - * *
    * A list of inputs.
    * 
@@ -199,8 +168,6 @@ public com.google.cloud.video.livestream.v1.Input getInputs(int index) { return inputs_.get(index); } /** - * - * *
    * A list of inputs.
    * 
@@ -208,22 +175,20 @@ public com.google.cloud.video.livestream.v1.Input getInputs(int index) { * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.InputOrBuilder getInputsOrBuilder(int index) { + public com.google.cloud.video.livestream.v1.InputOrBuilder getInputsOrBuilder( + int index) { return inputs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -232,30 +197,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -266,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -309,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +291,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < inputs_.size(); i++) { output.writeMessage(1, inputs_.get(i)); } @@ -357,7 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < inputs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, inputs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, inputs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -378,17 +334,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.ListInputsResponse)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.ListInputsResponse other = - (com.google.cloud.video.livestream.v1.ListInputsResponse) obj; + com.google.cloud.video.livestream.v1.ListInputsResponse other = (com.google.cloud.video.livestream.v1.ListInputsResponse) obj; - if (!getInputsList().equals(other.getInputsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getInputsList() + .equals(other.getInputsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -416,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.ListInputsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.ListInputsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListInputsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.ListInputsResponse prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.ListInputsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for "LivestreamService.ListInputs".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListInputsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.ListInputsResponse) com.google.cloud.video.livestream.v1.ListInputsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListInputsResponse_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListInputsResponse.class, - com.google.cloud.video.livestream.v1.ListInputsResponse.Builder.class); + com.google.cloud.video.livestream.v1.ListInputsResponse.class, com.google.cloud.video.livestream.v1.ListInputsResponse.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.ListInputsResponse.newBuilder() @@ -544,17 +492,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) { getInputsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -572,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor; } @java.lang.Override @@ -593,8 +541,7 @@ public com.google.cloud.video.livestream.v1.ListInputsResponse build() { @java.lang.Override public com.google.cloud.video.livestream.v1.ListInputsResponse buildPartial() { - com.google.cloud.video.livestream.v1.ListInputsResponse result = - new com.google.cloud.video.livestream.v1.ListInputsResponse(this); + com.google.cloud.video.livestream.v1.ListInputsResponse result = new com.google.cloud.video.livestream.v1.ListInputsResponse(this); int from_bitField0_ = bitField0_; if (inputsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -619,39 +566,38 @@ public com.google.cloud.video.livestream.v1.ListInputsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.ListInputsResponse) { - return mergeFrom((com.google.cloud.video.livestream.v1.ListInputsResponse) other); + return mergeFrom((com.google.cloud.video.livestream.v1.ListInputsResponse)other); } else { super.mergeFrom(other); return this; @@ -659,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListInputsResponse other) { - if (other == com.google.cloud.video.livestream.v1.ListInputsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.ListInputsResponse.getDefaultInstance()) return this; if (inputsBuilder_ == null) { if (!other.inputs_.isEmpty()) { if (inputs_.isEmpty()) { @@ -679,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListInputsResponse inputsBuilder_ = null; inputs_ = other.inputs_; bitField0_ = (bitField0_ & ~0x00000001); - inputsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getInputsFieldBuilder() - : null; + inputsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInputsFieldBuilder() : null; } else { inputsBuilder_.addAllMessages(other.inputs_); } @@ -721,8 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.ListInputsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.ListInputsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -731,28 +674,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List inputs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInputsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { inputs_ = new java.util.ArrayList(inputs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input, - com.google.cloud.video.livestream.v1.Input.Builder, - com.google.cloud.video.livestream.v1.InputOrBuilder> - inputsBuilder_; + com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder> inputsBuilder_; /** - * - * *
      * A list of inputs.
      * 
@@ -767,8 +703,6 @@ public java.util.List getInputsList( } } /** - * - * *
      * A list of inputs.
      * 
@@ -783,8 +717,6 @@ public int getInputsCount() { } } /** - * - * *
      * A list of inputs.
      * 
@@ -799,15 +731,14 @@ public com.google.cloud.video.livestream.v1.Input getInputs(int index) { } } /** - * - * *
      * A list of inputs.
      * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - public Builder setInputs(int index, com.google.cloud.video.livestream.v1.Input value) { + public Builder setInputs( + int index, com.google.cloud.video.livestream.v1.Input value) { if (inputsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -821,8 +752,6 @@ public Builder setInputs(int index, com.google.cloud.video.livestream.v1.Input v return this; } /** - * - * *
      * A list of inputs.
      * 
@@ -841,8 +770,6 @@ public Builder setInputs( return this; } /** - * - * *
      * A list of inputs.
      * 
@@ -863,15 +790,14 @@ public Builder addInputs(com.google.cloud.video.livestream.v1.Input value) { return this; } /** - * - * *
      * A list of inputs.
      * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - public Builder addInputs(int index, com.google.cloud.video.livestream.v1.Input value) { + public Builder addInputs( + int index, com.google.cloud.video.livestream.v1.Input value) { if (inputsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -885,15 +811,14 @@ public Builder addInputs(int index, com.google.cloud.video.livestream.v1.Input v return this; } /** - * - * *
      * A list of inputs.
      * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - public Builder addInputs(com.google.cloud.video.livestream.v1.Input.Builder builderForValue) { + public Builder addInputs( + com.google.cloud.video.livestream.v1.Input.Builder builderForValue) { if (inputsBuilder_ == null) { ensureInputsIsMutable(); inputs_.add(builderForValue.build()); @@ -904,8 +829,6 @@ public Builder addInputs(com.google.cloud.video.livestream.v1.Input.Builder buil return this; } /** - * - * *
      * A list of inputs.
      * 
@@ -924,8 +847,6 @@ public Builder addInputs( return this; } /** - * - * *
      * A list of inputs.
      * 
@@ -936,7 +857,8 @@ public Builder addAllInputs( java.lang.Iterable values) { if (inputsBuilder_ == null) { ensureInputsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inputs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, inputs_); onChanged(); } else { inputsBuilder_.addAllMessages(values); @@ -944,8 +866,6 @@ public Builder addAllInputs( return this; } /** - * - * *
      * A list of inputs.
      * 
@@ -963,8 +883,6 @@ public Builder clearInputs() { return this; } /** - * - * *
      * A list of inputs.
      * 
@@ -982,44 +900,39 @@ public Builder removeInputs(int index) { return this; } /** - * - * *
      * A list of inputs.
      * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - public com.google.cloud.video.livestream.v1.Input.Builder getInputsBuilder(int index) { + public com.google.cloud.video.livestream.v1.Input.Builder getInputsBuilder( + int index) { return getInputsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of inputs.
      * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - public com.google.cloud.video.livestream.v1.InputOrBuilder getInputsOrBuilder(int index) { + public com.google.cloud.video.livestream.v1.InputOrBuilder getInputsOrBuilder( + int index) { if (inputsBuilder_ == null) { - return inputs_.get(index); - } else { + return inputs_.get(index); } else { return inputsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of inputs.
      * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - public java.util.List - getInputsOrBuilderList() { + public java.util.List + getInputsOrBuilderList() { if (inputsBuilder_ != null) { return inputsBuilder_.getMessageOrBuilderList(); } else { @@ -1027,8 +940,6 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputsOrBuilder(in } } /** - * - * *
      * A list of inputs.
      * 
@@ -1036,48 +947,42 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputsOrBuilder(in * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ public com.google.cloud.video.livestream.v1.Input.Builder addInputsBuilder() { - return getInputsFieldBuilder() - .addBuilder(com.google.cloud.video.livestream.v1.Input.getDefaultInstance()); + return getInputsFieldBuilder().addBuilder( + com.google.cloud.video.livestream.v1.Input.getDefaultInstance()); } /** - * - * *
      * A list of inputs.
      * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - public com.google.cloud.video.livestream.v1.Input.Builder addInputsBuilder(int index) { - return getInputsFieldBuilder() - .addBuilder(index, com.google.cloud.video.livestream.v1.Input.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.Input.Builder addInputsBuilder( + int index) { + return getInputsFieldBuilder().addBuilder( + index, com.google.cloud.video.livestream.v1.Input.getDefaultInstance()); } /** - * - * *
      * A list of inputs.
      * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - public java.util.List - getInputsBuilderList() { + public java.util.List + getInputsBuilderList() { return getInputsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input, - com.google.cloud.video.livestream.v1.Input.Builder, - com.google.cloud.video.livestream.v1.InputOrBuilder> + com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder> getInputsFieldBuilder() { if (inputsBuilder_ == null) { - inputsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input, - com.google.cloud.video.livestream.v1.Input.Builder, - com.google.cloud.video.livestream.v1.InputOrBuilder>( - inputs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + inputsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder>( + inputs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); inputs_ = null; } return inputsBuilder_; @@ -1085,21 +990,19 @@ public com.google.cloud.video.livestream.v1.Input.Builder addInputsBuilder(int i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1108,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1131,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1247,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1340,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1373,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.ListInputsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.ListInputsResponse) private static final com.google.cloud.video.livestream.v1.ListInputsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.ListInputsResponse(); } @@ -1387,16 +1260,16 @@ public static com.google.cloud.video.livestream.v1.ListInputsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInputsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInputsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInputsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInputsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1411,4 +1284,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.ListInputsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponseOrBuilder.java index f3a53ab..a8496aa 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface ListInputsResponseOrBuilder - extends +public interface ListInputsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ListInputsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of inputs.
    * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - java.util.List getInputsList(); + java.util.List + getInputsList(); /** - * - * *
    * A list of inputs.
    * 
@@ -44,8 +25,6 @@ public interface ListInputsResponseOrBuilder */ com.google.cloud.video.livestream.v1.Input getInputs(int index); /** - * - * *
    * A list of inputs.
    * 
@@ -54,102 +33,84 @@ public interface ListInputsResponseOrBuilder */ int getInputsCount(); /** - * - * *
    * A list of inputs.
    * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - java.util.List + java.util.List getInputsOrBuilderList(); /** - * - * *
    * A list of inputs.
    * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - com.google.cloud.video.livestream.v1.InputOrBuilder getInputsOrBuilder(int index); + com.google.cloud.video.livestream.v1.InputOrBuilder getInputsOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LocationName.java similarity index 100% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LocationName.java diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfig.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfig.java similarity index 71% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfig.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfig.java index 481386b..7bddd21 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Configuration of platform logs.
  * See [Using and managing platform
@@ -30,31 +13,31 @@
  *
  * Protobuf type {@code google.cloud.video.livestream.v1.LogConfig}
  */
-public final class LogConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class LogConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.LogConfig)
     LogConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use LogConfig.newBuilder() to construct.
   private LogConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private LogConfig() {
     logSeverity_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new LogConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private LogConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,20 +56,19 @@ private LogConfig(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              logSeverity_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            logSeverity_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,31 +76,27 @@ private LogConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.video.livestream.v1.ResourcesProto
-        .internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.video.livestream.v1.ResourcesProto
-        .internal_static_google_cloud_video_livestream_v1_LogConfig_fieldAccessorTable
+    return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_LogConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.video.livestream.v1.LogConfig.class,
-            com.google.cloud.video.livestream.v1.LogConfig.Builder.class);
+            com.google.cloud.video.livestream.v1.LogConfig.class, com.google.cloud.video.livestream.v1.LogConfig.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The severity level of platform logging for this channel. Logs with a
    * severity level higher than or equal to the chosen severity level will be
@@ -132,10 +110,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.video.livestream.v1.LogConfig.LogSeverity}
    */
-  public enum LogSeverity implements com.google.protobuf.ProtocolMessageEnum {
+  public enum LogSeverity
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Log severity is not specified. This is the same as log severity is OFF.
      * 
@@ -144,8 +121,6 @@ public enum LogSeverity implements com.google.protobuf.ProtocolMessageEnum { */ LOG_SEVERITY_UNSPECIFIED(0), /** - * - * *
      * Log is turned off.
      * 
@@ -154,8 +129,6 @@ public enum LogSeverity implements com.google.protobuf.ProtocolMessageEnum { */ OFF(1), /** - * - * *
      * Log with severity higher than or equal to DEBUG are logged.
      * 
@@ -164,8 +137,6 @@ public enum LogSeverity implements com.google.protobuf.ProtocolMessageEnum { */ DEBUG(100), /** - * - * *
      * Logs with severity higher than or equal to INFO are logged.
      * 
@@ -174,8 +145,6 @@ public enum LogSeverity implements com.google.protobuf.ProtocolMessageEnum { */ INFO(200), /** - * - * *
      * Logs with severity higher than or equal to WARNING are logged.
      * 
@@ -184,8 +153,6 @@ public enum LogSeverity implements com.google.protobuf.ProtocolMessageEnum { */ WARNING(400), /** - * - * *
      * Logs with severity higher than or equal to ERROR are logged.
      * 
@@ -197,8 +164,6 @@ public enum LogSeverity implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Log severity is not specified. This is the same as log severity is OFF.
      * 
@@ -207,8 +172,6 @@ public enum LogSeverity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOG_SEVERITY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Log is turned off.
      * 
@@ -217,8 +180,6 @@ public enum LogSeverity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OFF_VALUE = 1; /** - * - * *
      * Log with severity higher than or equal to DEBUG are logged.
      * 
@@ -227,8 +188,6 @@ public enum LogSeverity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEBUG_VALUE = 100; /** - * - * *
      * Logs with severity higher than or equal to INFO are logged.
      * 
@@ -237,8 +196,6 @@ public enum LogSeverity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INFO_VALUE = 200; /** - * - * *
      * Logs with severity higher than or equal to WARNING are logged.
      * 
@@ -247,8 +204,6 @@ public enum LogSeverity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WARNING_VALUE = 400; /** - * - * *
      * Logs with severity higher than or equal to ERROR are logged.
      * 
@@ -257,6 +212,7 @@ public enum LogSeverity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ERROR_VALUE = 500; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -281,55 +237,52 @@ public static LogSeverity valueOf(int value) { */ public static LogSeverity forNumber(int value) { switch (value) { - case 0: - return LOG_SEVERITY_UNSPECIFIED; - case 1: - return OFF; - case 100: - return DEBUG; - case 200: - return INFO; - case 400: - return WARNING; - case 500: - return ERROR; - default: - return null; + case 0: return LOG_SEVERITY_UNSPECIFIED; + case 1: return OFF; + case 100: return DEBUG; + case 200: return INFO; + case 400: return WARNING; + case 500: return ERROR; + 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< + LogSeverity> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LogSeverity findValueByNumber(int number) { + return LogSeverity.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LogSeverity findValueByNumber(int number) { - return LogSeverity.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.video.livestream.v1.LogConfig.getDescriptor().getEnumTypes().get(0); } private static final LogSeverity[] VALUES = values(); - public static LogSeverity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LogSeverity 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; @@ -349,43 +302,31 @@ private LogSeverity(int value) { public static final int LOG_SEVERITY_FIELD_NUMBER = 1; private int logSeverity_; /** - * - * *
    * The severity level of platform logging for this resource.
    * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; - * * @return The enum numeric value on the wire for logSeverity. */ - @java.lang.Override - public int getLogSeverityValue() { + @java.lang.Override public int getLogSeverityValue() { return logSeverity_; } /** - * - * *
    * The severity level of platform logging for this resource.
    * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; - * * @return The logSeverity. */ - @java.lang.Override - public com.google.cloud.video.livestream.v1.LogConfig.LogSeverity getLogSeverity() { + @java.lang.Override public com.google.cloud.video.livestream.v1.LogConfig.LogSeverity getLogSeverity() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.LogConfig.LogSeverity result = - com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.valueOf(logSeverity_); - return result == null - ? com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.UNRECOGNIZED - : result; + com.google.cloud.video.livestream.v1.LogConfig.LogSeverity result = com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.valueOf(logSeverity_); + return result == null ? com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -397,10 +338,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (logSeverity_ - != com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.LOG_SEVERITY_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (logSeverity_ != com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.LOG_SEVERITY_UNSPECIFIED.getNumber()) { output.writeEnum(1, logSeverity_); } unknownFields.writeTo(output); @@ -412,10 +352,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (logSeverity_ - != com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.LOG_SEVERITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, logSeverity_); + if (logSeverity_ != com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.LOG_SEVERITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, logSeverity_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -425,13 +364,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.video.livestream.v1.LogConfig)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.LogConfig other = - (com.google.cloud.video.livestream.v1.LogConfig) obj; + com.google.cloud.video.livestream.v1.LogConfig other = (com.google.cloud.video.livestream.v1.LogConfig) obj; if (logSeverity_ != other.logSeverity_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -452,104 +390,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.LogConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.LogConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.LogConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.LogConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.LogConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.LogConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.LogConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.LogConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.LogConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.LogConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.LogConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.LogConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.LogConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.LogConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.LogConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration of platform logs.
    * See [Using and managing platform
@@ -559,23 +490,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.video.livestream.v1.LogConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.LogConfig)
       com.google.cloud.video.livestream.v1.LogConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto
-          .internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto
-          .internal_static_google_cloud_video_livestream_v1_LogConfig_fieldAccessorTable
+      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_LogConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.livestream.v1.LogConfig.class,
-              com.google.cloud.video.livestream.v1.LogConfig.Builder.class);
+              com.google.cloud.video.livestream.v1.LogConfig.class, com.google.cloud.video.livestream.v1.LogConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.video.livestream.v1.LogConfig.newBuilder()
@@ -583,15 +512,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();
@@ -601,9 +531,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto
-          .internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor;
     }
 
     @java.lang.Override
@@ -622,8 +552,7 @@ public com.google.cloud.video.livestream.v1.LogConfig build() {
 
     @java.lang.Override
     public com.google.cloud.video.livestream.v1.LogConfig buildPartial() {
-      com.google.cloud.video.livestream.v1.LogConfig result =
-          new com.google.cloud.video.livestream.v1.LogConfig(this);
+      com.google.cloud.video.livestream.v1.LogConfig result = new com.google.cloud.video.livestream.v1.LogConfig(this);
       result.logSeverity_ = logSeverity_;
       onBuilt();
       return result;
@@ -633,39 +562,38 @@ public com.google.cloud.video.livestream.v1.LogConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.video.livestream.v1.LogConfig) {
-        return mergeFrom((com.google.cloud.video.livestream.v1.LogConfig) other);
+        return mergeFrom((com.google.cloud.video.livestream.v1.LogConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -708,100 +636,80 @@ public Builder mergeFrom(
 
     private int logSeverity_ = 0;
     /**
-     *
-     *
      * 
      * The severity level of platform logging for this resource.
      * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; - * * @return The enum numeric value on the wire for logSeverity. */ - @java.lang.Override - public int getLogSeverityValue() { + @java.lang.Override public int getLogSeverityValue() { return logSeverity_; } /** - * - * *
      * The severity level of platform logging for this resource.
      * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; - * * @param value The enum numeric value on the wire for logSeverity to set. * @return This builder for chaining. */ public Builder setLogSeverityValue(int value) { - + logSeverity_ = value; onChanged(); return this; } /** - * - * *
      * The severity level of platform logging for this resource.
      * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; - * * @return The logSeverity. */ @java.lang.Override public com.google.cloud.video.livestream.v1.LogConfig.LogSeverity getLogSeverity() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.LogConfig.LogSeverity result = - com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.valueOf(logSeverity_); - return result == null - ? com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.UNRECOGNIZED - : result; + com.google.cloud.video.livestream.v1.LogConfig.LogSeverity result = com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.valueOf(logSeverity_); + return result == null ? com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.UNRECOGNIZED : result; } /** - * - * *
      * The severity level of platform logging for this resource.
      * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; - * * @param value The logSeverity to set. * @return This builder for chaining. */ - public Builder setLogSeverity( - com.google.cloud.video.livestream.v1.LogConfig.LogSeverity value) { + public Builder setLogSeverity(com.google.cloud.video.livestream.v1.LogConfig.LogSeverity value) { if (value == null) { throw new NullPointerException(); } - + logSeverity_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The severity level of platform logging for this resource.
      * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; - * * @return This builder for chaining. */ public Builder clearLogSeverity() { - + logSeverity_ = 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); } @@ -811,12 +719,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.LogConfig) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.LogConfig) private static final com.google.cloud.video.livestream.v1.LogConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.LogConfig(); } @@ -825,16 +733,16 @@ public static com.google.cloud.video.livestream.v1.LogConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LogConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LogConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LogConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LogConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -849,4 +757,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.LogConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfigOrBuilder.java similarity index 57% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfigOrBuilder.java index 57d8bf7..c41954a 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfigOrBuilder.java @@ -1,49 +1,27 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface LogConfigOrBuilder - extends +public interface LogConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.LogConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The severity level of platform logging for this resource.
    * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; - * * @return The enum numeric value on the wire for logSeverity. */ int getLogSeverityValue(); /** - * - * *
    * The severity level of platform logging for this resource.
    * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; - * * @return The logSeverity. */ com.google.cloud.video.livestream.v1.LogConfig.LogSeverity getLogSeverity(); diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Manifest.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Manifest.java similarity index 76% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Manifest.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Manifest.java index 2c4bfa3..2d12057 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Manifest.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Manifest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Manifest configuration.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.Manifest} */ -public final class Manifest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Manifest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.Manifest) ManifestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Manifest.newBuilder() to construct. private Manifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Manifest() { fileName_ = ""; type_ = 0; @@ -45,15 +27,16 @@ private Manifest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Manifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Manifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,57 +56,52 @@ private Manifest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - fileName_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + fileName_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - muxStreams_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - muxStreams_.add(s); - break; + type_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + muxStreams_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 32: - { - maxSegmentCount_ = input.readInt32(); - break; + muxStreams_.add(s); + break; + } + case 32: { + + maxSegmentCount_ = input.readInt32(); + break; + } + case 42: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (segmentKeepDuration_ != null) { + subBuilder = segmentKeepDuration_.toBuilder(); } - case 42: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (segmentKeepDuration_ != null) { - subBuilder = segmentKeepDuration_.toBuilder(); - } - segmentKeepDuration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segmentKeepDuration_); - segmentKeepDuration_ = subBuilder.buildPartial(); - } - - break; + segmentKeepDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segmentKeepDuration_); + segmentKeepDuration_ = 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) { @@ -131,7 +109,8 @@ private Manifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { muxStreams_ = muxStreams_.getUnmodifiableView(); @@ -140,35 +119,29 @@ private Manifest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_Manifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_Manifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_Manifest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_Manifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.Manifest.class, - com.google.cloud.video.livestream.v1.Manifest.Builder.class); + com.google.cloud.video.livestream.v1.Manifest.class, com.google.cloud.video.livestream.v1.Manifest.Builder.class); } /** - * - * *
    * The manifest type can be either `HLS` or `DASH`.
    * 
* * Protobuf enum {@code google.cloud.video.livestream.v1.Manifest.ManifestType} */ - public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { + public enum ManifestType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The manifest type is not specified.
      * 
@@ -177,8 +150,6 @@ public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { */ MANIFEST_TYPE_UNSPECIFIED(0), /** - * - * *
      * Create an `HLS` manifest. The corresponding file extension is `.m3u8`.
      * 
@@ -187,8 +158,6 @@ public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { */ HLS(1), /** - * - * *
      * Create a `DASH` manifest. The corresponding file extension is `.mpd`.
      * 
@@ -200,8 +169,6 @@ public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The manifest type is not specified.
      * 
@@ -210,8 +177,6 @@ public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANIFEST_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Create an `HLS` manifest. The corresponding file extension is `.m3u8`.
      * 
@@ -220,8 +185,6 @@ public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HLS_VALUE = 1; /** - * - * *
      * Create a `DASH` manifest. The corresponding file extension is `.mpd`.
      * 
@@ -230,6 +193,7 @@ public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DASH_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -254,49 +218,49 @@ public static ManifestType valueOf(int value) { */ public static ManifestType forNumber(int value) { switch (value) { - case 0: - return MANIFEST_TYPE_UNSPECIFIED; - case 1: - return HLS; - case 2: - return DASH; - default: - return null; + case 0: return MANIFEST_TYPE_UNSPECIFIED; + case 1: return HLS; + case 2: return DASH; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ManifestType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ManifestType findValueByNumber(int number) { + return ManifestType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ManifestType findValueByNumber(int number) { - return ManifestType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.video.livestream.v1.Manifest.getDescriptor().getEnumTypes().get(0); } private static final ManifestType[] VALUES = values(); - public static ManifestType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ManifestType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -316,8 +280,6 @@ private ManifestType(int value) { public static final int FILE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object fileName_; /** - * - * *
    * The name of the generated file. The default is `manifest` with the
    * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -325,7 +287,6 @@ private ManifestType(int value) {
    * 
* * string file_name = 1; - * * @return The fileName. */ @java.lang.Override @@ -334,15 +295,14 @@ public java.lang.String getFileName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileName_ = s; return s; } } /** - * - * *
    * The name of the generated file. The default is `manifest` with the
    * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -350,15 +310,16 @@ public java.lang.String getFileName() {
    * 
* * string file_name = 1; - * * @return The bytes for fileName. */ @java.lang.Override - public com.google.protobuf.ByteString getFileNameBytes() { + public com.google.protobuf.ByteString + getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fileName_ = b; return b; } else { @@ -369,50 +330,33 @@ public com.google.protobuf.ByteString getFileNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** - * - * *
    * Required. Type of the manifest, can be `HLS` or `DASH`.
    * 
* - * - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. Type of the manifest, can be `HLS` or `DASH`.
    * 
* - * - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.video.livestream.v1.Manifest.ManifestType getType() { + @java.lang.Override public com.google.cloud.video.livestream.v1.Manifest.ManifestType getType() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Manifest.ManifestType result = - com.google.cloud.video.livestream.v1.Manifest.ManifestType.valueOf(type_); - return result == null - ? com.google.cloud.video.livestream.v1.Manifest.ManifestType.UNRECOGNIZED - : result; + com.google.cloud.video.livestream.v1.Manifest.ManifestType result = com.google.cloud.video.livestream.v1.Manifest.ManifestType.valueOf(type_); + return result == null ? com.google.cloud.video.livestream.v1.Manifest.ManifestType.UNRECOGNIZED : result; } public static final int MUX_STREAMS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList muxStreams_; /** - * - * *
    * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
    * manifest.
@@ -422,15 +366,13 @@ public com.google.cloud.video.livestream.v1.Manifest.ManifestType getType() {
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the muxStreams. */ - public com.google.protobuf.ProtocolStringList getMuxStreamsList() { + public com.google.protobuf.ProtocolStringList + getMuxStreamsList() { return muxStreams_; } /** - * - * *
    * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
    * manifest.
@@ -440,15 +382,12 @@ public com.google.protobuf.ProtocolStringList getMuxStreamsList() {
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of muxStreams. */ public int getMuxStreamsCount() { return muxStreams_.size(); } /** - * - * *
    * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
    * manifest.
@@ -458,7 +397,6 @@ public int getMuxStreamsCount() {
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The muxStreams at the given index. */ @@ -466,8 +404,6 @@ public java.lang.String getMuxStreams(int index) { return muxStreams_.get(index); } /** - * - * *
    * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
    * manifest.
@@ -477,19 +413,17 @@ public java.lang.String getMuxStreams(int index) {
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the muxStreams at the given index. */ - public com.google.protobuf.ByteString getMuxStreamsBytes(int index) { + public com.google.protobuf.ByteString + getMuxStreamsBytes(int index) { return muxStreams_.getByteString(index); } public static final int MAX_SEGMENT_COUNT_FIELD_NUMBER = 4; private int maxSegmentCount_; /** - * - * *
    * Maximum number of segments that this manifest holds. Once the manifest
    * reaches this maximum number of segments, whenever a new segment is added to
@@ -498,7 +432,6 @@ public com.google.protobuf.ByteString getMuxStreamsBytes(int index) {
    * 
* * int32 max_segment_count = 4; - * * @return The maxSegmentCount. */ @java.lang.Override @@ -509,8 +442,6 @@ public int getMaxSegmentCount() { public static final int SEGMENT_KEEP_DURATION_FIELD_NUMBER = 5; private com.google.protobuf.Duration segmentKeepDuration_; /** - * - * *
    * How long to keep a segment on the output Google Cloud Storage bucket after
    * it is removed from the manifest. This field should be large enough to cover
@@ -521,7 +452,6 @@ public int getMaxSegmentCount() {
    * 
* * .google.protobuf.Duration segment_keep_duration = 5; - * * @return Whether the segmentKeepDuration field is set. */ @java.lang.Override @@ -529,8 +459,6 @@ public boolean hasSegmentKeepDuration() { return segmentKeepDuration_ != null; } /** - * - * *
    * How long to keep a segment on the output Google Cloud Storage bucket after
    * it is removed from the manifest. This field should be large enough to cover
@@ -541,18 +469,13 @@ public boolean hasSegmentKeepDuration() {
    * 
* * .google.protobuf.Duration segment_keep_duration = 5; - * * @return The segmentKeepDuration. */ @java.lang.Override public com.google.protobuf.Duration getSegmentKeepDuration() { - return segmentKeepDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : segmentKeepDuration_; + return segmentKeepDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : segmentKeepDuration_; } /** - * - * *
    * How long to keep a segment on the output Google Cloud Storage bucket after
    * it is removed from the manifest. This field should be large enough to cover
@@ -570,7 +493,6 @@ public com.google.protobuf.DurationOrBuilder getSegmentKeepDurationOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -582,13 +504,12 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fileName_);
     }
-    if (type_
-        != com.google.cloud.video.livestream.v1.Manifest.ManifestType.MANIFEST_TYPE_UNSPECIFIED
-            .getNumber()) {
+    if (type_ != com.google.cloud.video.livestream.v1.Manifest.ManifestType.MANIFEST_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, type_);
     }
     for (int i = 0; i < muxStreams_.size(); i++) {
@@ -612,10 +533,9 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fileName_);
     }
-    if (type_
-        != com.google.cloud.video.livestream.v1.Manifest.ManifestType.MANIFEST_TYPE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_);
+    if (type_ != com.google.cloud.video.livestream.v1.Manifest.ManifestType.MANIFEST_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(2, type_);
     }
     {
       int dataSize = 0;
@@ -626,10 +546,12 @@ public int getSerializedSize() {
       size += 1 * getMuxStreamsList().size();
     }
     if (maxSegmentCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, maxSegmentCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(4, maxSegmentCount_);
     }
     if (segmentKeepDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSegmentKeepDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getSegmentKeepDuration());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -639,21 +561,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.video.livestream.v1.Manifest)) {
       return super.equals(obj);
     }
-    com.google.cloud.video.livestream.v1.Manifest other =
-        (com.google.cloud.video.livestream.v1.Manifest) obj;
+    com.google.cloud.video.livestream.v1.Manifest other = (com.google.cloud.video.livestream.v1.Manifest) obj;
 
-    if (!getFileName().equals(other.getFileName())) return false;
+    if (!getFileName()
+        .equals(other.getFileName())) return false;
     if (type_ != other.type_) return false;
-    if (!getMuxStreamsList().equals(other.getMuxStreamsList())) return false;
-    if (getMaxSegmentCount() != other.getMaxSegmentCount()) return false;
+    if (!getMuxStreamsList()
+        .equals(other.getMuxStreamsList())) return false;
+    if (getMaxSegmentCount()
+        != other.getMaxSegmentCount()) return false;
     if (hasSegmentKeepDuration() != other.hasSegmentKeepDuration()) return false;
     if (hasSegmentKeepDuration()) {
-      if (!getSegmentKeepDuration().equals(other.getSegmentKeepDuration())) return false;
+      if (!getSegmentKeepDuration()
+          .equals(other.getSegmentKeepDuration())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -685,127 +610,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.video.livestream.v1.Manifest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.video.livestream.v1.Manifest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.video.livestream.v1.Manifest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.video.livestream.v1.Manifest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.livestream.v1.Manifest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.video.livestream.v1.Manifest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Manifest configuration.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.Manifest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.Manifest) com.google.cloud.video.livestream.v1.ManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_Manifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_Manifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_Manifest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_Manifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.Manifest.class, - com.google.cloud.video.livestream.v1.Manifest.Builder.class); + com.google.cloud.video.livestream.v1.Manifest.class, com.google.cloud.video.livestream.v1.Manifest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.Manifest.newBuilder() @@ -813,15 +729,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(); @@ -843,9 +760,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_Manifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_Manifest_descriptor; } @java.lang.Override @@ -864,8 +781,7 @@ public com.google.cloud.video.livestream.v1.Manifest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.Manifest buildPartial() { - com.google.cloud.video.livestream.v1.Manifest result = - new com.google.cloud.video.livestream.v1.Manifest(this); + com.google.cloud.video.livestream.v1.Manifest result = new com.google.cloud.video.livestream.v1.Manifest(this); int from_bitField0_ = bitField0_; result.fileName_ = fileName_; result.type_ = type_; @@ -888,39 +804,38 @@ public com.google.cloud.video.livestream.v1.Manifest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.Manifest) { - return mergeFrom((com.google.cloud.video.livestream.v1.Manifest) other); + return mergeFrom((com.google.cloud.video.livestream.v1.Manifest)other); } else { super.mergeFrom(other); return this; @@ -980,13 +895,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object fileName_ = ""; /** - * - * *
      * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -994,13 +906,13 @@ public Builder mergeFrom(
      * 
* * string file_name = 1; - * * @return The fileName. */ public java.lang.String getFileName() { java.lang.Object ref = fileName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileName_ = s; return s; @@ -1009,8 +921,6 @@ public java.lang.String getFileName() { } } /** - * - * *
      * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -1018,14 +928,15 @@ public java.lang.String getFileName() {
      * 
* * string file_name = 1; - * * @return The bytes for fileName. */ - public com.google.protobuf.ByteString getFileNameBytes() { + public com.google.protobuf.ByteString + getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fileName_ = b; return b; } else { @@ -1033,8 +944,6 @@ public com.google.protobuf.ByteString getFileNameBytes() { } } /** - * - * *
      * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -1042,22 +951,20 @@ public com.google.protobuf.ByteString getFileNameBytes() {
      * 
* * string file_name = 1; - * * @param value The fileName to set. * @return This builder for chaining. */ - public Builder setFileName(java.lang.String value) { + public Builder setFileName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fileName_ = value; onChanged(); return this; } /** - * - * *
      * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -1065,18 +972,15 @@ public Builder setFileName(java.lang.String value) {
      * 
* * string file_name = 1; - * * @return This builder for chaining. */ public Builder clearFileName() { - + fileName_ = getDefaultInstance().getFileName(); onChanged(); return this; } /** - * - * *
      * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -1084,16 +988,16 @@ public Builder clearFileName() {
      * 
* * string file_name = 1; - * * @param value The bytes for fileName to set. * @return This builder for chaining. */ - public Builder setFileNameBytes(com.google.protobuf.ByteString value) { + public Builder setFileNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fileName_ = value; onChanged(); return this; @@ -1101,75 +1005,51 @@ public Builder setFileNameBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* - * - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* - * - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* - * - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Manifest.ManifestType getType() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Manifest.ManifestType result = - com.google.cloud.video.livestream.v1.Manifest.ManifestType.valueOf(type_); - return result == null - ? com.google.cloud.video.livestream.v1.Manifest.ManifestType.UNRECOGNIZED - : result; + com.google.cloud.video.livestream.v1.Manifest.ManifestType result = com.google.cloud.video.livestream.v1.Manifest.ManifestType.valueOf(type_); + return result == null ? com.google.cloud.video.livestream.v1.Manifest.ManifestType.UNRECOGNIZED : result; } /** - * - * *
      * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* - * - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ @@ -1177,43 +1057,34 @@ public Builder setType(com.google.cloud.video.livestream.v1.Manifest.ManifestTyp if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* - * - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList muxStreams_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList muxStreams_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureMuxStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { muxStreams_ = new com.google.protobuf.LazyStringArrayList(muxStreams_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1223,15 +1094,13 @@ private void ensureMuxStreamsIsMutable() {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the muxStreams. */ - public com.google.protobuf.ProtocolStringList getMuxStreamsList() { + public com.google.protobuf.ProtocolStringList + getMuxStreamsList() { return muxStreams_.getUnmodifiableView(); } /** - * - * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1241,15 +1110,12 @@ public com.google.protobuf.ProtocolStringList getMuxStreamsList() {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of muxStreams. */ public int getMuxStreamsCount() { return muxStreams_.size(); } /** - * - * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1259,7 +1125,6 @@ public int getMuxStreamsCount() {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The muxStreams at the given index. */ @@ -1267,8 +1132,6 @@ public java.lang.String getMuxStreams(int index) { return muxStreams_.get(index); } /** - * - * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1278,16 +1141,14 @@ public java.lang.String getMuxStreams(int index) {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the muxStreams at the given index. */ - public com.google.protobuf.ByteString getMuxStreamsBytes(int index) { + public com.google.protobuf.ByteString + getMuxStreamsBytes(int index) { return muxStreams_.getByteString(index); } /** - * - * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1297,23 +1158,21 @@ public com.google.protobuf.ByteString getMuxStreamsBytes(int index) {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The muxStreams to set. * @return This builder for chaining. */ - public Builder setMuxStreams(int index, java.lang.String value) { + public Builder setMuxStreams( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMuxStreamsIsMutable(); + throw new NullPointerException(); + } + ensureMuxStreamsIsMutable(); muxStreams_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1323,22 +1182,20 @@ public Builder setMuxStreams(int index, java.lang.String value) {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The muxStreams to add. * @return This builder for chaining. */ - public Builder addMuxStreams(java.lang.String value) { + public Builder addMuxStreams( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMuxStreamsIsMutable(); + throw new NullPointerException(); + } + ensureMuxStreamsIsMutable(); muxStreams_.add(value); onChanged(); return this; } /** - * - * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1348,19 +1205,18 @@ public Builder addMuxStreams(java.lang.String value) {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The muxStreams to add. * @return This builder for chaining. */ - public Builder addAllMuxStreams(java.lang.Iterable values) { + public Builder addAllMuxStreams( + java.lang.Iterable values) { ensureMuxStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, muxStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, muxStreams_); onChanged(); return this; } /** - * - * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1370,7 +1226,6 @@ public Builder addAllMuxStreams(java.lang.Iterable values) {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMuxStreams() { @@ -1380,8 +1235,6 @@ public Builder clearMuxStreams() { return this; } /** - * - * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1391,25 +1244,23 @@ public Builder clearMuxStreams() {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the muxStreams to add. * @return This builder for chaining. */ - public Builder addMuxStreamsBytes(com.google.protobuf.ByteString value) { + public Builder addMuxStreamsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMuxStreamsIsMutable(); muxStreams_.add(value); onChanged(); return this; } - private int maxSegmentCount_; + private int maxSegmentCount_ ; /** - * - * *
      * Maximum number of segments that this manifest holds. Once the manifest
      * reaches this maximum number of segments, whenever a new segment is added to
@@ -1418,7 +1269,6 @@ public Builder addMuxStreamsBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 max_segment_count = 4; - * * @return The maxSegmentCount. */ @java.lang.Override @@ -1426,8 +1276,6 @@ public int getMaxSegmentCount() { return maxSegmentCount_; } /** - * - * *
      * Maximum number of segments that this manifest holds. Once the manifest
      * reaches this maximum number of segments, whenever a new segment is added to
@@ -1436,19 +1284,16 @@ public int getMaxSegmentCount() {
      * 
* * int32 max_segment_count = 4; - * * @param value The maxSegmentCount to set. * @return This builder for chaining. */ public Builder setMaxSegmentCount(int value) { - + maxSegmentCount_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of segments that this manifest holds. Once the manifest
      * reaches this maximum number of segments, whenever a new segment is added to
@@ -1457,11 +1302,10 @@ public Builder setMaxSegmentCount(int value) {
      * 
* * int32 max_segment_count = 4; - * * @return This builder for chaining. */ public Builder clearMaxSegmentCount() { - + maxSegmentCount_ = 0; onChanged(); return this; @@ -1469,13 +1313,8 @@ public Builder clearMaxSegmentCount() { private com.google.protobuf.Duration segmentKeepDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - segmentKeepDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> segmentKeepDurationBuilder_; /** - * - * *
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1486,15 +1325,12 @@ public Builder clearMaxSegmentCount() {
      * 
* * .google.protobuf.Duration segment_keep_duration = 5; - * * @return Whether the segmentKeepDuration field is set. */ public boolean hasSegmentKeepDuration() { return segmentKeepDurationBuilder_ != null || segmentKeepDuration_ != null; } /** - * - * *
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1505,21 +1341,16 @@ public boolean hasSegmentKeepDuration() {
      * 
* * .google.protobuf.Duration segment_keep_duration = 5; - * * @return The segmentKeepDuration. */ public com.google.protobuf.Duration getSegmentKeepDuration() { if (segmentKeepDurationBuilder_ == null) { - return segmentKeepDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : segmentKeepDuration_; + return segmentKeepDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : segmentKeepDuration_; } else { return segmentKeepDurationBuilder_.getMessage(); } } /** - * - * *
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1545,8 +1376,6 @@ public Builder setSegmentKeepDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1558,7 +1387,8 @@ public Builder setSegmentKeepDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration segment_keep_duration = 5;
      */
-    public Builder setSegmentKeepDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setSegmentKeepDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (segmentKeepDurationBuilder_ == null) {
         segmentKeepDuration_ = builderForValue.build();
         onChanged();
@@ -1569,8 +1399,6 @@ public Builder setSegmentKeepDuration(com.google.protobuf.Duration.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1586,9 +1414,7 @@ public Builder mergeSegmentKeepDuration(com.google.protobuf.Duration value) {
       if (segmentKeepDurationBuilder_ == null) {
         if (segmentKeepDuration_ != null) {
           segmentKeepDuration_ =
-              com.google.protobuf.Duration.newBuilder(segmentKeepDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(segmentKeepDuration_).mergeFrom(value).buildPartial();
         } else {
           segmentKeepDuration_ = value;
         }
@@ -1600,8 +1426,6 @@ public Builder mergeSegmentKeepDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1625,8 +1449,6 @@ public Builder clearSegmentKeepDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1639,13 +1461,11 @@ public Builder clearSegmentKeepDuration() {
      * .google.protobuf.Duration segment_keep_duration = 5;
      */
     public com.google.protobuf.Duration.Builder getSegmentKeepDurationBuilder() {
-
+      
       onChanged();
       return getSegmentKeepDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1661,14 +1481,11 @@ public com.google.protobuf.DurationOrBuilder getSegmentKeepDurationOrBuilder() {
       if (segmentKeepDurationBuilder_ != null) {
         return segmentKeepDurationBuilder_.getMessageOrBuilder();
       } else {
-        return segmentKeepDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : segmentKeepDuration_;
+        return segmentKeepDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : segmentKeepDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1681,24 +1498,21 @@ public com.google.protobuf.DurationOrBuilder getSegmentKeepDurationOrBuilder() {
      * .google.protobuf.Duration segment_keep_duration = 5;
      */
     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> 
         getSegmentKeepDurationFieldBuilder() {
       if (segmentKeepDurationBuilder_ == null) {
-        segmentKeepDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getSegmentKeepDuration(), getParentForChildren(), isClean());
+        segmentKeepDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getSegmentKeepDuration(),
+                getParentForChildren(),
+                isClean());
         segmentKeepDuration_ = null;
       }
       return segmentKeepDurationBuilder_;
     }
-
     @java.lang.Override
-    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,12 +1522,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.Manifest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.Manifest)
   private static final com.google.cloud.video.livestream.v1.Manifest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.Manifest();
   }
@@ -1722,16 +1536,16 @@ public static com.google.cloud.video.livestream.v1.Manifest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Manifest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Manifest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Manifest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Manifest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1746,4 +1560,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.video.livestream.v1.Manifest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ManifestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ManifestOrBuilder.java
similarity index 82%
rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ManifestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ManifestOrBuilder.java
index 7514c59..4820f98 100644
--- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ManifestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ManifestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/video/livestream/v1/outputs.proto
 
 package com.google.cloud.video.livestream.v1;
 
-public interface ManifestOrBuilder
-    extends
+public interface ManifestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.Manifest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The name of the generated file. The default is `manifest` with the
    * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -33,13 +15,10 @@ public interface ManifestOrBuilder
    * 
* * string file_name = 1; - * * @return The fileName. */ java.lang.String getFileName(); /** - * - * *
    * The name of the generated file. The default is `manifest` with the
    * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -47,43 +26,31 @@ public interface ManifestOrBuilder
    * 
* * string file_name = 1; - * * @return The bytes for fileName. */ - com.google.protobuf.ByteString getFileNameBytes(); + com.google.protobuf.ByteString + getFileNameBytes(); /** - * - * *
    * Required. Type of the manifest, can be `HLS` or `DASH`.
    * 
* - * - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. Type of the manifest, can be `HLS` or `DASH`.
    * 
* - * - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.video.livestream.v1.Manifest.ManifestType getType(); /** - * - * *
    * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
    * manifest.
@@ -93,13 +60,11 @@ public interface ManifestOrBuilder
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the muxStreams. */ - java.util.List getMuxStreamsList(); + java.util.List + getMuxStreamsList(); /** - * - * *
    * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
    * manifest.
@@ -109,13 +74,10 @@ public interface ManifestOrBuilder
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of muxStreams. */ int getMuxStreamsCount(); /** - * - * *
    * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
    * manifest.
@@ -125,14 +87,11 @@ public interface ManifestOrBuilder
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The muxStreams at the given index. */ java.lang.String getMuxStreams(int index); /** - * - * *
    * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
    * manifest.
@@ -142,15 +101,13 @@ public interface ManifestOrBuilder
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the muxStreams at the given index. */ - com.google.protobuf.ByteString getMuxStreamsBytes(int index); + com.google.protobuf.ByteString + getMuxStreamsBytes(int index); /** - * - * *
    * Maximum number of segments that this manifest holds. Once the manifest
    * reaches this maximum number of segments, whenever a new segment is added to
@@ -159,14 +116,11 @@ public interface ManifestOrBuilder
    * 
* * int32 max_segment_count = 4; - * * @return The maxSegmentCount. */ int getMaxSegmentCount(); /** - * - * *
    * How long to keep a segment on the output Google Cloud Storage bucket after
    * it is removed from the manifest. This field should be large enough to cover
@@ -177,13 +131,10 @@ public interface ManifestOrBuilder
    * 
* * .google.protobuf.Duration segment_keep_duration = 5; - * * @return Whether the segmentKeepDuration field is set. */ boolean hasSegmentKeepDuration(); /** - * - * *
    * How long to keep a segment on the output Google Cloud Storage bucket after
    * it is removed from the manifest. This field should be large enough to cover
@@ -194,13 +145,10 @@ public interface ManifestOrBuilder
    * 
* * .google.protobuf.Duration segment_keep_duration = 5; - * * @return The segmentKeepDuration. */ com.google.protobuf.Duration getSegmentKeepDuration(); /** - * - * *
    * How long to keep a segment on the output Google Cloud Storage bucket after
    * it is removed from the manifest. This field should be large enough to cover
diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStream.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStream.java
similarity index 74%
rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStream.java
rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStream.java
index b83e68d..d22f035 100644
--- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStream.java
+++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStream.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/video/livestream/v1/outputs.proto
 
 package com.google.cloud.video.livestream.v1;
 
 /**
- *
- *
  * 
  * Multiplexing settings for output stream.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.MuxStream} */ -public final class MuxStream extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MuxStream extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.MuxStream) MuxStreamOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MuxStream.newBuilder() to construct. private MuxStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MuxStream() { key_ = ""; container_ = ""; @@ -45,15 +27,16 @@ private MuxStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MuxStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MuxStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,54 +56,47 @@ private MuxStream( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - key_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + key_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - container_ = s; - break; + container_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + elementaryStreams_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - elementaryStreams_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - elementaryStreams_.add(s); - break; + elementaryStreams_.add(s); + break; + } + case 42: { + com.google.cloud.video.livestream.v1.SegmentSettings.Builder subBuilder = null; + if (segmentSettings_ != null) { + subBuilder = segmentSettings_.toBuilder(); } - case 42: - { - com.google.cloud.video.livestream.v1.SegmentSettings.Builder subBuilder = null; - if (segmentSettings_ != null) { - subBuilder = segmentSettings_.toBuilder(); - } - segmentSettings_ = - input.readMessage( - com.google.cloud.video.livestream.v1.SegmentSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segmentSettings_); - segmentSettings_ = subBuilder.buildPartial(); - } - - break; + segmentSettings_ = input.readMessage(com.google.cloud.video.livestream.v1.SegmentSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segmentSettings_); + segmentSettings_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -128,7 +104,8 @@ private MuxStream( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { elementaryStreams_ = elementaryStreams_.getUnmodifiableView(); @@ -137,33 +114,27 @@ private MuxStream( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_MuxStream_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_MuxStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.MuxStream.class, - com.google.cloud.video.livestream.v1.MuxStream.Builder.class); + com.google.cloud.video.livestream.v1.MuxStream.class, com.google.cloud.video.livestream.v1.MuxStream.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** - * - * *
    * A unique key for this multiplexed stream.
    * 
* * string key = 1; - * * @return The key. */ @java.lang.Override @@ -172,29 +143,29 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** - * - * *
    * A unique key for this multiplexed stream.
    * 
* * string key = 1; - * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -205,8 +176,6 @@ public com.google.protobuf.ByteString getKeyBytes() { public static final int CONTAINER_FIELD_NUMBER = 3; private volatile java.lang.Object container_; /** - * - * *
    * The container format. The default is `fmp4`.
    * Supported container formats:
@@ -215,7 +184,6 @@ public com.google.protobuf.ByteString getKeyBytes() {
    * 
* * string container = 3; - * * @return The container. */ @java.lang.Override @@ -224,15 +192,14 @@ public java.lang.String getContainer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); container_ = s; return s; } } /** - * - * *
    * The container format. The default is `fmp4`.
    * Supported container formats:
@@ -241,15 +208,16 @@ public java.lang.String getContainer() {
    * 
* * string container = 3; - * * @return The bytes for container. */ @java.lang.Override - public com.google.protobuf.ByteString getContainerBytes() { + public com.google.protobuf.ByteString + getContainerBytes() { java.lang.Object ref = container_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); container_ = b; return b; } else { @@ -260,8 +228,6 @@ public com.google.protobuf.ByteString getContainerBytes() { public static final int ELEMENTARY_STREAMS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList elementaryStreams_; /** - * - * *
    * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
    * stream.
@@ -271,15 +237,13 @@ public com.google.protobuf.ByteString getContainerBytes() {
    * 
* * repeated string elementary_streams = 4; - * * @return A list containing the elementaryStreams. */ - public com.google.protobuf.ProtocolStringList getElementaryStreamsList() { + public com.google.protobuf.ProtocolStringList + getElementaryStreamsList() { return elementaryStreams_; } /** - * - * *
    * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
    * stream.
@@ -289,15 +253,12 @@ public com.google.protobuf.ProtocolStringList getElementaryStreamsList() {
    * 
* * repeated string elementary_streams = 4; - * * @return The count of elementaryStreams. */ public int getElementaryStreamsCount() { return elementaryStreams_.size(); } /** - * - * *
    * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
    * stream.
@@ -307,7 +268,6 @@ public int getElementaryStreamsCount() {
    * 
* * repeated string elementary_streams = 4; - * * @param index The index of the element to return. * @return The elementaryStreams at the given index. */ @@ -315,8 +275,6 @@ public java.lang.String getElementaryStreams(int index) { return elementaryStreams_.get(index); } /** - * - * *
    * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
    * stream.
@@ -326,25 +284,22 @@ public java.lang.String getElementaryStreams(int index) {
    * 
* * repeated string elementary_streams = 4; - * * @param index The index of the value to return. * @return The bytes of the elementaryStreams at the given index. */ - public com.google.protobuf.ByteString getElementaryStreamsBytes(int index) { + public com.google.protobuf.ByteString + getElementaryStreamsBytes(int index) { return elementaryStreams_.getByteString(index); } public static final int SEGMENT_SETTINGS_FIELD_NUMBER = 5; private com.google.cloud.video.livestream.v1.SegmentSettings segmentSettings_; /** - * - * *
    * Segment settings for `fmp4` and `ts`.
    * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; - * * @return Whether the segmentSettings field is set. */ @java.lang.Override @@ -352,25 +307,18 @@ public boolean hasSegmentSettings() { return segmentSettings_ != null; } /** - * - * *
    * Segment settings for `fmp4` and `ts`.
    * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; - * * @return The segmentSettings. */ @java.lang.Override public com.google.cloud.video.livestream.v1.SegmentSettings getSegmentSettings() { - return segmentSettings_ == null - ? com.google.cloud.video.livestream.v1.SegmentSettings.getDefaultInstance() - : segmentSettings_; + return segmentSettings_ == null ? com.google.cloud.video.livestream.v1.SegmentSettings.getDefaultInstance() : segmentSettings_; } /** - * - * *
    * Segment settings for `fmp4` and `ts`.
    * 
@@ -378,13 +326,11 @@ public com.google.cloud.video.livestream.v1.SegmentSettings getSegmentSettings() * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder - getSegmentSettingsOrBuilder() { + public com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder getSegmentSettingsOrBuilder() { return getSegmentSettings(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -396,7 +342,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } @@ -433,7 +380,8 @@ public int getSerializedSize() { size += 1 * getElementaryStreamsList().size(); } if (segmentSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSegmentSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getSegmentSettings()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -443,20 +391,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.MuxStream)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.MuxStream other = - (com.google.cloud.video.livestream.v1.MuxStream) obj; + com.google.cloud.video.livestream.v1.MuxStream other = (com.google.cloud.video.livestream.v1.MuxStream) obj; - if (!getKey().equals(other.getKey())) return false; - if (!getContainer().equals(other.getContainer())) return false; - if (!getElementaryStreamsList().equals(other.getElementaryStreamsList())) return false; + if (!getKey() + .equals(other.getKey())) return false; + if (!getContainer() + .equals(other.getContainer())) return false; + if (!getElementaryStreamsList() + .equals(other.getElementaryStreamsList())) return false; if (hasSegmentSettings() != other.hasSegmentSettings()) return false; if (hasSegmentSettings()) { - if (!getSegmentSettings().equals(other.getSegmentSettings())) return false; + if (!getSegmentSettings() + .equals(other.getSegmentSettings())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -486,127 +437,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.MuxStream parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.MuxStream parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.MuxStream parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.MuxStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.MuxStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.MuxStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.MuxStream parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.MuxStream parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.MuxStream parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.MuxStream parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.MuxStream parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.MuxStream parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.MuxStream parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.MuxStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.MuxStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Multiplexing settings for output stream.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.MuxStream} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.MuxStream) com.google.cloud.video.livestream.v1.MuxStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_MuxStream_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_MuxStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.MuxStream.class, - com.google.cloud.video.livestream.v1.MuxStream.Builder.class); + com.google.cloud.video.livestream.v1.MuxStream.class, com.google.cloud.video.livestream.v1.MuxStream.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.MuxStream.newBuilder() @@ -614,15 +556,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(); @@ -642,9 +585,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor; } @java.lang.Override @@ -663,8 +606,7 @@ public com.google.cloud.video.livestream.v1.MuxStream build() { @java.lang.Override public com.google.cloud.video.livestream.v1.MuxStream buildPartial() { - com.google.cloud.video.livestream.v1.MuxStream result = - new com.google.cloud.video.livestream.v1.MuxStream(this); + com.google.cloud.video.livestream.v1.MuxStream result = new com.google.cloud.video.livestream.v1.MuxStream(this); int from_bitField0_ = bitField0_; result.key_ = key_; result.container_ = container_; @@ -686,39 +628,38 @@ public com.google.cloud.video.livestream.v1.MuxStream buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.MuxStream) { - return mergeFrom((com.google.cloud.video.livestream.v1.MuxStream) other); + return mergeFrom((com.google.cloud.video.livestream.v1.MuxStream)other); } else { super.mergeFrom(other); return this; @@ -776,25 +717,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object key_ = ""; /** - * - * *
      * A unique key for this multiplexed stream.
      * 
* * string key = 1; - * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -803,21 +741,20 @@ public java.lang.String getKey() { } } /** - * - * *
      * A unique key for this multiplexed stream.
      * 
* * string key = 1; - * * @return The bytes for key. */ - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -825,61 +762,54 @@ public com.google.protobuf.ByteString getKeyBytes() { } } /** - * - * *
      * A unique key for this multiplexed stream.
      * 
* * string key = 1; - * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey(java.lang.String value) { + public Builder setKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** - * - * *
      * A unique key for this multiplexed stream.
      * 
* * string key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** - * - * *
      * A unique key for this multiplexed stream.
      * 
* * string key = 1; - * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; @@ -887,8 +817,6 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) { private java.lang.Object container_ = ""; /** - * - * *
      * The container format. The default is `fmp4`.
      * Supported container formats:
@@ -897,13 +825,13 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) {
      * 
* * string container = 3; - * * @return The container. */ public java.lang.String getContainer() { java.lang.Object ref = container_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); container_ = s; return s; @@ -912,8 +840,6 @@ public java.lang.String getContainer() { } } /** - * - * *
      * The container format. The default is `fmp4`.
      * Supported container formats:
@@ -922,14 +848,15 @@ public java.lang.String getContainer() {
      * 
* * string container = 3; - * * @return The bytes for container. */ - public com.google.protobuf.ByteString getContainerBytes() { + public com.google.protobuf.ByteString + getContainerBytes() { java.lang.Object ref = container_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); container_ = b; return b; } else { @@ -937,8 +864,6 @@ public com.google.protobuf.ByteString getContainerBytes() { } } /** - * - * *
      * The container format. The default is `fmp4`.
      * Supported container formats:
@@ -947,22 +872,20 @@ public com.google.protobuf.ByteString getContainerBytes() {
      * 
* * string container = 3; - * * @param value The container to set. * @return This builder for chaining. */ - public Builder setContainer(java.lang.String value) { + public Builder setContainer( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + container_ = value; onChanged(); return this; } /** - * - * *
      * The container format. The default is `fmp4`.
      * Supported container formats:
@@ -971,18 +894,15 @@ public Builder setContainer(java.lang.String value) {
      * 
* * string container = 3; - * * @return This builder for chaining. */ public Builder clearContainer() { - + container_ = getDefaultInstance().getContainer(); onChanged(); return this; } /** - * - * *
      * The container format. The default is `fmp4`.
      * Supported container formats:
@@ -991,33 +911,29 @@ public Builder clearContainer() {
      * 
* * string container = 3; - * * @param value The bytes for container to set. * @return This builder for chaining. */ - public Builder setContainerBytes(com.google.protobuf.ByteString value) { + public Builder setContainerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + container_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList elementaryStreams_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList elementaryStreams_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureElementaryStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { elementaryStreams_ = new com.google.protobuf.LazyStringArrayList(elementaryStreams_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -1027,15 +943,13 @@ private void ensureElementaryStreamsIsMutable() {
      * 
* * repeated string elementary_streams = 4; - * * @return A list containing the elementaryStreams. */ - public com.google.protobuf.ProtocolStringList getElementaryStreamsList() { + public com.google.protobuf.ProtocolStringList + getElementaryStreamsList() { return elementaryStreams_.getUnmodifiableView(); } /** - * - * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -1045,15 +959,12 @@ public com.google.protobuf.ProtocolStringList getElementaryStreamsList() {
      * 
* * repeated string elementary_streams = 4; - * * @return The count of elementaryStreams. */ public int getElementaryStreamsCount() { return elementaryStreams_.size(); } /** - * - * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -1063,7 +974,6 @@ public int getElementaryStreamsCount() {
      * 
* * repeated string elementary_streams = 4; - * * @param index The index of the element to return. * @return The elementaryStreams at the given index. */ @@ -1071,8 +981,6 @@ public java.lang.String getElementaryStreams(int index) { return elementaryStreams_.get(index); } /** - * - * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -1082,16 +990,14 @@ public java.lang.String getElementaryStreams(int index) {
      * 
* * repeated string elementary_streams = 4; - * * @param index The index of the value to return. * @return The bytes of the elementaryStreams at the given index. */ - public com.google.protobuf.ByteString getElementaryStreamsBytes(int index) { + public com.google.protobuf.ByteString + getElementaryStreamsBytes(int index) { return elementaryStreams_.getByteString(index); } /** - * - * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -1101,23 +1007,21 @@ public com.google.protobuf.ByteString getElementaryStreamsBytes(int index) {
      * 
* * repeated string elementary_streams = 4; - * * @param index The index to set the value at. * @param value The elementaryStreams to set. * @return This builder for chaining. */ - public Builder setElementaryStreams(int index, java.lang.String value) { + public Builder setElementaryStreams( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureElementaryStreamsIsMutable(); + throw new NullPointerException(); + } + ensureElementaryStreamsIsMutable(); elementaryStreams_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -1127,22 +1031,20 @@ public Builder setElementaryStreams(int index, java.lang.String value) {
      * 
* * repeated string elementary_streams = 4; - * * @param value The elementaryStreams to add. * @return This builder for chaining. */ - public Builder addElementaryStreams(java.lang.String value) { + public Builder addElementaryStreams( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureElementaryStreamsIsMutable(); + throw new NullPointerException(); + } + ensureElementaryStreamsIsMutable(); elementaryStreams_.add(value); onChanged(); return this; } /** - * - * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -1152,19 +1054,18 @@ public Builder addElementaryStreams(java.lang.String value) {
      * 
* * repeated string elementary_streams = 4; - * * @param values The elementaryStreams to add. * @return This builder for chaining. */ - public Builder addAllElementaryStreams(java.lang.Iterable values) { + public Builder addAllElementaryStreams( + java.lang.Iterable values) { ensureElementaryStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, elementaryStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, elementaryStreams_); onChanged(); return this; } /** - * - * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -1174,7 +1075,6 @@ public Builder addAllElementaryStreams(java.lang.Iterable valu
      * 
* * repeated string elementary_streams = 4; - * * @return This builder for chaining. */ public Builder clearElementaryStreams() { @@ -1184,8 +1084,6 @@ public Builder clearElementaryStreams() { return this; } /** - * - * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -1195,15 +1093,15 @@ public Builder clearElementaryStreams() {
      * 
* * repeated string elementary_streams = 4; - * * @param value The bytes of the elementaryStreams to add. * @return This builder for chaining. */ - public Builder addElementaryStreamsBytes(com.google.protobuf.ByteString value) { + public Builder addElementaryStreamsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureElementaryStreamsIsMutable(); elementaryStreams_.add(value); onChanged(); @@ -1212,47 +1110,34 @@ public Builder addElementaryStreamsBytes(com.google.protobuf.ByteString value) { private com.google.cloud.video.livestream.v1.SegmentSettings segmentSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.SegmentSettings, - com.google.cloud.video.livestream.v1.SegmentSettings.Builder, - com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder> - segmentSettingsBuilder_; + com.google.cloud.video.livestream.v1.SegmentSettings, com.google.cloud.video.livestream.v1.SegmentSettings.Builder, com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder> segmentSettingsBuilder_; /** - * - * *
      * Segment settings for `fmp4` and `ts`.
      * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; - * * @return Whether the segmentSettings field is set. */ public boolean hasSegmentSettings() { return segmentSettingsBuilder_ != null || segmentSettings_ != null; } /** - * - * *
      * Segment settings for `fmp4` and `ts`.
      * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; - * * @return The segmentSettings. */ public com.google.cloud.video.livestream.v1.SegmentSettings getSegmentSettings() { if (segmentSettingsBuilder_ == null) { - return segmentSettings_ == null - ? com.google.cloud.video.livestream.v1.SegmentSettings.getDefaultInstance() - : segmentSettings_; + return segmentSettings_ == null ? com.google.cloud.video.livestream.v1.SegmentSettings.getDefaultInstance() : segmentSettings_; } else { return segmentSettingsBuilder_.getMessage(); } } /** - * - * *
      * Segment settings for `fmp4` and `ts`.
      * 
@@ -1273,8 +1158,6 @@ public Builder setSegmentSettings(com.google.cloud.video.livestream.v1.SegmentSe return this; } /** - * - * *
      * Segment settings for `fmp4` and `ts`.
      * 
@@ -1293,22 +1176,17 @@ public Builder setSegmentSettings( return this; } /** - * - * *
      * Segment settings for `fmp4` and `ts`.
      * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; */ - public Builder mergeSegmentSettings( - com.google.cloud.video.livestream.v1.SegmentSettings value) { + public Builder mergeSegmentSettings(com.google.cloud.video.livestream.v1.SegmentSettings value) { if (segmentSettingsBuilder_ == null) { if (segmentSettings_ != null) { segmentSettings_ = - com.google.cloud.video.livestream.v1.SegmentSettings.newBuilder(segmentSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.livestream.v1.SegmentSettings.newBuilder(segmentSettings_).mergeFrom(value).buildPartial(); } else { segmentSettings_ = value; } @@ -1320,8 +1198,6 @@ public Builder mergeSegmentSettings( return this; } /** - * - * *
      * Segment settings for `fmp4` and `ts`.
      * 
@@ -1340,42 +1216,33 @@ public Builder clearSegmentSettings() { return this; } /** - * - * *
      * Segment settings for `fmp4` and `ts`.
      * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; */ - public com.google.cloud.video.livestream.v1.SegmentSettings.Builder - getSegmentSettingsBuilder() { - + public com.google.cloud.video.livestream.v1.SegmentSettings.Builder getSegmentSettingsBuilder() { + onChanged(); return getSegmentSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Segment settings for `fmp4` and `ts`.
      * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; */ - public com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder - getSegmentSettingsOrBuilder() { + public com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder getSegmentSettingsOrBuilder() { if (segmentSettingsBuilder_ != null) { return segmentSettingsBuilder_.getMessageOrBuilder(); } else { - return segmentSettings_ == null - ? com.google.cloud.video.livestream.v1.SegmentSettings.getDefaultInstance() - : segmentSettings_; + return segmentSettings_ == null ? + com.google.cloud.video.livestream.v1.SegmentSettings.getDefaultInstance() : segmentSettings_; } } /** - * - * *
      * Segment settings for `fmp4` and `ts`.
      * 
@@ -1383,24 +1250,21 @@ public Builder clearSegmentSettings() { * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.SegmentSettings, - com.google.cloud.video.livestream.v1.SegmentSettings.Builder, - com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder> + com.google.cloud.video.livestream.v1.SegmentSettings, com.google.cloud.video.livestream.v1.SegmentSettings.Builder, com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder> getSegmentSettingsFieldBuilder() { if (segmentSettingsBuilder_ == null) { - segmentSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.SegmentSettings, - com.google.cloud.video.livestream.v1.SegmentSettings.Builder, - com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder>( - getSegmentSettings(), getParentForChildren(), isClean()); + segmentSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.SegmentSettings, com.google.cloud.video.livestream.v1.SegmentSettings.Builder, com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder>( + getSegmentSettings(), + getParentForChildren(), + isClean()); segmentSettings_ = null; } return segmentSettingsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1410,12 +1274,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.MuxStream) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.MuxStream) private static final com.google.cloud.video.livestream.v1.MuxStream DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.MuxStream(); } @@ -1424,16 +1288,16 @@ public static com.google.cloud.video.livestream.v1.MuxStream getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MuxStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MuxStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MuxStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MuxStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1448,4 +1312,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.MuxStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStreamOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStreamOrBuilder.java similarity index 79% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStreamOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStreamOrBuilder.java index c53292f..34e045c 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStreamOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStreamOrBuilder.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/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; -public interface MuxStreamOrBuilder - extends +public interface MuxStreamOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.MuxStream) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A unique key for this multiplexed stream.
    * 
* * string key = 1; - * * @return The key. */ java.lang.String getKey(); /** - * - * *
    * A unique key for this multiplexed stream.
    * 
* * string key = 1; - * * @return The bytes for key. */ - com.google.protobuf.ByteString getKeyBytes(); + com.google.protobuf.ByteString + getKeyBytes(); /** - * - * *
    * The container format. The default is `fmp4`.
    * Supported container formats:
@@ -59,13 +36,10 @@ public interface MuxStreamOrBuilder
    * 
* * string container = 3; - * * @return The container. */ java.lang.String getContainer(); /** - * - * *
    * The container format. The default is `fmp4`.
    * Supported container formats:
@@ -74,14 +48,12 @@ public interface MuxStreamOrBuilder
    * 
* * string container = 3; - * * @return The bytes for container. */ - com.google.protobuf.ByteString getContainerBytes(); + com.google.protobuf.ByteString + getContainerBytes(); /** - * - * *
    * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
    * stream.
@@ -91,13 +63,11 @@ public interface MuxStreamOrBuilder
    * 
* * repeated string elementary_streams = 4; - * * @return A list containing the elementaryStreams. */ - java.util.List getElementaryStreamsList(); + java.util.List + getElementaryStreamsList(); /** - * - * *
    * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
    * stream.
@@ -107,13 +77,10 @@ public interface MuxStreamOrBuilder
    * 
* * repeated string elementary_streams = 4; - * * @return The count of elementaryStreams. */ int getElementaryStreamsCount(); /** - * - * *
    * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
    * stream.
@@ -123,14 +90,11 @@ public interface MuxStreamOrBuilder
    * 
* * repeated string elementary_streams = 4; - * * @param index The index of the element to return. * @return The elementaryStreams at the given index. */ java.lang.String getElementaryStreams(int index); /** - * - * *
    * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
    * stream.
@@ -140,39 +104,31 @@ public interface MuxStreamOrBuilder
    * 
* * repeated string elementary_streams = 4; - * * @param index The index of the value to return. * @return The bytes of the elementaryStreams at the given index. */ - com.google.protobuf.ByteString getElementaryStreamsBytes(int index); + com.google.protobuf.ByteString + getElementaryStreamsBytes(int index); /** - * - * *
    * Segment settings for `fmp4` and `ts`.
    * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; - * * @return Whether the segmentSettings field is set. */ boolean hasSegmentSettings(); /** - * - * *
    * Segment settings for `fmp4` and `ts`.
    * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; - * * @return The segmentSettings. */ com.google.cloud.video.livestream.v1.SegmentSettings getSegmentSettings(); /** - * - * *
    * Segment settings for `fmp4` and `ts`.
    * 
diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadata.java similarity index 70% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadata.java index 09e95b8..f3204c0 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.OperationMetadata} */ -public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.OperationMetadata) OperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationMetadata() { target_ = ""; verb_ = ""; @@ -45,15 +27,16 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,69 +55,62 @@ private OperationMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - target_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 40: - { - requestedCancellation_ = input.readBool(); - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + target_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + verb_ = s; + break; + } + case 40: { + + requestedCancellation_ = input.readBool(); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + apiVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,40 +118,34 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.OperationMetadata.class, - com.google.cloud.video.livestream.v1.OperationMetadata.Builder.class); + com.google.cloud.video.livestream.v1.OperationMetadata.class, com.google.cloud.video.livestream.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -183,15 +153,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -199,14 +165,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -216,15 +179,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -232,15 +191,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -248,14 +203,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -265,14 +217,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ @java.lang.Override @@ -281,29 +230,29 @@ public java.lang.String getTarget() { 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(); target_ = s; return s; } } /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -314,14 +263,11 @@ public com.google.protobuf.ByteString getTargetBytes() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ @java.lang.Override @@ -330,29 +276,29 @@ public java.lang.String getVerb() { 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(); verb_ = s; return s; } } /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; 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); verb_ = b; return b; } else { @@ -363,8 +309,6 @@ public com.google.protobuf.ByteString getVerbBytes() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 5; private boolean requestedCancellation_; /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -374,7 +318,6 @@ public com.google.protobuf.ByteString getVerbBytes() {
    * 
* * bool requested_cancellation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -385,14 +328,11 @@ public boolean getRequestedCancellation() { public static final int API_VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object apiVersion_; /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ @java.lang.Override @@ -401,29 +341,29 @@ public java.lang.String getApiVersion() { 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(); apiVersion_ = s; return s; } } /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; 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); apiVersion_ = b; return b; } else { @@ -432,7 +372,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -444,7 +383,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 (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -473,10 +413,12 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } 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(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -485,7 +427,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, verb_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, apiVersion_); @@ -498,26 +441,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.video.livestream.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.OperationMetadata other = - (com.google.cloud.video.livestream.v1.OperationMetadata) obj; + com.google.cloud.video.livestream.v1.OperationMetadata other = (com.google.cloud.video.livestream.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; - } - if (!getTarget().equals(other.getTarget())) return false; - if (!getVerb().equals(other.getVerb())) return false; - if (getRequestedCancellation() != other.getRequestedCancellation()) return false; - if (!getApiVersion().equals(other.getApiVersion())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getTarget() + .equals(other.getTarget())) return false; + if (!getVerb() + .equals(other.getVerb())) return false; + if (getRequestedCancellation() + != other.getRequestedCancellation()) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -542,7 +490,8 @@ public int hashCode() { hash = (37 * hash) + VERB_FIELD_NUMBER; hash = (53 * hash) + getVerb().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -551,127 +500,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.OperationMetadata prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.OperationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.OperationMetadata) com.google.cloud.video.livestream.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.OperationMetadata.class, - com.google.cloud.video.livestream.v1.OperationMetadata.Builder.class); + com.google.cloud.video.livestream.v1.OperationMetadata.class, com.google.cloud.video.livestream.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.OperationMetadata.newBuilder() @@ -679,15 +618,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(); @@ -715,9 +655,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -736,8 +676,7 @@ public com.google.cloud.video.livestream.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.video.livestream.v1.OperationMetadata buildPartial() { - com.google.cloud.video.livestream.v1.OperationMetadata result = - new com.google.cloud.video.livestream.v1.OperationMetadata(this); + com.google.cloud.video.livestream.v1.OperationMetadata result = new com.google.cloud.video.livestream.v1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -760,39 +699,38 @@ public com.google.cloud.video.livestream.v1.OperationMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.video.livestream.v1.OperationMetadata) other); + return mergeFrom((com.google.cloud.video.livestream.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -800,8 +738,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.OperationMetadata other) { - if (other == com.google.cloud.video.livestream.v1.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.OperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -842,8 +779,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -855,58 +791,39 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -922,17 +839,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -943,21 +857,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -969,15 +879,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -991,64 +897,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1056,35 +946,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1095,14 +974,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1118,16 +994,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -1138,20 +1012,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1163,14 +1034,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -1184,59 +1052,48 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1244,20 +1101,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; 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(); target_ = s; return s; @@ -1266,21 +1121,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -1288,61 +1142,54 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { + public Builder setTarget( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1350,20 +1197,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; 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(); verb_ = s; return s; @@ -1372,21 +1217,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; 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); verb_ = b; return b; } else { @@ -1394,70 +1238,61 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { + public Builder setVerb( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; } - private boolean requestedCancellation_; + private boolean requestedCancellation_ ; /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1467,7 +1302,6 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) {
      * 
* * bool requested_cancellation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -1475,8 +1309,6 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1486,19 +1318,16 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The requestedCancellation to set. * @return This builder for chaining. */ public Builder setRequestedCancellation(boolean value) { - + requestedCancellation_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1508,11 +1337,10 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1520,20 +1348,18 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; 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(); apiVersion_ = s; return s; @@ -1542,21 +1368,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; 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); apiVersion_ = b; return b; } else { @@ -1564,68 +1389,61 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion(java.lang.String value) { + public Builder setApiVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = 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); } @@ -1635,12 +1453,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.OperationMetadata) private static final com.google.cloud.video.livestream.v1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.OperationMetadata(); } @@ -1649,16 +1467,16 @@ public static com.google.cloud.video.livestream.v1.OperationMetadata getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OperationMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1673,4 +1491,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadataOrBuilder.java similarity index 74% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadataOrBuilder.java index bc89842..134686e 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadataOrBuilder.java @@ -1,157 +1,107 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -161,33 +111,27 @@ public interface OperationMetadataOrBuilder
    * 
* * bool requested_cancellation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ java.lang.String getApiVersion(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString getApiVersionBytes(); + com.google.protobuf.ByteString + getApiVersionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java new file mode 100644 index 0000000..c6570d7 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java @@ -0,0 +1,253 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/video/livestream/v1/outputs.proto + +package com.google.cloud.video.livestream.v1; + +public final class OutputsProto { + private OutputsProto() {} + 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_video_livestream_v1_ElementaryStream_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_ElementaryStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_MuxStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Manifest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Manifest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_SpriteSheet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_VideoStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_AudioStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_TextStream_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_TextStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_SegmentSettings_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/video/livestream/v1/outpu" + + "ts.proto\022 google.cloud.video.livestream." + + "v1\032\037google/api/field_behavior.proto\032\036goo" + + "gle/protobuf/duration.proto\"\207\002\n\020Elementa" + + "ryStream\022\013\n\003key\030\004 \001(\t\022E\n\014video_stream\030\001 " + + "\001(\0132-.google.cloud.video.livestream.v1.V" + + "ideoStreamH\000\022E\n\014audio_stream\030\002 \001(\0132-.goo" + + "gle.cloud.video.livestream.v1.AudioStrea" + + "mH\000\022C\n\013text_stream\030\003 \001(\0132,.google.cloud." + + "video.livestream.v1.TextStreamH\000B\023\n\021elem" + + "entary_stream\"\224\001\n\tMuxStream\022\013\n\003key\030\001 \001(\t" + + "\022\021\n\tcontainer\030\003 \001(\t\022\032\n\022elementary_stream" + + "s\030\004 \003(\t\022K\n\020segment_settings\030\005 \001(\01321.goog" + + "le.cloud.video.livestream.v1.SegmentSett" + + "ings\"\232\002\n\010Manifest\022\021\n\tfile_name\030\001 \001(\t\022J\n\004" + + "type\030\002 \001(\01627.google.cloud.video.livestre" + + "am.v1.Manifest.ManifestTypeB\003\340A\002\022\030\n\013mux_" + + "streams\030\003 \003(\tB\003\340A\002\022\031\n\021max_segment_count\030" + + "\004 \001(\005\0228\n\025segment_keep_duration\030\005 \001(\0132\031.g" + + "oogle.protobuf.Duration\"@\n\014ManifestType\022" + + "\035\n\031MANIFEST_TYPE_UNSPECIFIED\020\000\022\007\n\003HLS\020\001\022" + + "\010\n\004DASH\020\002\"\343\001\n\013SpriteSheet\022\016\n\006format\030\001 \001(" + + "\t\022\030\n\013file_prefix\030\002 \001(\tB\003\340A\002\022 \n\023sprite_wi" + + "dth_pixels\030\003 \001(\005B\003\340A\002\022!\n\024sprite_height_p" + + "ixels\030\004 \001(\005B\003\340A\002\022\024\n\014column_count\030\005 \001(\005\022\021" + + "\n\trow_count\030\006 \001(\005\022+\n\010interval\030\007 \001(\0132\031.go" + + "ogle.protobuf.Duration\022\017\n\007quality\030\010 \001(\005\"" + + "\342\002\n\023PreprocessingConfig\022H\n\004crop\030\002 \001(\0132:." + + "google.cloud.video.livestream.v1.Preproc" + + "essingConfig.Crop\022F\n\003pad\030\003 \001(\01329.google." + + "cloud.video.livestream.v1.PreprocessingC" + + "onfig.Pad\032\\\n\004Crop\022\022\n\ntop_pixels\030\001 \001(\005\022\025\n" + + "\rbottom_pixels\030\002 \001(\005\022\023\n\013left_pixels\030\003 \001(" + + "\005\022\024\n\014right_pixels\030\004 \001(\005\032[\n\003Pad\022\022\n\ntop_pi" + + "xels\030\001 \001(\005\022\025\n\rbottom_pixels\030\002 \001(\005\022\023\n\013lef" + + "t_pixels\030\003 \001(\005\022\024\n\014right_pixels\030\004 \001(\005\"\377\003\n" + + "\013VideoStream\022O\n\004h264\030\024 \001(\0132?.google.clou" + + "d.video.livestream.v1.VideoStream.H264Co" + + "decSettingsH\000\032\214\003\n\021H264CodecSettings\022\024\n\014w" + + "idth_pixels\030\001 \001(\005\022\025\n\rheight_pixels\030\002 \001(\005" + + "\022\027\n\nframe_rate\030\003 \001(\001B\003\340A\002\022\030\n\013bitrate_bps" + + "\030\004 \001(\005B\003\340A\002\022\026\n\016allow_open_gop\030\006 \001(\010\022\031\n\017g" + + "op_frame_count\030\007 \001(\005H\000\0221\n\014gop_duration\030\010" + + " \001(\0132\031.google.protobuf.DurationH\000\022\025\n\rvbv" + + "_size_bits\030\t \001(\005\022\031\n\021vbv_fullness_bits\030\n " + + "\001(\005\022\025\n\rentropy_coder\030\013 \001(\t\022\021\n\tb_pyramid\030" + + "\014 \001(\010\022\025\n\rb_frame_count\030\r \001(\005\022\023\n\013aq_stren" + + "gth\030\016 \001(\001\022\017\n\007profile\030\017 \001(\t\022\014\n\004tune\030\020 \001(\t" + + "B\n\n\010gop_modeB\020\n\016codec_settings\"\332\002\n\013Audio" + + "Stream\022\020\n\010transmux\030\010 \001(\010\022\r\n\005codec\030\001 \001(\t\022" + + "\030\n\013bitrate_bps\030\002 \001(\005B\003\340A\002\022\025\n\rchannel_cou" + + "nt\030\003 \001(\005\022\026\n\016channel_layout\030\004 \003(\t\022K\n\007mapp" + + "ing\030\005 \003(\0132:.google.cloud.video.livestrea" + + "m.v1.AudioStream.AudioMapping\022\031\n\021sample_" + + "rate_hertz\030\006 \001(\005\032y\n\014AudioMapping\022\026\n\tinpu" + + "t_key\030\006 \001(\tB\003\340A\002\022\030\n\013input_track\030\002 \001(\005B\003\340" + + "A\002\022\032\n\rinput_channel\030\003 \001(\005B\003\340A\002\022\033\n\016output" + + "_channel\030\004 \001(\005B\003\340A\002\" \n\nTextStream\022\022\n\005cod" + + "ec\030\001 \001(\tB\003\340A\002\"F\n\017SegmentSettings\0223\n\020segm" + + "ent_duration\030\001 \001(\0132\031.google.protobuf.Dur" + + "ationB\357\001\n$com.google.cloud.video.livestr" + + "eam.v1B\014OutputsProtoP\001ZJgoogle.golang.or" + + "g/genproto/googleapis/cloud/video/livest" + + "ream/v1;livestream\252\002 Google.Cloud.Video." + + "LiveStream.V1\312\002 Google\\Cloud\\Video\\LiveS" + + "tream\\V1\352\002$Google::Cloud::Video::LiveStr" + + "eam::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + }); + internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_video_livestream_v1_ElementaryStream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor, + new java.lang.String[] { "Key", "VideoStream", "AudioStream", "TextStream", "ElementaryStream", }); + internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_video_livestream_v1_MuxStream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor, + new java.lang.String[] { "Key", "Container", "ElementaryStreams", "SegmentSettings", }); + internal_static_google_cloud_video_livestream_v1_Manifest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_video_livestream_v1_Manifest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Manifest_descriptor, + new java.lang.String[] { "FileName", "Type", "MuxStreams", "MaxSegmentCount", "SegmentKeepDuration", }); + internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_video_livestream_v1_SpriteSheet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor, + new java.lang.String[] { "Format", "FilePrefix", "SpriteWidthPixels", "SpriteHeightPixels", "ColumnCount", "RowCount", "Interval", "Quality", }); + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor, + new java.lang.String[] { "Crop", "Pad", }); + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor = + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor, + new java.lang.String[] { "TopPixels", "BottomPixels", "LeftPixels", "RightPixels", }); + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor = + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor, + new java.lang.String[] { "TopPixels", "BottomPixels", "LeftPixels", "RightPixels", }); + internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_video_livestream_v1_VideoStream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor, + new java.lang.String[] { "H264", "CodecSettings", }); + internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor = + internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor, + new java.lang.String[] { "WidthPixels", "HeightPixels", "FrameRate", "BitrateBps", "AllowOpenGop", "GopFrameCount", "GopDuration", "VbvSizeBits", "VbvFullnessBits", "EntropyCoder", "BPyramid", "BFrameCount", "AqStrength", "Profile", "Tune", "GopMode", }); + internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_video_livestream_v1_AudioStream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor, + new java.lang.String[] { "Transmux", "Codec", "BitrateBps", "ChannelCount", "ChannelLayout", "Mapping", "SampleRateHertz", }); + internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor = + internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor, + new java.lang.String[] { "InputKey", "InputTrack", "InputChannel", "OutputChannel", }); + internal_static_google_cloud_video_livestream_v1_TextStream_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_video_livestream_v1_TextStream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_TextStream_descriptor, + new java.lang.String[] { "Codec", }); + internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_video_livestream_v1_SegmentSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor, + new java.lang.String[] { "SegmentDuration", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfig.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfig.java similarity index 72% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfig.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfig.java index a997dbb..0b2d3de 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfig.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Preprocessing configurations.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.PreprocessingConfig} */ -public final class PreprocessingConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PreprocessingConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.PreprocessingConfig) PreprocessingConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PreprocessingConfig.newBuilder() to construct. private PreprocessingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PreprocessingConfig() {} + private PreprocessingConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PreprocessingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PreprocessingConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,49 +52,39 @@ private PreprocessingConfig( case 0: done = true; break; - case 18: - { - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder subBuilder = - null; - if (crop_ != null) { - subBuilder = crop_.toBuilder(); - } - crop_ = - input.readMessage( - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(crop_); - crop_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder subBuilder = null; + if (crop_ != null) { + subBuilder = crop_.toBuilder(); + } + crop_ = input.readMessage(com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(crop_); + crop_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder subBuilder = - null; - if (pad_ != null) { - subBuilder = pad_.toBuilder(); - } - pad_ = - input.readMessage( - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(pad_); - pad_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder subBuilder = null; + if (pad_ != null) { + subBuilder = pad_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pad_ = input.readMessage(com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(pad_); + pad_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,88 +92,71 @@ private PreprocessingConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.PreprocessingConfig.class, - com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder.class); + com.google.cloud.video.livestream.v1.PreprocessingConfig.class, com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder.class); } - public interface CropOrBuilder - extends + public interface CropOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.PreprocessingConfig.Crop) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The number of pixels to crop from the top. The default is 0.
      * 
* * int32 top_pixels = 1; - * * @return The topPixels. */ int getTopPixels(); /** - * - * *
      * The number of pixels to crop from the bottom. The default is 0.
      * 
* * int32 bottom_pixels = 2; - * * @return The bottomPixels. */ int getBottomPixels(); /** - * - * *
      * The number of pixels to crop from the left. The default is 0.
      * 
* * int32 left_pixels = 3; - * * @return The leftPixels. */ int getLeftPixels(); /** - * - * *
      * The number of pixels to crop from the right. The default is 0.
      * 
* * int32 right_pixels = 4; - * * @return The rightPixels. */ int getRightPixels(); } /** - * - * *
    * Video cropping configuration for the input video. The cropped input video
    * is scaled to match the output resolution.
@@ -207,29 +164,30 @@ public interface CropOrBuilder
    *
    * Protobuf type {@code google.cloud.video.livestream.v1.PreprocessingConfig.Crop}
    */
-  public static final class Crop extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Crop extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.PreprocessingConfig.Crop)
       CropOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Crop.newBuilder() to construct.
     private Crop(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private Crop() {}
+    private Crop() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Crop();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Crop(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -248,33 +206,33 @@ private Crop(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                topPixels_ = input.readInt32();
-                break;
-              }
-            case 16:
-              {
-                bottomPixels_ = input.readInt32();
-                break;
-              }
-            case 24:
-              {
-                leftPixels_ = input.readInt32();
-                break;
-              }
-            case 32:
-              {
-                rightPixels_ = input.readInt32();
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+            case 8: {
+
+              topPixels_ = input.readInt32();
+              break;
+            }
+            case 16: {
+
+              bottomPixels_ = input.readInt32();
+              break;
+            }
+            case 24: {
+
+              leftPixels_ = input.readInt32();
+              break;
+            }
+            case 32: {
+
+              rightPixels_ = input.readInt32();
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -282,39 +240,34 @@ private Crop(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.video.livestream.v1.OutputsProto
-          .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.livestream.v1.OutputsProto
-          .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_fieldAccessorTable
+      return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.class,
-              com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder.class);
+              com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.class, com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder.class);
     }
 
     public static final int TOP_PIXELS_FIELD_NUMBER = 1;
     private int topPixels_;
     /**
-     *
-     *
      * 
      * The number of pixels to crop from the top. The default is 0.
      * 
* * int32 top_pixels = 1; - * * @return The topPixels. */ @java.lang.Override @@ -325,14 +278,11 @@ public int getTopPixels() { public static final int BOTTOM_PIXELS_FIELD_NUMBER = 2; private int bottomPixels_; /** - * - * *
      * The number of pixels to crop from the bottom. The default is 0.
      * 
* * int32 bottom_pixels = 2; - * * @return The bottomPixels. */ @java.lang.Override @@ -343,14 +293,11 @@ public int getBottomPixels() { public static final int LEFT_PIXELS_FIELD_NUMBER = 3; private int leftPixels_; /** - * - * *
      * The number of pixels to crop from the left. The default is 0.
      * 
* * int32 left_pixels = 3; - * * @return The leftPixels. */ @java.lang.Override @@ -361,14 +308,11 @@ public int getLeftPixels() { public static final int RIGHT_PIXELS_FIELD_NUMBER = 4; private int rightPixels_; /** - * - * *
      * The number of pixels to crop from the right. The default is 0.
      * 
* * int32 right_pixels = 4; - * * @return The rightPixels. */ @java.lang.Override @@ -377,7 +321,6 @@ public int getRightPixels() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -389,7 +332,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 (topPixels_ != 0) { output.writeInt32(1, topPixels_); } @@ -412,16 +356,20 @@ public int getSerializedSize() { size = 0; if (topPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, topPixels_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, topPixels_); } if (bottomPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, bottomPixels_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, bottomPixels_); } if (leftPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, leftPixels_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, leftPixels_); } if (rightPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, rightPixels_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, rightPixels_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -431,18 +379,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop other = - (com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop) obj; + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop other = (com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop) obj; - if (getTopPixels() != other.getTopPixels()) return false; - if (getBottomPixels() != other.getBottomPixels()) return false; - if (getLeftPixels() != other.getLeftPixels()) return false; - if (getRightPixels() != other.getRightPixels()) return false; + if (getTopPixels() + != other.getTopPixels()) return false; + if (getBottomPixels() + != other.getBottomPixels()) return false; + if (getLeftPixels() + != other.getLeftPixels()) return false; + if (getRightPixels() + != other.getRightPixels()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -468,94 +419,87 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -565,8 +509,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Video cropping configuration for the input video. The cropped input video
      * is scaled to match the output resolution.
@@ -574,24 +516,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.video.livestream.v1.PreprocessingConfig.Crop}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.PreprocessingConfig.Crop)
         com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.video.livestream.v1.OutputsProto
-            .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.video.livestream.v1.OutputsProto
-            .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_fieldAccessorTable
+        return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.class,
-                com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder.class);
+                com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.class, com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder.class);
       }
 
       // Construct using com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.newBuilder()
@@ -599,15 +538,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -623,14 +563,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.video.livestream.v1.OutputsProto
-            .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop
-          getDefaultInstanceForType() {
+      public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop getDefaultInstanceForType() {
         return com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance();
       }
 
@@ -645,8 +584,7 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop build() {
 
       @java.lang.Override
       public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop buildPartial() {
-        com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop result =
-            new com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop(this);
+        com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop result = new com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop(this);
         result.topPixels_ = topPixels_;
         result.bottomPixels_ = bottomPixels_;
         result.leftPixels_ = leftPixels_;
@@ -659,52 +597,46 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop buildPartia
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop) {
-          return mergeFrom((com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop) other);
+          return mergeFrom((com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop other) {
-        if (other
-            == com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop other) {
+        if (other == com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance()) return this;
         if (other.getTopPixels() != 0) {
           setTopPixels(other.getTopPixels());
         }
@@ -736,9 +668,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -748,16 +678,13 @@ public Builder mergeFrom(
         return this;
       }
 
-      private int topPixels_;
+      private int topPixels_ ;
       /**
-       *
-       *
        * 
        * The number of pixels to crop from the top. The default is 0.
        * 
* * int32 top_pixels = 1; - * * @return The topPixels. */ @java.lang.Override @@ -765,51 +692,42 @@ public int getTopPixels() { return topPixels_; } /** - * - * *
        * The number of pixels to crop from the top. The default is 0.
        * 
* * int32 top_pixels = 1; - * * @param value The topPixels to set. * @return This builder for chaining. */ public Builder setTopPixels(int value) { - + topPixels_ = value; onChanged(); return this; } /** - * - * *
        * The number of pixels to crop from the top. The default is 0.
        * 
* * int32 top_pixels = 1; - * * @return This builder for chaining. */ public Builder clearTopPixels() { - + topPixels_ = 0; onChanged(); return this; } - private int bottomPixels_; + private int bottomPixels_ ; /** - * - * *
        * The number of pixels to crop from the bottom. The default is 0.
        * 
* * int32 bottom_pixels = 2; - * * @return The bottomPixels. */ @java.lang.Override @@ -817,51 +735,42 @@ public int getBottomPixels() { return bottomPixels_; } /** - * - * *
        * The number of pixels to crop from the bottom. The default is 0.
        * 
* * int32 bottom_pixels = 2; - * * @param value The bottomPixels to set. * @return This builder for chaining. */ public Builder setBottomPixels(int value) { - + bottomPixels_ = value; onChanged(); return this; } /** - * - * *
        * The number of pixels to crop from the bottom. The default is 0.
        * 
* * int32 bottom_pixels = 2; - * * @return This builder for chaining. */ public Builder clearBottomPixels() { - + bottomPixels_ = 0; onChanged(); return this; } - private int leftPixels_; + private int leftPixels_ ; /** - * - * *
        * The number of pixels to crop from the left. The default is 0.
        * 
* * int32 left_pixels = 3; - * * @return The leftPixels. */ @java.lang.Override @@ -869,51 +778,42 @@ public int getLeftPixels() { return leftPixels_; } /** - * - * *
        * The number of pixels to crop from the left. The default is 0.
        * 
* * int32 left_pixels = 3; - * * @param value The leftPixels to set. * @return This builder for chaining. */ public Builder setLeftPixels(int value) { - + leftPixels_ = value; onChanged(); return this; } /** - * - * *
        * The number of pixels to crop from the left. The default is 0.
        * 
* * int32 left_pixels = 3; - * * @return This builder for chaining. */ public Builder clearLeftPixels() { - + leftPixels_ = 0; onChanged(); return this; } - private int rightPixels_; + private int rightPixels_ ; /** - * - * *
        * The number of pixels to crop from the right. The default is 0.
        * 
* * int32 right_pixels = 4; - * * @return The rightPixels. */ @java.lang.Override @@ -921,41 +821,34 @@ public int getRightPixels() { return rightPixels_; } /** - * - * *
        * The number of pixels to crop from the right. The default is 0.
        * 
* * int32 right_pixels = 4; - * * @param value The rightPixels to set. * @return This builder for chaining. */ public Builder setRightPixels(int value) { - + rightPixels_ = value; onChanged(); return this; } /** - * - * *
        * The number of pixels to crop from the right. The default is 0.
        * 
* * int32 right_pixels = 4; - * * @return This builder for chaining. */ public Builder clearRightPixels() { - + rightPixels_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -968,32 +861,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.PreprocessingConfig.Crop) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.PreprocessingConfig.Crop) - private static final com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop - DEFAULT_INSTANCE; - + private static final com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop(); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop - getDefaultInstance() { + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Crop parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Crop(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Crop parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Crop(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1005,72 +896,57 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop - getDefaultInstanceForType() { + public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PadOrBuilder - extends + public interface PadOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.PreprocessingConfig.Pad) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The number of pixels to add to the top. The default is 0.
      * 
* * int32 top_pixels = 1; - * * @return The topPixels. */ int getTopPixels(); /** - * - * *
      * The number of pixels to add to the bottom. The default is 0.
      * 
* * int32 bottom_pixels = 2; - * * @return The bottomPixels. */ int getBottomPixels(); /** - * - * *
      * The number of pixels to add to the left. The default is 0.
      * 
* * int32 left_pixels = 3; - * * @return The leftPixels. */ int getLeftPixels(); /** - * - * *
      * The number of pixels to add to the right. The default is 0.
      * 
* * int32 right_pixels = 4; - * * @return The rightPixels. */ int getRightPixels(); } /** - * - * *
    * Pad filter configuration for the input video. The padded input video
    * is scaled after padding with black to match the output resolution.
@@ -1078,29 +954,30 @@ public interface PadOrBuilder
    *
    * Protobuf type {@code google.cloud.video.livestream.v1.PreprocessingConfig.Pad}
    */
-  public static final class Pad extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Pad extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.PreprocessingConfig.Pad)
       PadOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Pad.newBuilder() to construct.
     private Pad(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private Pad() {}
+    private Pad() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Pad();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Pad(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1119,33 +996,33 @@ private Pad(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                topPixels_ = input.readInt32();
-                break;
-              }
-            case 16:
-              {
-                bottomPixels_ = input.readInt32();
-                break;
-              }
-            case 24:
-              {
-                leftPixels_ = input.readInt32();
-                break;
-              }
-            case 32:
-              {
-                rightPixels_ = input.readInt32();
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+            case 8: {
+
+              topPixels_ = input.readInt32();
+              break;
+            }
+            case 16: {
+
+              bottomPixels_ = input.readInt32();
+              break;
+            }
+            case 24: {
+
+              leftPixels_ = input.readInt32();
+              break;
+            }
+            case 32: {
+
+              rightPixels_ = input.readInt32();
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1153,39 +1030,34 @@ private Pad(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.video.livestream.v1.OutputsProto
-          .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.livestream.v1.OutputsProto
-          .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_fieldAccessorTable
+      return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.class,
-              com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder.class);
+              com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.class, com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder.class);
     }
 
     public static final int TOP_PIXELS_FIELD_NUMBER = 1;
     private int topPixels_;
     /**
-     *
-     *
      * 
      * The number of pixels to add to the top. The default is 0.
      * 
* * int32 top_pixels = 1; - * * @return The topPixels. */ @java.lang.Override @@ -1196,14 +1068,11 @@ public int getTopPixels() { public static final int BOTTOM_PIXELS_FIELD_NUMBER = 2; private int bottomPixels_; /** - * - * *
      * The number of pixels to add to the bottom. The default is 0.
      * 
* * int32 bottom_pixels = 2; - * * @return The bottomPixels. */ @java.lang.Override @@ -1214,14 +1083,11 @@ public int getBottomPixels() { public static final int LEFT_PIXELS_FIELD_NUMBER = 3; private int leftPixels_; /** - * - * *
      * The number of pixels to add to the left. The default is 0.
      * 
* * int32 left_pixels = 3; - * * @return The leftPixels. */ @java.lang.Override @@ -1232,14 +1098,11 @@ public int getLeftPixels() { public static final int RIGHT_PIXELS_FIELD_NUMBER = 4; private int rightPixels_; /** - * - * *
      * The number of pixels to add to the right. The default is 0.
      * 
* * int32 right_pixels = 4; - * * @return The rightPixels. */ @java.lang.Override @@ -1248,7 +1111,6 @@ public int getRightPixels() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1260,7 +1122,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 (topPixels_ != 0) { output.writeInt32(1, topPixels_); } @@ -1283,16 +1146,20 @@ public int getSerializedSize() { size = 0; if (topPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, topPixels_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, topPixels_); } if (bottomPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, bottomPixels_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, bottomPixels_); } if (leftPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, leftPixels_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, leftPixels_); } if (rightPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, rightPixels_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, rightPixels_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1302,18 +1169,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad other = - (com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad) obj; + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad other = (com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad) obj; - if (getTopPixels() != other.getTopPixels()) return false; - if (getBottomPixels() != other.getBottomPixels()) return false; - if (getLeftPixels() != other.getLeftPixels()) return false; - if (getRightPixels() != other.getRightPixels()) return false; + if (getTopPixels() + != other.getTopPixels()) return false; + if (getBottomPixels() + != other.getBottomPixels()) return false; + if (getLeftPixels() + != other.getLeftPixels()) return false; + if (getRightPixels() + != other.getRightPixels()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1339,94 +1209,87 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1436,8 +1299,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Pad filter configuration for the input video. The padded input video
      * is scaled after padding with black to match the output resolution.
@@ -1445,24 +1306,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.video.livestream.v1.PreprocessingConfig.Pad}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.PreprocessingConfig.Pad)
         com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.video.livestream.v1.OutputsProto
-            .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.video.livestream.v1.OutputsProto
-            .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_fieldAccessorTable
+        return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.class,
-                com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder.class);
+                com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.class, com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder.class);
       }
 
       // Construct using com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.newBuilder()
@@ -1470,15 +1328,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();
@@ -1494,14 +1353,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.video.livestream.v1.OutputsProto
-            .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad
-          getDefaultInstanceForType() {
+      public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad getDefaultInstanceForType() {
         return com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance();
       }
 
@@ -1516,8 +1374,7 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad build() {
 
       @java.lang.Override
       public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad buildPartial() {
-        com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad result =
-            new com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad(this);
+        com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad result = new com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad(this);
         result.topPixels_ = topPixels_;
         result.bottomPixels_ = bottomPixels_;
         result.leftPixels_ = leftPixels_;
@@ -1530,41 +1387,38 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad buildPartial
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad) {
-          return mergeFrom((com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad) other);
+          return mergeFrom((com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1572,9 +1426,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad other) {
-        if (other
-            == com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance()) return this;
         if (other.getTopPixels() != 0) {
           setTopPixels(other.getTopPixels());
         }
@@ -1606,9 +1458,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1618,16 +1468,13 @@ public Builder mergeFrom(
         return this;
       }
 
-      private int topPixels_;
+      private int topPixels_ ;
       /**
-       *
-       *
        * 
        * The number of pixels to add to the top. The default is 0.
        * 
* * int32 top_pixels = 1; - * * @return The topPixels. */ @java.lang.Override @@ -1635,51 +1482,42 @@ public int getTopPixels() { return topPixels_; } /** - * - * *
        * The number of pixels to add to the top. The default is 0.
        * 
* * int32 top_pixels = 1; - * * @param value The topPixels to set. * @return This builder for chaining. */ public Builder setTopPixels(int value) { - + topPixels_ = value; onChanged(); return this; } /** - * - * *
        * The number of pixels to add to the top. The default is 0.
        * 
* * int32 top_pixels = 1; - * * @return This builder for chaining. */ public Builder clearTopPixels() { - + topPixels_ = 0; onChanged(); return this; } - private int bottomPixels_; + private int bottomPixels_ ; /** - * - * *
        * The number of pixels to add to the bottom. The default is 0.
        * 
* * int32 bottom_pixels = 2; - * * @return The bottomPixels. */ @java.lang.Override @@ -1687,51 +1525,42 @@ public int getBottomPixels() { return bottomPixels_; } /** - * - * *
        * The number of pixels to add to the bottom. The default is 0.
        * 
* * int32 bottom_pixels = 2; - * * @param value The bottomPixels to set. * @return This builder for chaining. */ public Builder setBottomPixels(int value) { - + bottomPixels_ = value; onChanged(); return this; } /** - * - * *
        * The number of pixels to add to the bottom. The default is 0.
        * 
* * int32 bottom_pixels = 2; - * * @return This builder for chaining. */ public Builder clearBottomPixels() { - + bottomPixels_ = 0; onChanged(); return this; } - private int leftPixels_; + private int leftPixels_ ; /** - * - * *
        * The number of pixels to add to the left. The default is 0.
        * 
* * int32 left_pixels = 3; - * * @return The leftPixels. */ @java.lang.Override @@ -1739,51 +1568,42 @@ public int getLeftPixels() { return leftPixels_; } /** - * - * *
        * The number of pixels to add to the left. The default is 0.
        * 
* * int32 left_pixels = 3; - * * @param value The leftPixels to set. * @return This builder for chaining. */ public Builder setLeftPixels(int value) { - + leftPixels_ = value; onChanged(); return this; } /** - * - * *
        * The number of pixels to add to the left. The default is 0.
        * 
* * int32 left_pixels = 3; - * * @return This builder for chaining. */ public Builder clearLeftPixels() { - + leftPixels_ = 0; onChanged(); return this; } - private int rightPixels_; + private int rightPixels_ ; /** - * - * *
        * The number of pixels to add to the right. The default is 0.
        * 
* * int32 right_pixels = 4; - * * @return The rightPixels. */ @java.lang.Override @@ -1791,41 +1611,34 @@ public int getRightPixels() { return rightPixels_; } /** - * - * *
        * The number of pixels to add to the right. The default is 0.
        * 
* * int32 right_pixels = 4; - * * @param value The rightPixels to set. * @return This builder for chaining. */ public Builder setRightPixels(int value) { - + rightPixels_ = value; onChanged(); return this; } /** - * - * *
        * The number of pixels to add to the right. The default is 0.
        * 
* * int32 right_pixels = 4; - * * @return This builder for chaining. */ public Builder clearRightPixels() { - + rightPixels_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1838,32 +1651,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.PreprocessingConfig.Pad) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.PreprocessingConfig.Pad) - private static final com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad - DEFAULT_INSTANCE; - + private static final com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad(); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad - getDefaultInstance() { + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Pad parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Pad(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Pad parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Pad(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1875,23 +1686,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad - getDefaultInstanceForType() { + public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int CROP_FIELD_NUMBER = 2; private com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop_; /** - * - * *
    * Specify the video cropping configuration.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; - * * @return Whether the crop field is set. */ @java.lang.Override @@ -1899,25 +1707,18 @@ public boolean hasCrop() { return crop_ != null; } /** - * - * *
    * Specify the video cropping configuration.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; - * * @return The crop. */ @java.lang.Override public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop getCrop() { - return crop_ == null - ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance() - : crop_; + return crop_ == null ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance() : crop_; } /** - * - * *
    * Specify the video cropping configuration.
    * 
@@ -1932,14 +1733,11 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder ge public static final int PAD_FIELD_NUMBER = 3; private com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad_; /** - * - * *
    * Specify the video pad filter configuration.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3; - * * @return Whether the pad field is set. */ @java.lang.Override @@ -1947,25 +1745,18 @@ public boolean hasPad() { return pad_ != null; } /** - * - * *
    * Specify the video pad filter configuration.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3; - * * @return The pad. */ @java.lang.Override public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad getPad() { - return pad_ == null - ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance() - : pad_; + return pad_ == null ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance() : pad_; } /** - * - * *
    * Specify the video pad filter configuration.
    * 
@@ -1978,7 +1769,6 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder get } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1990,7 +1780,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 (crop_ != null) { output.writeMessage(2, getCrop()); } @@ -2007,10 +1798,12 @@ public int getSerializedSize() { size = 0; if (crop_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCrop()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCrop()); } if (pad_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPad()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPad()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2020,21 +1813,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.PreprocessingConfig)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.PreprocessingConfig other = - (com.google.cloud.video.livestream.v1.PreprocessingConfig) obj; + com.google.cloud.video.livestream.v1.PreprocessingConfig other = (com.google.cloud.video.livestream.v1.PreprocessingConfig) obj; if (hasCrop() != other.hasCrop()) return false; if (hasCrop()) { - if (!getCrop().equals(other.getCrop())) return false; + if (!getCrop() + .equals(other.getCrop())) return false; } if (hasPad() != other.hasPad()) return false; if (hasPad()) { - if (!getPad().equals(other.getPad())) return false; + if (!getPad() + .equals(other.getPad())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2061,127 +1855,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.PreprocessingConfig prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.PreprocessingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Preprocessing configurations.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.PreprocessingConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.PreprocessingConfig) com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.PreprocessingConfig.class, - com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder.class); + com.google.cloud.video.livestream.v1.PreprocessingConfig.class, com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.PreprocessingConfig.newBuilder() @@ -2189,15 +1973,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(); @@ -2217,9 +2002,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor; } @java.lang.Override @@ -2238,8 +2023,7 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig build() { @java.lang.Override public com.google.cloud.video.livestream.v1.PreprocessingConfig buildPartial() { - com.google.cloud.video.livestream.v1.PreprocessingConfig result = - new com.google.cloud.video.livestream.v1.PreprocessingConfig(this); + com.google.cloud.video.livestream.v1.PreprocessingConfig result = new com.google.cloud.video.livestream.v1.PreprocessingConfig(this); if (cropBuilder_ == null) { result.crop_ = crop_; } else { @@ -2258,39 +2042,38 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.PreprocessingConfig) { - return mergeFrom((com.google.cloud.video.livestream.v1.PreprocessingConfig) other); + return mergeFrom((com.google.cloud.video.livestream.v1.PreprocessingConfig)other); } else { super.mergeFrom(other); return this; @@ -2298,8 +2081,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.PreprocessingConfig other) { - if (other == com.google.cloud.video.livestream.v1.PreprocessingConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.PreprocessingConfig.getDefaultInstance()) return this; if (other.hasCrop()) { mergeCrop(other.getCrop()); } @@ -2325,8 +2107,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.PreprocessingConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.PreprocessingConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2338,47 +2119,34 @@ public Builder mergeFrom( private com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop, - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder, - com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder> - cropBuilder_; + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop, com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder> cropBuilder_; /** - * - * *
      * Specify the video cropping configuration.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; - * * @return Whether the crop field is set. */ public boolean hasCrop() { return cropBuilder_ != null || crop_ != null; } /** - * - * *
      * Specify the video cropping configuration.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; - * * @return The crop. */ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop getCrop() { if (cropBuilder_ == null) { - return crop_ == null - ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance() - : crop_; + return crop_ == null ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance() : crop_; } else { return cropBuilder_.getMessage(); } } /** - * - * *
      * Specify the video cropping configuration.
      * 
@@ -2399,8 +2167,6 @@ public Builder setCrop(com.google.cloud.video.livestream.v1.PreprocessingConfig. return this; } /** - * - * *
      * Specify the video cropping configuration.
      * 
@@ -2419,8 +2185,6 @@ public Builder setCrop( return this; } /** - * - * *
      * Specify the video cropping configuration.
      * 
@@ -2431,9 +2195,7 @@ public Builder mergeCrop(com.google.cloud.video.livestream.v1.PreprocessingConfi if (cropBuilder_ == null) { if (crop_ != null) { crop_ = - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.newBuilder(crop_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.newBuilder(crop_).mergeFrom(value).buildPartial(); } else { crop_ = value; } @@ -2445,8 +2207,6 @@ public Builder mergeCrop(com.google.cloud.video.livestream.v1.PreprocessingConfi return this; } /** - * - * *
      * Specify the video cropping configuration.
      * 
@@ -2465,8 +2225,6 @@ public Builder clearCrop() { return this; } /** - * - * *
      * Specify the video cropping configuration.
      * 
@@ -2474,32 +2232,26 @@ public Builder clearCrop() { * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; */ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder getCropBuilder() { - + onChanged(); return getCropFieldBuilder().getBuilder(); } /** - * - * *
      * Specify the video cropping configuration.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; */ - public com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder - getCropOrBuilder() { + public com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder getCropOrBuilder() { if (cropBuilder_ != null) { return cropBuilder_.getMessageOrBuilder(); } else { - return crop_ == null - ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance() - : crop_; + return crop_ == null ? + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance() : crop_; } } /** - * - * *
      * Specify the video cropping configuration.
      * 
@@ -2507,17 +2259,14 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder get * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop, - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder, - com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder> + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop, com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder> getCropFieldBuilder() { if (cropBuilder_ == null) { - cropBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop, - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder, - com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder>( - getCrop(), getParentForChildren(), isClean()); + cropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop, com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder>( + getCrop(), + getParentForChildren(), + isClean()); crop_ = null; } return cropBuilder_; @@ -2525,47 +2274,34 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder get private com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad, - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder, - com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder> - padBuilder_; + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad, com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder> padBuilder_; /** - * - * *
      * Specify the video pad filter configuration.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3; - * * @return Whether the pad field is set. */ public boolean hasPad() { return padBuilder_ != null || pad_ != null; } /** - * - * *
      * Specify the video pad filter configuration.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3; - * * @return The pad. */ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad getPad() { if (padBuilder_ == null) { - return pad_ == null - ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance() - : pad_; + return pad_ == null ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance() : pad_; } else { return padBuilder_.getMessage(); } } /** - * - * *
      * Specify the video pad filter configuration.
      * 
@@ -2586,8 +2322,6 @@ public Builder setPad(com.google.cloud.video.livestream.v1.PreprocessingConfig.P return this; } /** - * - * *
      * Specify the video pad filter configuration.
      * 
@@ -2606,8 +2340,6 @@ public Builder setPad( return this; } /** - * - * *
      * Specify the video pad filter configuration.
      * 
@@ -2618,9 +2350,7 @@ public Builder mergePad(com.google.cloud.video.livestream.v1.PreprocessingConfig if (padBuilder_ == null) { if (pad_ != null) { pad_ = - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.newBuilder(pad_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.newBuilder(pad_).mergeFrom(value).buildPartial(); } else { pad_ = value; } @@ -2632,8 +2362,6 @@ public Builder mergePad(com.google.cloud.video.livestream.v1.PreprocessingConfig return this; } /** - * - * *
      * Specify the video pad filter configuration.
      * 
@@ -2652,8 +2380,6 @@ public Builder clearPad() { return this; } /** - * - * *
      * Specify the video pad filter configuration.
      * 
@@ -2661,13 +2387,11 @@ public Builder clearPad() { * .google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3; */ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder getPadBuilder() { - + onChanged(); return getPadFieldBuilder().getBuilder(); } /** - * - * *
      * Specify the video pad filter configuration.
      * 
@@ -2678,14 +2402,11 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder get if (padBuilder_ != null) { return padBuilder_.getMessageOrBuilder(); } else { - return pad_ == null - ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance() - : pad_; + return pad_ == null ? + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance() : pad_; } } /** - * - * *
      * Specify the video pad filter configuration.
      * 
@@ -2693,24 +2414,21 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder get * .google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad, - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder, - com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder> + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad, com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder> getPadFieldBuilder() { if (padBuilder_ == null) { - padBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad, - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder, - com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder>( - getPad(), getParentForChildren(), isClean()); + padBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad, com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder>( + getPad(), + getParentForChildren(), + isClean()); pad_ = null; } return padBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2720,12 +2438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.PreprocessingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.PreprocessingConfig) private static final com.google.cloud.video.livestream.v1.PreprocessingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.PreprocessingConfig(); } @@ -2734,16 +2452,16 @@ public static com.google.cloud.video.livestream.v1.PreprocessingConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PreprocessingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PreprocessingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PreprocessingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PreprocessingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2758,4 +2476,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.PreprocessingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfigOrBuilder.java similarity index 71% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfigOrBuilder.java index b76d9ed..5da390a 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfigOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; -public interface PreprocessingConfigOrBuilder - extends +public interface PreprocessingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.PreprocessingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Specify the video cropping configuration.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; - * * @return Whether the crop field is set. */ boolean hasCrop(); /** - * - * *
    * Specify the video cropping configuration.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; - * * @return The crop. */ com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop getCrop(); /** - * - * *
    * Specify the video cropping configuration.
    * 
@@ -59,32 +35,24 @@ public interface PreprocessingConfigOrBuilder com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder getCropOrBuilder(); /** - * - * *
    * Specify the video pad filter configuration.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3; - * * @return Whether the pad field is set. */ boolean hasPad(); /** - * - * *
    * Specify the video pad filter configuration.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3; - * * @return The pad. */ com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad getPad(); /** - * - * *
    * Specify the video pad filter configuration.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java new file mode 100644 index 0000000..d82dd32 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java @@ -0,0 +1,352 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/video/livestream/v1/resources.proto + +package com.google.cloud.video.livestream.v1; + +public final class ResourcesProto { + private ResourcesProto() {} + 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_video_livestream_v1_Input_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Input_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Channel_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Channel_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Channel_Output_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_LogConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_InputStreamProperty_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_VideoFormat_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_AudioFormat_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_InputAttachment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Event_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Event_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n0google/cloud/video/livestream/v1/resou" + + "rces.proto\022 google.cloud.video.livestrea" + + "m.v1\032\037google/api/field_behavior.proto\032\031g" + + "oogle/api/resource.proto\032.google/cloud/v" + + "ideo/livestream/v1/outputs.proto\032\036google" + + "/protobuf/duration.proto\032\037google/protobu" + + "f/timestamp.proto\032\027google/rpc/status.pro" + + "to\"\360\006\n\005Input\022\014\n\004name\030\001 \001(\t\0224\n\013create_tim" + + "e\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0224\n\013update_time\030\003 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\022C\n\006labels\030\004 \003(\01323.google." + + "cloud.video.livestream.v1.Input.LabelsEn" + + "try\022:\n\004type\030\005 \001(\0162,.google.cloud.video.l" + + "ivestream.v1.Input.Type\022:\n\004tier\030\016 \001(\0162,." + + "google.cloud.video.livestream.v1.Input.T" + + "ier\022\020\n\003uri\030\006 \001(\tB\003\340A\003\022S\n\024preprocessing_c" + + "onfig\030\t \001(\01325.google.cloud.video.livestr" + + "eam.v1.PreprocessingConfig\022L\n\016security_r" + + "ules\030\014 \001(\01324.google.cloud.video.livestre" + + "am.v1.Input.SecurityRule\022Y\n\025input_stream" + + "_property\030\017 \001(\01325.google.cloud.video.liv" + + "estream.v1.InputStreamPropertyB\003\340A\003\032!\n\014S" + + "ecurityRule\022\021\n\tip_ranges\030\001 \003(\t\032-\n\013Labels" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"9\n" + + "\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\r\n\tRTMP_PUSH" + + "\020\001\022\014\n\010SRT_PUSH\020\002\"5\n\004Tier\022\024\n\020TIER_UNSPECI" + + "FIED\020\000\022\006\n\002SD\020\001\022\006\n\002HD\020\002\022\007\n\003UHD\020\003:\\\352AY\n\037li" + + "vestream.googleapis.com/Input\0226projects/" + + "{project}/locations/{location}/inputs/{i" + + "nput}\"\263\t\n\007Channel\022\014\n\004name\030\001 \001(\t\0224\n\013creat" + + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\022E\n\006labels\030\004 \003(\01325.go" + + "ogle.cloud.video.livestream.v1.Channel.L" + + "abelsEntry\022L\n\021input_attachments\030\020 \003(\01321." + + "google.cloud.video.livestream.v1.InputAt" + + "tachment\022\031\n\014active_input\030\006 \001(\tB\003\340A\003\022E\n\006o" + + "utput\030\t \001(\01320.google.cloud.video.livestr" + + "eam.v1.Channel.OutputB\003\340A\002\022N\n\022elementary" + + "_streams\030\n \003(\01322.google.cloud.video.live" + + "stream.v1.ElementaryStream\022@\n\013mux_stream" + + "s\030\013 \003(\0132+.google.cloud.video.livestream." + + "v1.MuxStream\022=\n\tmanifests\030\014 \003(\0132*.google" + + ".cloud.video.livestream.v1.Manifest\022D\n\rs" + + "prite_sheets\030\r \003(\0132-.google.cloud.video." + + "livestream.v1.SpriteSheet\022V\n\017streaming_s" + + "tate\030\016 \001(\01628.google.cloud.video.livestre" + + "am.v1.Channel.StreamingStateB\003\340A\003\0220\n\017str" + + "eaming_error\030\022 \001(\0132\022.google.rpc.StatusB\003" + + "\340A\003\022?\n\nlog_config\030\023 \001(\0132+.google.cloud.v" + + "ideo.livestream.v1.LogConfig\032\025\n\006Output\022\013" + + "\n\003uri\030\001 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001\"\252\001\n\016StreamingState\022\037\n" + + "\033STREAMING_STATE_UNSPECIFIED\020\000\022\r\n\tSTREAM" + + "ING\020\001\022\022\n\016AWAITING_INPUT\020\002\022\023\n\017STREAMING_E" + + "RROR\020\004\022\026\n\022STREAMING_NO_INPUT\020\005\022\013\n\007STOPPE" + + "D\020\006\022\014\n\010STARTING\020\007\022\014\n\010STOPPING\020\010:b\352A_\n!li" + + "vestream.googleapis.com/Channel\022:project" + + "s/{project}/locations/{location}/channel" + + "s/{channel}\"\300\001\n\tLogConfig\022M\n\014log_severit" + + "y\030\001 \001(\01627.google.cloud.video.livestream." + + "v1.LogConfig.LogSeverity\"d\n\013LogSeverity\022" + + "\034\n\030LOG_SEVERITY_UNSPECIFIED\020\000\022\007\n\003OFF\020\001\022\t" + + "\n\005DEBUG\020d\022\t\n\004INFO\020\310\001\022\014\n\007WARNING\020\220\003\022\n\n\005ER" + + "ROR\020\364\003\"\352\001\n\023InputStreamProperty\0227\n\023last_e" + + "stablish_time\030\001 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022L\n\rvideo_streams\030\002 \003(\01325.google." + + "cloud.video.livestream.v1.VideoStreamPro" + + "perty\022L\n\raudio_streams\030\003 \003(\01325.google.cl" + + "oud.video.livestream.v1.AudioStreamPrope" + + "rty\"i\n\023VideoStreamProperty\022\r\n\005index\030\001 \001(" + + "\005\022C\n\014video_format\030\002 \001(\0132-.google.cloud.v" + + "ideo.livestream.v1.VideoFormat\"]\n\013VideoF" + + "ormat\022\r\n\005codec\030\001 \001(\t\022\024\n\014width_pixels\030\002 \001" + + "(\005\022\025\n\rheight_pixels\030\003 \001(\005\022\022\n\nframe_rate\030" + + "\004 \001(\001\"i\n\023AudioStreamProperty\022\r\n\005index\030\001 " + + "\001(\005\022C\n\014audio_format\030\002 \001(\0132-.google.cloud" + + ".video.livestream.v1.AudioFormat\"K\n\013Audi" + + "oFormat\022\r\n\005codec\030\001 \001(\t\022\025\n\rchannel_count\030" + + "\002 \001(\005\022\026\n\016channel_layout\030\003 \003(\t\"\335\001\n\017InputA" + + "ttachment\022\013\n\003key\030\001 \001(\t\0223\n\005input\030\002 \001(\tB$\372" + + "A!\n\037livestream.googleapis.com/Input\022_\n\022a" + + "utomatic_failover\030\003 \001(\0132C.google.cloud.v" + + "ideo.livestream.v1.InputAttachment.Autom" + + "aticFailover\032\'\n\021AutomaticFailover\022\022\n\ninp" + + "ut_keys\030\001 \003(\t\"\235\006\n\005Event\022\014\n\004name\030\001 \001(\t\0224\n" + + "\013create_time\030\002 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\022C\n\006labels\030\004 \003(" + + "\01323.google.cloud.video.livestream.v1.Eve" + + "nt.LabelsEntry\022L\n\010ad_break\030\006 \001(\01323.googl" + + "e.cloud.video.livestream.v1.Event.AdBrea" + + "kTaskB\003\340A\002H\000\022\023\n\013execute_now\030\t \001(\010\0222\n\016exe" + + "cution_time\030\n \001(\0132\032.google.protobuf.Time" + + "stamp\022A\n\005state\030\013 \001(\0162-.google.cloud.vide" + + "o.livestream.v1.Event.StateB\003\340A\003\022&\n\005erro" + + "r\030\014 \001(\0132\022.google.rpc.StatusB\003\340A\003\032:\n\013AdBr" + + "eakTask\022+\n\010duration\030\001 \001(\0132\031.google.proto" + + "buf.Duration\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\"o\n\005State\022\025\n\021STATE_UN" + + "SPECIFIED\020\000\022\r\n\tSCHEDULED\020\001\022\013\n\007RUNNING\020\002\022" + + "\r\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022\013\n\007PENDING\020\005\022" + + "\013\n\007STOPPED\020\006:o\352Al\n\037livestream.googleapis" + + ".com/Event\022Iprojects/{project}/locations" + + "/{location}/channels/{channel}/events/{e" + + "vent}B\006\n\004taskB\361\001\n$com.google.cloud.video" + + ".livestream.v1B\016ResourcesProtoP\001ZJgoogle" + + ".golang.org/genproto/googleapis/cloud/vi" + + "deo/livestream/v1;livestream\252\002 Google.Cl" + + "oud.Video.LiveStream.V1\312\002 Google\\Cloud\\V" + + "ideo\\LiveStream\\V1\352\002$Google::Cloud::Vide" + + "o::LiveStream::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.video.livestream.v1.OutputsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_video_livestream_v1_Input_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_video_livestream_v1_Input_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Input_descriptor, + new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "Type", "Tier", "Uri", "PreprocessingConfig", "SecurityRules", "InputStreamProperty", }); + internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor = + internal_static_google_cloud_video_livestream_v1_Input_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor, + new java.lang.String[] { "IpRanges", }); + internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_descriptor = + internal_static_google_cloud_video_livestream_v1_Input_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_video_livestream_v1_Channel_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_video_livestream_v1_Channel_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Channel_descriptor, + new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "InputAttachments", "ActiveInput", "Output", "ElementaryStreams", "MuxStreams", "Manifests", "SpriteSheets", "StreamingState", "StreamingError", "LogConfig", }); + internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor = + internal_static_google_cloud_video_livestream_v1_Channel_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_video_livestream_v1_Channel_Output_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor, + new java.lang.String[] { "Uri", }); + internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_descriptor = + internal_static_google_cloud_video_livestream_v1_Channel_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_video_livestream_v1_LogConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor, + new java.lang.String[] { "LogSeverity", }); + internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_video_livestream_v1_InputStreamProperty_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor, + new java.lang.String[] { "LastEstablishTime", "VideoStreams", "AudioStreams", }); + internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor, + new java.lang.String[] { "Index", "VideoFormat", }); + internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_video_livestream_v1_VideoFormat_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor, + new java.lang.String[] { "Codec", "WidthPixels", "HeightPixels", "FrameRate", }); + internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor, + new java.lang.String[] { "Index", "AudioFormat", }); + internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_video_livestream_v1_AudioFormat_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor, + new java.lang.String[] { "Codec", "ChannelCount", "ChannelLayout", }); + internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_video_livestream_v1_InputAttachment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor, + new java.lang.String[] { "Key", "Input", "AutomaticFailover", }); + internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor = + internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor, + new java.lang.String[] { "InputKeys", }); + internal_static_google_cloud_video_livestream_v1_Event_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_video_livestream_v1_Event_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Event_descriptor, + new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "AdBreak", "ExecuteNow", "ExecutionTime", "State", "Error", "Task", }); + internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor = + internal_static_google_cloud_video_livestream_v1_Event_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor, + new java.lang.String[] { "Duration", }); + internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_descriptor = + internal_static_google_cloud_video_livestream_v1_Event_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.video.livestream.v1.OutputsProto.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-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettings.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettings.java similarity index 74% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettings.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettings.java index 2b81c1b..434c97a 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettings.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettings.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Segment settings for `fmp4` and `ts`.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.SegmentSettings} */ -public final class SegmentSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SegmentSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.SegmentSettings) SegmentSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SegmentSettings.newBuilder() to construct. private SegmentSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SegmentSettings() {} + private SegmentSettings() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SegmentSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SegmentSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,28 +52,26 @@ private SegmentSettings( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (segmentDuration_ != null) { - subBuilder = segmentDuration_.toBuilder(); - } - segmentDuration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segmentDuration_); - segmentDuration_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (segmentDuration_ != null) { + subBuilder = segmentDuration_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + segmentDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segmentDuration_); + segmentDuration_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,33 +79,29 @@ private SegmentSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_SegmentSettings_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SegmentSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.SegmentSettings.class, - com.google.cloud.video.livestream.v1.SegmentSettings.Builder.class); + com.google.cloud.video.livestream.v1.SegmentSettings.class, com.google.cloud.video.livestream.v1.SegmentSettings.Builder.class); } public static final int SEGMENT_DURATION_FIELD_NUMBER = 1; private com.google.protobuf.Duration segmentDuration_; /** - * - * *
    * Duration of the segments in seconds. The default is `6s`. Note that
    * `segmentDuration` must be greater than or equal to
@@ -136,7 +114,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.Duration segment_duration = 1; - * * @return Whether the segmentDuration field is set. */ @java.lang.Override @@ -144,8 +121,6 @@ public boolean hasSegmentDuration() { return segmentDuration_ != null; } /** - * - * *
    * Duration of the segments in seconds. The default is `6s`. Note that
    * `segmentDuration` must be greater than or equal to
@@ -158,18 +133,13 @@ public boolean hasSegmentDuration() {
    * 
* * .google.protobuf.Duration segment_duration = 1; - * * @return The segmentDuration. */ @java.lang.Override public com.google.protobuf.Duration getSegmentDuration() { - return segmentDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : segmentDuration_; + return segmentDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : segmentDuration_; } /** - * - * *
    * Duration of the segments in seconds. The default is `6s`. Note that
    * `segmentDuration` must be greater than or equal to
@@ -189,7 +159,6 @@ public com.google.protobuf.DurationOrBuilder getSegmentDurationOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -201,7 +170,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 (segmentDuration_ != null) {
       output.writeMessage(1, getSegmentDuration());
     }
@@ -215,7 +185,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (segmentDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegmentDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getSegmentDuration());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -225,17 +196,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.video.livestream.v1.SegmentSettings)) {
       return super.equals(obj);
     }
-    com.google.cloud.video.livestream.v1.SegmentSettings other =
-        (com.google.cloud.video.livestream.v1.SegmentSettings) obj;
+    com.google.cloud.video.livestream.v1.SegmentSettings other = (com.google.cloud.video.livestream.v1.SegmentSettings) obj;
 
     if (hasSegmentDuration() != other.hasSegmentDuration()) return false;
     if (hasSegmentDuration()) {
-      if (!getSegmentDuration().equals(other.getSegmentDuration())) return false;
+      if (!getSegmentDuration()
+          .equals(other.getSegmentDuration())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -258,126 +229,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.video.livestream.v1.SegmentSettings parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.video.livestream.v1.SegmentSettings parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.video.livestream.v1.SegmentSettings prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Segment settings for `fmp4` and `ts`.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.SegmentSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.SegmentSettings) com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_SegmentSettings_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SegmentSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.SegmentSettings.class, - com.google.cloud.video.livestream.v1.SegmentSettings.Builder.class); + com.google.cloud.video.livestream.v1.SegmentSettings.class, com.google.cloud.video.livestream.v1.SegmentSettings.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.SegmentSettings.newBuilder() @@ -385,15 +347,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(); @@ -407,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor; } @java.lang.Override @@ -428,8 +391,7 @@ public com.google.cloud.video.livestream.v1.SegmentSettings build() { @java.lang.Override public com.google.cloud.video.livestream.v1.SegmentSettings buildPartial() { - com.google.cloud.video.livestream.v1.SegmentSettings result = - new com.google.cloud.video.livestream.v1.SegmentSettings(this); + com.google.cloud.video.livestream.v1.SegmentSettings result = new com.google.cloud.video.livestream.v1.SegmentSettings(this); if (segmentDurationBuilder_ == null) { result.segmentDuration_ = segmentDuration_; } else { @@ -443,39 +405,38 @@ public com.google.cloud.video.livestream.v1.SegmentSettings buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.SegmentSettings) { - return mergeFrom((com.google.cloud.video.livestream.v1.SegmentSettings) other); + return mergeFrom((com.google.cloud.video.livestream.v1.SegmentSettings)other); } else { super.mergeFrom(other); return this; @@ -483,8 +444,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.SegmentSettings other) { - if (other == com.google.cloud.video.livestream.v1.SegmentSettings.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.SegmentSettings.getDefaultInstance()) return this; if (other.hasSegmentDuration()) { mergeSegmentDuration(other.getSegmentDuration()); } @@ -507,8 +467,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.SegmentSettings) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.SegmentSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -520,13 +479,8 @@ public Builder mergeFrom( private com.google.protobuf.Duration segmentDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - segmentDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> segmentDurationBuilder_; /** - * - * *
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -539,15 +493,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration segment_duration = 1; - * * @return Whether the segmentDuration field is set. */ public boolean hasSegmentDuration() { return segmentDurationBuilder_ != null || segmentDuration_ != null; } /** - * - * *
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -560,21 +511,16 @@ public boolean hasSegmentDuration() {
      * 
* * .google.protobuf.Duration segment_duration = 1; - * * @return The segmentDuration. */ public com.google.protobuf.Duration getSegmentDuration() { if (segmentDurationBuilder_ == null) { - return segmentDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : segmentDuration_; + return segmentDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : segmentDuration_; } else { return segmentDurationBuilder_.getMessage(); } } /** - * - * *
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -602,8 +548,6 @@ public Builder setSegmentDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -617,7 +561,8 @@ public Builder setSegmentDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration segment_duration = 1;
      */
-    public Builder setSegmentDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setSegmentDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (segmentDurationBuilder_ == null) {
         segmentDuration_ = builderForValue.build();
         onChanged();
@@ -628,8 +573,6 @@ public Builder setSegmentDuration(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -647,9 +590,7 @@ public Builder mergeSegmentDuration(com.google.protobuf.Duration value) {
       if (segmentDurationBuilder_ == null) {
         if (segmentDuration_ != null) {
           segmentDuration_ =
-              com.google.protobuf.Duration.newBuilder(segmentDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(segmentDuration_).mergeFrom(value).buildPartial();
         } else {
           segmentDuration_ = value;
         }
@@ -661,8 +602,6 @@ public Builder mergeSegmentDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -688,8 +627,6 @@ public Builder clearSegmentDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -704,13 +641,11 @@ public Builder clearSegmentDuration() {
      * .google.protobuf.Duration segment_duration = 1;
      */
     public com.google.protobuf.Duration.Builder getSegmentDurationBuilder() {
-
+      
       onChanged();
       return getSegmentDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -728,14 +663,11 @@ public com.google.protobuf.DurationOrBuilder getSegmentDurationOrBuilder() {
       if (segmentDurationBuilder_ != null) {
         return segmentDurationBuilder_.getMessageOrBuilder();
       } else {
-        return segmentDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : segmentDuration_;
+        return segmentDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : segmentDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -750,24 +682,21 @@ public com.google.protobuf.DurationOrBuilder getSegmentDurationOrBuilder() {
      * .google.protobuf.Duration segment_duration = 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> 
         getSegmentDurationFieldBuilder() {
       if (segmentDurationBuilder_ == null) {
-        segmentDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getSegmentDuration(), getParentForChildren(), isClean());
+        segmentDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getSegmentDuration(),
+                getParentForChildren(),
+                isClean());
         segmentDuration_ = null;
       }
       return segmentDurationBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -777,12 +706,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.SegmentSettings)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.SegmentSettings)
   private static final com.google.cloud.video.livestream.v1.SegmentSettings DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.SegmentSettings();
   }
@@ -791,16 +720,16 @@ public static com.google.cloud.video.livestream.v1.SegmentSettings getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public SegmentSettings parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new SegmentSettings(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public SegmentSettings parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new SegmentSettings(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -815,4 +744,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.video.livestream.v1.SegmentSettings getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettingsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettingsOrBuilder.java
similarity index 78%
rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettingsOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettingsOrBuilder.java
index efcaab1..8cdad83 100644
--- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettingsOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettingsOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/video/livestream/v1/outputs.proto
 
 package com.google.cloud.video.livestream.v1;
 
-public interface SegmentSettingsOrBuilder
-    extends
+public interface SegmentSettingsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.SegmentSettings)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Duration of the segments in seconds. The default is `6s`. Note that
    * `segmentDuration` must be greater than or equal to
@@ -38,13 +20,10 @@ public interface SegmentSettingsOrBuilder
    * 
* * .google.protobuf.Duration segment_duration = 1; - * * @return Whether the segmentDuration field is set. */ boolean hasSegmentDuration(); /** - * - * *
    * Duration of the segments in seconds. The default is `6s`. Note that
    * `segmentDuration` must be greater than or equal to
@@ -57,13 +36,10 @@ public interface SegmentSettingsOrBuilder
    * 
* * .google.protobuf.Duration segment_duration = 1; - * * @return The segmentDuration. */ com.google.protobuf.Duration getSegmentDuration(); /** - * - * *
    * Duration of the segments in seconds. The default is `6s`. Note that
    * `segmentDuration` must be greater than or equal to
diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java
new file mode 100644
index 0000000..903d134
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java
@@ -0,0 +1,460 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/video/livestream/v1/service.proto
+
+package com.google.cloud.video.livestream.v1;
+
+public final class ServiceProto {
+  private ServiceProto() {}
+  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_video_livestream_v1_CreateChannelRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_GetChannelRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_StartChannelRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_StopChannelRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_CreateInputRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_ListInputsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_ListInputsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_GetInputRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_CreateEventRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_ListEventsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_ListEventsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_GetEventRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_OperationMetadata_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/video/livestream/v1/servi" +
+      "ce.proto\022 google.cloud.video.livestream." +
+      "v1\032\034google/api/annotations.proto\032\027google" +
+      "/api/client.proto\032\037google/api/field_beha" +
+      "vior.proto\032\031google/api/resource.proto\0320g" +
+      "oogle/cloud/video/livestream/v1/resource" +
+      "s.proto\032#google/longrunning/operations.p" +
+      "roto\032\033google/protobuf/empty.proto\032 googl" +
+      "e/protobuf/field_mask.proto\032\037google/prot" +
+      "obuf/timestamp.proto\"\277\001\n\024CreateChannelRe" +
+      "quest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!livestrea" +
+      "m.googleapis.com/Channel\022?\n\007channel\030\002 \001(" +
+      "\0132).google.cloud.video.livestream.v1.Cha" +
+      "nnelB\003\340A\002\022\027\n\nchannel_id\030\003 \001(\tB\003\340A\002\022\022\n\nre" +
+      "quest_id\030\004 \001(\t\"\231\001\n\023ListChannelsRequest\0229" +
+      "\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!livestream.googl" +
+      "eapis.com/Channel\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" +
+      "page_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010orde" +
+      "r_by\030\005 \001(\t\"\201\001\n\024ListChannelsResponse\022;\n\010c" +
+      "hannels\030\001 \003(\0132).google.cloud.video.lives" +
+      "tream.v1.Channel\022\027\n\017next_page_token\030\002 \001(" +
+      "\t\022\023\n\013unreachable\030\003 \003(\t\"L\n\021GetChannelRequ" +
+      "est\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!livestream.go" +
+      "ogleapis.com/Channel\"r\n\024DeleteChannelReq" +
+      "uest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!livestream.g" +
+      "oogleapis.com/Channel\022\022\n\nrequest_id\030\002 \001(" +
+      "\t\022\r\n\005force\030\003 \001(\010\"\234\001\n\024UpdateChannelReques" +
+      "t\022/\n\013update_mask\030\001 \001(\0132\032.google.protobuf" +
+      ".FieldMask\022?\n\007channel\030\002 \001(\0132).google.clo" +
+      "ud.video.livestream.v1.ChannelB\003\340A\002\022\022\n\nr" +
+      "equest_id\030\003 \001(\t\"b\n\023StartChannelRequest\0227" +
+      "\n\004name\030\001 \001(\tB)\340A\002\372A#\n!livestream.googlea" +
+      "pis.com/Channel\022\022\n\nrequest_id\030\002 \001(\t\"a\n\022S" +
+      "topChannelRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n" +
+      "!livestream.googleapis.com/Channel\022\022\n\nre" +
+      "quest_id\030\002 \001(\t\"\265\001\n\022CreateInputRequest\0227\n" +
+      "\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037livestream.google" +
+      "apis.com/Input\022;\n\005input\030\002 \001(\0132\'.google.c" +
+      "loud.video.livestream.v1.InputB\003\340A\002\022\025\n\010i" +
+      "nput_id\030\003 \001(\tB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"\225" +
+      "\001\n\021ListInputsRequest\0227\n\006parent\030\001 \001(\tB\'\340A" +
+      "\002\372A!\022\037livestream.googleapis.com/Input\022\021\n" +
+      "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006" +
+      "filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"{\n\022ListIn" +
+      "putsResponse\0227\n\006inputs\030\001 \003(\0132\'.google.cl" +
+      "oud.video.livestream.v1.Input\022\027\n\017next_pa" +
+      "ge_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"H\n\017G" +
+      "etInputRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037li" +
+      "vestream.googleapis.com/Input\"_\n\022DeleteI" +
+      "nputRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037lives" +
+      "tream.googleapis.com/Input\022\022\n\nrequest_id" +
+      "\030\002 \001(\t\"\226\001\n\022UpdateInputRequest\022/\n\013update_" +
+      "mask\030\001 \001(\0132\032.google.protobuf.FieldMask\022;" +
+      "\n\005input\030\002 \001(\0132\'.google.cloud.video.lives" +
+      "tream.v1.InputB\003\340A\002\022\022\n\nrequest_id\030\003 \001(\t\"" +
+      "\265\001\n\022CreateEventRequest\0227\n\006parent\030\001 \001(\tB\'" +
+      "\340A\002\372A!\022\037livestream.googleapis.com/Event\022" +
+      ";\n\005event\030\002 \001(\0132\'.google.cloud.video.live" +
+      "stream.v1.EventB\003\340A\002\022\025\n\010event_id\030\003 \001(\tB\003" +
+      "\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"\225\001\n\021ListEventsRe" +
+      "quest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037livestrea" +
+      "m.googleapis.com/Event\022\021\n\tpage_size\030\002 \001(" +
+      "\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n" +
+      "\010order_by\030\005 \001(\t\"{\n\022ListEventsResponse\0227\n" +
+      "\006events\030\001 \003(\0132\'.google.cloud.video.lives" +
+      "tream.v1.Event\022\027\n\017next_page_token\030\002 \001(\t\022" +
+      "\023\n\013unreachable\030\003 \003(\t\"H\n\017GetEventRequest\022" +
+      "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037livestream.google" +
+      "apis.com/Event\"_\n\022DeleteEventRequest\0225\n\004" +
+      "name\030\001 \001(\tB\'\340A\002\372A!\n\037livestream.googleapi" +
+      "s.com/Event\022\022\n\nrequest_id\030\002 \001(\t\"\032\n\030Chann" +
+      "elOperationResponse\"\343\001\n\021OperationMetadat" +
+      "a\0224\n\013create_time\030\001 \001(\0132\032.google.protobuf" +
+      ".TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.goog" +
+      "le.protobuf.TimestampB\003\340A\003\022\023\n\006target\030\003 \001" +
+      "(\tB\003\340A\003\022\021\n\004verb\030\004 \001(\tB\003\340A\003\022#\n\026requested_" +
+      "cancellation\030\005 \001(\010B\003\340A\003\022\030\n\013api_version\030\006" +
+      " \001(\tB\003\340A\0032\325\031\n\021LivestreamService\022\340\001\n\rCrea" +
+      "teChannel\0226.google.cloud.video.livestrea" +
+      "m.v1.CreateChannelRequest\032\035.google.longr" +
+      "unning.Operation\"x\202\323\344\223\0027\",/v1/{parent=pr" +
+      "ojects/*/locations/*}/channels:\007channel\332" +
+      "A\031parent,channel,channel_id\312A\034\n\007Channel\022" +
+      "\021OperationMetadata\022\274\001\n\014ListChannels\0225.go" +
+      "ogle.cloud.video.livestream.v1.ListChann" +
+      "elsRequest\0326.google.cloud.video.livestre" +
+      "am.v1.ListChannelsResponse\"=\202\323\344\223\002.\022,/v1/" +
+      "{parent=projects/*/locations/*}/channels" +
+      "\332A\006parent\022\251\001\n\nGetChannel\0223.google.cloud." +
+      "video.livestream.v1.GetChannelRequest\032)." +
+      "google.cloud.video.livestream.v1.Channel" +
+      "\";\202\323\344\223\002.\022,/v1/{name=projects/*/locations" +
+      "/*/channels/*}\332A\004name\022\320\001\n\rDeleteChannel\022" +
+      "6.google.cloud.video.livestream.v1.Delet" +
+      "eChannelRequest\032\035.google.longrunning.Ope" +
+      "ration\"h\202\323\344\223\002.*,/v1/{name=projects/*/loc" +
+      "ations/*/channels/*}\332A\004name\312A*\n\025google.p" +
+      "rotobuf.Empty\022\021OperationMetadata\022\342\001\n\rUpd" +
+      "ateChannel\0226.google.cloud.video.livestre" +
+      "am.v1.UpdateChannelRequest\032\035.google.long" +
+      "running.Operation\"z\202\323\344\223\002?24/v1/{channel." +
+      "name=projects/*/locations/*/channels/*}:" +
+      "\007channel\332A\023channel,update_mask\312A\034\n\007Chann" +
+      "el\022\021OperationMetadata\022\332\001\n\014StartChannel\0225" +
+      ".google.cloud.video.livestream.v1.StartC" +
+      "hannelRequest\032\035.google.longrunning.Opera" +
+      "tion\"t\202\323\344\223\0027\"2/v1/{name=projects/*/locat" +
+      "ions/*/channels/*}:start:\001*\332A\004name\312A-\n\030C" +
+      "hannelOperationResponse\022\021OperationMetada" +
+      "ta\022\327\001\n\013StopChannel\0224.google.cloud.video." +
+      "livestream.v1.StopChannelRequest\032\035.googl" +
+      "e.longrunning.Operation\"s\202\323\344\223\0026\"1/v1/{na" +
+      "me=projects/*/locations/*/channels/*}:st" +
+      "op:\001*\332A\004name\312A-\n\030ChannelOperationRespons" +
+      "e\022\021OperationMetadata\022\322\001\n\013CreateInput\0224.g" +
+      "oogle.cloud.video.livestream.v1.CreateIn" +
+      "putRequest\032\035.google.longrunning.Operatio" +
+      "n\"n\202\323\344\223\0023\"*/v1/{parent=projects/*/locati" +
+      "ons/*}/inputs:\005input\332A\025parent,input,inpu" +
+      "t_id\312A\032\n\005Input\022\021OperationMetadata\022\264\001\n\nLi" +
+      "stInputs\0223.google.cloud.video.livestream" +
+      ".v1.ListInputsRequest\0324.google.cloud.vid" +
+      "eo.livestream.v1.ListInputsResponse\";\202\323\344" +
+      "\223\002,\022*/v1/{parent=projects/*/locations/*}" +
+      "/inputs\332A\006parent\022\241\001\n\010GetInput\0221.google.c" +
+      "loud.video.livestream.v1.GetInputRequest" +
+      "\032\'.google.cloud.video.livestream.v1.Inpu" +
+      "t\"9\202\323\344\223\002,\022*/v1/{name=projects/*/location" +
+      "s/*/inputs/*}\332A\004name\022\312\001\n\013DeleteInput\0224.g" +
+      "oogle.cloud.video.livestream.v1.DeleteIn" +
+      "putRequest\032\035.google.longrunning.Operatio" +
+      "n\"f\202\323\344\223\002,**/v1/{name=projects/*/location" +
+      "s/*/inputs/*}\332A\004name\312A*\n\025google.protobuf" +
+      ".Empty\022\021OperationMetadata\022\324\001\n\013UpdateInpu" +
+      "t\0224.google.cloud.video.livestream.v1.Upd" +
+      "ateInputRequest\032\035.google.longrunning.Ope" +
+      "ration\"p\202\323\344\223\002920/v1/{input.name=projects" +
+      "/*/locations/*/inputs/*}:\005input\332A\021input," +
+      "update_mask\312A\032\n\005Input\022\021OperationMetadata" +
+      "\022\312\001\n\013CreateEvent\0224.google.cloud.video.li" +
+      "vestream.v1.CreateEventRequest\032\'.google." +
+      "cloud.video.livestream.v1.Event\"\\\202\323\344\223\002>\"" +
+      "5/v1/{parent=projects/*/locations/*/chan" +
+      "nels/*}/events:\005event\332A\025parent,event,eve" +
+      "nt_id\022\277\001\n\nListEvents\0223.google.cloud.vide" +
+      "o.livestream.v1.ListEventsRequest\0324.goog" +
+      "le.cloud.video.livestream.v1.ListEventsR" +
+      "esponse\"F\202\323\344\223\0027\0225/v1/{parent=projects/*/" +
+      "locations/*/channels/*}/events\332A\006parent\022" +
+      "\254\001\n\010GetEvent\0221.google.cloud.video.livest" +
+      "ream.v1.GetEventRequest\032\'.google.cloud.v" +
+      "ideo.livestream.v1.Event\"D\202\323\344\223\0027\0225/v1/{n" +
+      "ame=projects/*/locations/*/channels/*/ev" +
+      "ents/*}\332A\004name\022\241\001\n\013DeleteEvent\0224.google." +
+      "cloud.video.livestream.v1.DeleteEventReq" +
+      "uest\032\026.google.protobuf.Empty\"D\202\323\344\223\0027*5/v" +
+      "1/{name=projects/*/locations/*/channels/" +
+      "*/events/*}\332A\004name\032M\312A\031livestream.google" +
+      "apis.com\322A.https://www.googleapis.com/au" +
+      "th/cloud-platformB\357\001\n$com.google.cloud.v" +
+      "ideo.livestream.v1B\014ServiceProtoP\001ZJgoog" +
+      "le.golang.org/genproto/googleapis/cloud/" +
+      "video/livestream/v1;livestream\252\002 Google." +
+      "Cloud.Video.LiveStream.V1\312\002 Google\\Cloud" +
+      "\\Video\\LiveStream\\V1\352\002$Google::Cloud::Vi" +
+      "deo::LiveStream::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.api.ResourceProto.getDescriptor(),
+          com.google.cloud.video.livestream.v1.ResourcesProto.getDescriptor(),
+          com.google.longrunning.OperationsProto.getDescriptor(),
+          com.google.protobuf.EmptyProto.getDescriptor(),
+          com.google.protobuf.FieldMaskProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor,
+        new java.lang.String[] { "Parent", "Channel", "ChannelId", "RequestId", });
+    internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", });
+    internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor,
+        new java.lang.String[] { "Channels", "NextPageToken", "Unreachable", });
+    internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_video_livestream_v1_GetChannelRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor,
+        new java.lang.String[] { "Name", "RequestId", "Force", });
+    internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor,
+        new java.lang.String[] { "UpdateMask", "Channel", "RequestId", });
+    internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_video_livestream_v1_StartChannelRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor,
+        new java.lang.String[] { "Name", "RequestId", });
+    internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_video_livestream_v1_StopChannelRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor,
+        new java.lang.String[] { "Name", "RequestId", });
+    internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_video_livestream_v1_CreateInputRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor,
+        new java.lang.String[] { "Parent", "Input", "InputId", "RequestId", });
+    internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_video_livestream_v1_ListInputsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", });
+    internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_video_livestream_v1_ListInputsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor,
+        new java.lang.String[] { "Inputs", "NextPageToken", "Unreachable", });
+    internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_video_livestream_v1_GetInputRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor =
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor,
+        new java.lang.String[] { "Name", "RequestId", });
+    internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor =
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor,
+        new java.lang.String[] { "UpdateMask", "Input", "RequestId", });
+    internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor =
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_video_livestream_v1_CreateEventRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor,
+        new java.lang.String[] { "Parent", "Event", "EventId", "RequestId", });
+    internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_video_livestream_v1_ListEventsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", });
+    internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_video_livestream_v1_ListEventsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor,
+        new java.lang.String[] { "Events", "NextPageToken", "Unreachable", });
+    internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor =
+      getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_video_livestream_v1_GetEventRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor =
+      getDescriptor().getMessageTypes().get(18);
+    internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor,
+        new java.lang.String[] { "Name", "RequestId", });
+    internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor =
+      getDescriptor().getMessageTypes().get(19);
+    internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor,
+        new java.lang.String[] { });
+    internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor =
+      getDescriptor().getMessageTypes().get(20);
+    internal_static_google_cloud_video_livestream_v1_OperationMetadata_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor,
+        new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "RequestedCancellation", "ApiVersion", });
+    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.api.ResourceProto.resourceReference);
+    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.api.ResourceProto.getDescriptor();
+    com.google.cloud.video.livestream.v1.ResourcesProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheet.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheet.java
similarity index 76%
rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheet.java
rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheet.java
index dcae893..e5fbf1b 100644
--- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheet.java
+++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheet.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/video/livestream/v1/outputs.proto
 
 package com.google.cloud.video.livestream.v1;
 
 /**
- *
- *
  * 
  * Sprite sheet configuration.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.SpriteSheet} */ -public final class SpriteSheet extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SpriteSheet extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.SpriteSheet) SpriteSheetOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SpriteSheet.newBuilder() to construct. private SpriteSheet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SpriteSheet() { format_ = ""; filePrefix_ = ""; @@ -44,15 +26,16 @@ private SpriteSheet() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SpriteSheet(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SpriteSheet( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,67 +54,63 @@ private SpriteSheet( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - format_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + format_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filePrefix_ = s; - break; - } - case 24: - { - spriteWidthPixels_ = input.readInt32(); - break; - } - case 32: - { - spriteHeightPixels_ = input.readInt32(); - break; - } - case 40: - { - columnCount_ = input.readInt32(); - break; - } - case 48: - { - rowCount_ = input.readInt32(); - break; - } - case 58: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (interval_ != null) { - subBuilder = interval_.toBuilder(); - } - interval_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interval_); - interval_ = subBuilder.buildPartial(); - } - - break; + filePrefix_ = s; + break; + } + case 24: { + + spriteWidthPixels_ = input.readInt32(); + break; + } + case 32: { + + spriteHeightPixels_ = input.readInt32(); + break; + } + case 40: { + + columnCount_ = input.readInt32(); + break; + } + case 48: { + + rowCount_ = input.readInt32(); + break; + } + case 58: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (interval_ != null) { + subBuilder = interval_.toBuilder(); } - case 64: - { - quality_ = input.readInt32(); - break; + interval_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(interval_); + interval_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 64: { + + quality_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -139,33 +118,29 @@ private SpriteSheet( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_SpriteSheet_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SpriteSheet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.SpriteSheet.class, - com.google.cloud.video.livestream.v1.SpriteSheet.Builder.class); + com.google.cloud.video.livestream.v1.SpriteSheet.class, com.google.cloud.video.livestream.v1.SpriteSheet.Builder.class); } public static final int FORMAT_FIELD_NUMBER = 1; private volatile java.lang.Object format_; /** - * - * *
    * Format type. The default is `jpeg`.
    * Supported formats:
@@ -173,7 +148,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string format = 1; - * * @return The format. */ @java.lang.Override @@ -182,15 +156,14 @@ public java.lang.String getFormat() { 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(); format_ = s; return s; } } /** - * - * *
    * Format type. The default is `jpeg`.
    * Supported formats:
@@ -198,15 +171,16 @@ public java.lang.String getFormat() {
    * 
* * string format = 1; - * * @return The bytes for format. */ @java.lang.Override - public com.google.protobuf.ByteString getFormatBytes() { + public com.google.protobuf.ByteString + getFormatBytes() { java.lang.Object ref = format_; 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); format_ = b; return b; } else { @@ -217,8 +191,6 @@ public com.google.protobuf.ByteString getFormatBytes() { public static final int FILE_PREFIX_FIELD_NUMBER = 2; private volatile java.lang.Object filePrefix_; /** - * - * *
    * Required. File name prefix for the generated sprite sheets. If multiple
    * sprite sheets are added to the channel, each must have a unique file
@@ -228,7 +200,6 @@ public com.google.protobuf.ByteString getFormatBytes() {
    * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filePrefix. */ @java.lang.Override @@ -237,15 +208,14 @@ public java.lang.String getFilePrefix() { 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(); filePrefix_ = s; return s; } } /** - * - * *
    * Required. File name prefix for the generated sprite sheets. If multiple
    * sprite sheets are added to the channel, each must have a unique file
@@ -255,15 +225,16 @@ public java.lang.String getFilePrefix() {
    * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filePrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getFilePrefixBytes() { + public com.google.protobuf.ByteString + getFilePrefixBytes() { java.lang.Object ref = filePrefix_; 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); filePrefix_ = b; return b; } else { @@ -274,14 +245,11 @@ public com.google.protobuf.ByteString getFilePrefixBytes() { public static final int SPRITE_WIDTH_PIXELS_FIELD_NUMBER = 3; private int spriteWidthPixels_; /** - * - * *
    * Required. The width of the sprite in pixels. Must be an even integer.
    * 
* * int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The spriteWidthPixels. */ @java.lang.Override @@ -292,14 +260,11 @@ public int getSpriteWidthPixels() { public static final int SPRITE_HEIGHT_PIXELS_FIELD_NUMBER = 4; private int spriteHeightPixels_; /** - * - * *
    * Required. The height of the sprite in pixels. Must be an even integer.
    * 
* * int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The spriteHeightPixels. */ @java.lang.Override @@ -310,15 +275,12 @@ public int getSpriteHeightPixels() { public static final int COLUMN_COUNT_FIELD_NUMBER = 5; private int columnCount_; /** - * - * *
    * The maximum number of sprites per row in a sprite sheet. Valid range is
    * [1, 10] and the default value is 1.
    * 
* * int32 column_count = 5; - * * @return The columnCount. */ @java.lang.Override @@ -329,8 +291,6 @@ public int getColumnCount() { public static final int ROW_COUNT_FIELD_NUMBER = 6; private int rowCount_; /** - * - * *
    * The maximum number of rows per sprite sheet. When the sprite sheet is full,
    * a new sprite sheet is created. Valid range is [1, 10] and the default value
@@ -338,7 +298,6 @@ public int getColumnCount() {
    * 
* * int32 row_count = 6; - * * @return The rowCount. */ @java.lang.Override @@ -349,15 +308,12 @@ public int getRowCount() { public static final int INTERVAL_FIELD_NUMBER = 7; private com.google.protobuf.Duration interval_; /** - * - * *
    * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
    * the default value is `10s`.
    * 
* * .google.protobuf.Duration interval = 7; - * * @return Whether the interval field is set. */ @java.lang.Override @@ -365,15 +321,12 @@ public boolean hasInterval() { return interval_ != null; } /** - * - * *
    * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
    * the default value is `10s`.
    * 
* * .google.protobuf.Duration interval = 7; - * * @return The interval. */ @java.lang.Override @@ -381,8 +334,6 @@ public com.google.protobuf.Duration getInterval() { return interval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : interval_; } /** - * - * *
    * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
    * the default value is `10s`.
@@ -398,8 +349,6 @@ public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder() {
   public static final int QUALITY_FIELD_NUMBER = 8;
   private int quality_;
   /**
-   *
-   *
    * 
    * The quality of the generated sprite sheet. Enter a value between 1
    * and 100, where 1 is the lowest quality and 100 is the highest quality.
@@ -408,7 +357,6 @@ public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder() {
    * 
* * int32 quality = 8; - * * @return The quality. */ @java.lang.Override @@ -417,7 +365,6 @@ public int getQuality() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -429,7 +376,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(format_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, format_); } @@ -470,22 +418,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filePrefix_); } if (spriteWidthPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, spriteWidthPixels_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, spriteWidthPixels_); } if (spriteHeightPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, spriteHeightPixels_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, spriteHeightPixels_); } if (columnCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, columnCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, columnCount_); } if (rowCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, rowCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, rowCount_); } if (interval_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getInterval()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getInterval()); } if (quality_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, quality_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, quality_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -495,25 +449,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.video.livestream.v1.SpriteSheet)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.SpriteSheet other = - (com.google.cloud.video.livestream.v1.SpriteSheet) obj; - - if (!getFormat().equals(other.getFormat())) return false; - if (!getFilePrefix().equals(other.getFilePrefix())) return false; - if (getSpriteWidthPixels() != other.getSpriteWidthPixels()) return false; - if (getSpriteHeightPixels() != other.getSpriteHeightPixels()) return false; - if (getColumnCount() != other.getColumnCount()) return false; - if (getRowCount() != other.getRowCount()) return false; + com.google.cloud.video.livestream.v1.SpriteSheet other = (com.google.cloud.video.livestream.v1.SpriteSheet) obj; + + if (!getFormat() + .equals(other.getFormat())) return false; + if (!getFilePrefix() + .equals(other.getFilePrefix())) return false; + if (getSpriteWidthPixels() + != other.getSpriteWidthPixels()) return false; + if (getSpriteHeightPixels() + != other.getSpriteHeightPixels()) return false; + if (getColumnCount() + != other.getColumnCount()) return false; + if (getRowCount() + != other.getRowCount()) return false; if (hasInterval() != other.hasInterval()) return false; if (hasInterval()) { - if (!getInterval().equals(other.getInterval())) return false; + if (!getInterval() + .equals(other.getInterval())) return false; } - if (getQuality() != other.getQuality()) return false; + if (getQuality() + != other.getQuality()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -548,127 +509,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.SpriteSheet parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.SpriteSheet parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.SpriteSheet parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.SpriteSheet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Sprite sheet configuration.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.SpriteSheet} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.SpriteSheet) com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_SpriteSheet_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SpriteSheet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.SpriteSheet.class, - com.google.cloud.video.livestream.v1.SpriteSheet.Builder.class); + com.google.cloud.video.livestream.v1.SpriteSheet.class, com.google.cloud.video.livestream.v1.SpriteSheet.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.SpriteSheet.newBuilder() @@ -676,15 +628,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -712,9 +665,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor; } @java.lang.Override @@ -733,8 +686,7 @@ public com.google.cloud.video.livestream.v1.SpriteSheet build() { @java.lang.Override public com.google.cloud.video.livestream.v1.SpriteSheet buildPartial() { - com.google.cloud.video.livestream.v1.SpriteSheet result = - new com.google.cloud.video.livestream.v1.SpriteSheet(this); + com.google.cloud.video.livestream.v1.SpriteSheet result = new com.google.cloud.video.livestream.v1.SpriteSheet(this); result.format_ = format_; result.filePrefix_ = filePrefix_; result.spriteWidthPixels_ = spriteWidthPixels_; @@ -755,39 +707,38 @@ public com.google.cloud.video.livestream.v1.SpriteSheet buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.SpriteSheet) { - return mergeFrom((com.google.cloud.video.livestream.v1.SpriteSheet) other); + return mergeFrom((com.google.cloud.video.livestream.v1.SpriteSheet)other); } else { super.mergeFrom(other); return this; @@ -795,8 +746,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.SpriteSheet other) { - if (other == com.google.cloud.video.livestream.v1.SpriteSheet.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.SpriteSheet.getDefaultInstance()) return this; if (!other.getFormat().isEmpty()) { format_ = other.format_; onChanged(); @@ -854,8 +804,6 @@ public Builder mergeFrom( private java.lang.Object format_ = ""; /** - * - * *
      * Format type. The default is `jpeg`.
      * Supported formats:
@@ -863,13 +811,13 @@ public Builder mergeFrom(
      * 
* * string format = 1; - * * @return The format. */ public java.lang.String getFormat() { java.lang.Object ref = format_; 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(); format_ = s; return s; @@ -878,8 +826,6 @@ public java.lang.String getFormat() { } } /** - * - * *
      * Format type. The default is `jpeg`.
      * Supported formats:
@@ -887,14 +833,15 @@ public java.lang.String getFormat() {
      * 
* * string format = 1; - * * @return The bytes for format. */ - public com.google.protobuf.ByteString getFormatBytes() { + public com.google.protobuf.ByteString + getFormatBytes() { java.lang.Object ref = format_; 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); format_ = b; return b; } else { @@ -902,8 +849,6 @@ public com.google.protobuf.ByteString getFormatBytes() { } } /** - * - * *
      * Format type. The default is `jpeg`.
      * Supported formats:
@@ -911,22 +856,20 @@ public com.google.protobuf.ByteString getFormatBytes() {
      * 
* * string format = 1; - * * @param value The format to set. * @return This builder for chaining. */ - public Builder setFormat(java.lang.String value) { + public Builder setFormat( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + format_ = value; onChanged(); return this; } /** - * - * *
      * Format type. The default is `jpeg`.
      * Supported formats:
@@ -934,18 +877,15 @@ public Builder setFormat(java.lang.String value) {
      * 
* * string format = 1; - * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = getDefaultInstance().getFormat(); onChanged(); return this; } /** - * - * *
      * Format type. The default is `jpeg`.
      * Supported formats:
@@ -953,16 +893,16 @@ public Builder clearFormat() {
      * 
* * string format = 1; - * * @param value The bytes for format to set. * @return This builder for chaining. */ - public Builder setFormatBytes(com.google.protobuf.ByteString value) { + public Builder setFormatBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + format_ = value; onChanged(); return this; @@ -970,8 +910,6 @@ public Builder setFormatBytes(com.google.protobuf.ByteString value) { private java.lang.Object filePrefix_ = ""; /** - * - * *
      * Required. File name prefix for the generated sprite sheets. If multiple
      * sprite sheets are added to the channel, each must have a unique file
@@ -981,13 +919,13 @@ public Builder setFormatBytes(com.google.protobuf.ByteString value) {
      * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filePrefix. */ public java.lang.String getFilePrefix() { java.lang.Object ref = filePrefix_; 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(); filePrefix_ = s; return s; @@ -996,8 +934,6 @@ public java.lang.String getFilePrefix() { } } /** - * - * *
      * Required. File name prefix for the generated sprite sheets. If multiple
      * sprite sheets are added to the channel, each must have a unique file
@@ -1007,14 +943,15 @@ public java.lang.String getFilePrefix() {
      * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filePrefix. */ - public com.google.protobuf.ByteString getFilePrefixBytes() { + public com.google.protobuf.ByteString + getFilePrefixBytes() { java.lang.Object ref = filePrefix_; 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); filePrefix_ = b; return b; } else { @@ -1022,8 +959,6 @@ public com.google.protobuf.ByteString getFilePrefixBytes() { } } /** - * - * *
      * Required. File name prefix for the generated sprite sheets. If multiple
      * sprite sheets are added to the channel, each must have a unique file
@@ -1033,22 +968,20 @@ public com.google.protobuf.ByteString getFilePrefixBytes() {
      * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The filePrefix to set. * @return This builder for chaining. */ - public Builder setFilePrefix(java.lang.String value) { + public Builder setFilePrefix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filePrefix_ = value; onChanged(); return this; } /** - * - * *
      * Required. File name prefix for the generated sprite sheets. If multiple
      * sprite sheets are added to the channel, each must have a unique file
@@ -1058,18 +991,15 @@ public Builder setFilePrefix(java.lang.String value) {
      * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilePrefix() { - + filePrefix_ = getDefaultInstance().getFilePrefix(); onChanged(); return this; } /** - * - * *
      * Required. File name prefix for the generated sprite sheets. If multiple
      * sprite sheets are added to the channel, each must have a unique file
@@ -1079,31 +1009,28 @@ public Builder clearFilePrefix() {
      * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for filePrefix to set. * @return This builder for chaining. */ - public Builder setFilePrefixBytes(com.google.protobuf.ByteString value) { + public Builder setFilePrefixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filePrefix_ = value; onChanged(); return this; } - private int spriteWidthPixels_; + private int spriteWidthPixels_ ; /** - * - * *
      * Required. The width of the sprite in pixels. Must be an even integer.
      * 
* * int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The spriteWidthPixels. */ @java.lang.Override @@ -1111,51 +1038,42 @@ public int getSpriteWidthPixels() { return spriteWidthPixels_; } /** - * - * *
      * Required. The width of the sprite in pixels. Must be an even integer.
      * 
* * int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The spriteWidthPixels to set. * @return This builder for chaining. */ public Builder setSpriteWidthPixels(int value) { - + spriteWidthPixels_ = value; onChanged(); return this; } /** - * - * *
      * Required. The width of the sprite in pixels. Must be an even integer.
      * 
* * int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSpriteWidthPixels() { - + spriteWidthPixels_ = 0; onChanged(); return this; } - private int spriteHeightPixels_; + private int spriteHeightPixels_ ; /** - * - * *
      * Required. The height of the sprite in pixels. Must be an even integer.
      * 
* * int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The spriteHeightPixels. */ @java.lang.Override @@ -1163,52 +1081,43 @@ public int getSpriteHeightPixels() { return spriteHeightPixels_; } /** - * - * *
      * Required. The height of the sprite in pixels. Must be an even integer.
      * 
* * int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The spriteHeightPixels to set. * @return This builder for chaining. */ public Builder setSpriteHeightPixels(int value) { - + spriteHeightPixels_ = value; onChanged(); return this; } /** - * - * *
      * Required. The height of the sprite in pixels. Must be an even integer.
      * 
* * int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSpriteHeightPixels() { - + spriteHeightPixels_ = 0; onChanged(); return this; } - private int columnCount_; + private int columnCount_ ; /** - * - * *
      * The maximum number of sprites per row in a sprite sheet. Valid range is
      * [1, 10] and the default value is 1.
      * 
* * int32 column_count = 5; - * * @return The columnCount. */ @java.lang.Override @@ -1216,47 +1125,39 @@ public int getColumnCount() { return columnCount_; } /** - * - * *
      * The maximum number of sprites per row in a sprite sheet. Valid range is
      * [1, 10] and the default value is 1.
      * 
* * int32 column_count = 5; - * * @param value The columnCount to set. * @return This builder for chaining. */ public Builder setColumnCount(int value) { - + columnCount_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of sprites per row in a sprite sheet. Valid range is
      * [1, 10] and the default value is 1.
      * 
* * int32 column_count = 5; - * * @return This builder for chaining. */ public Builder clearColumnCount() { - + columnCount_ = 0; onChanged(); return this; } - private int rowCount_; + private int rowCount_ ; /** - * - * *
      * The maximum number of rows per sprite sheet. When the sprite sheet is full,
      * a new sprite sheet is created. Valid range is [1, 10] and the default value
@@ -1264,7 +1165,6 @@ public Builder clearColumnCount() {
      * 
* * int32 row_count = 6; - * * @return The rowCount. */ @java.lang.Override @@ -1272,8 +1172,6 @@ public int getRowCount() { return rowCount_; } /** - * - * *
      * The maximum number of rows per sprite sheet. When the sprite sheet is full,
      * a new sprite sheet is created. Valid range is [1, 10] and the default value
@@ -1281,19 +1179,16 @@ public int getRowCount() {
      * 
* * int32 row_count = 6; - * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(int value) { - + rowCount_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of rows per sprite sheet. When the sprite sheet is full,
      * a new sprite sheet is created. Valid range is [1, 10] and the default value
@@ -1301,11 +1196,10 @@ public Builder setRowCount(int value) {
      * 
* * int32 row_count = 6; - * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0; onChanged(); return this; @@ -1313,35 +1207,26 @@ public Builder clearRowCount() { private com.google.protobuf.Duration interval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - intervalBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> intervalBuilder_; /** - * - * *
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
      * 
* * .google.protobuf.Duration interval = 7; - * * @return Whether the interval field is set. */ public boolean hasInterval() { return intervalBuilder_ != null || interval_ != null; } /** - * - * *
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
      * 
* * .google.protobuf.Duration interval = 7; - * * @return The interval. */ public com.google.protobuf.Duration getInterval() { @@ -1352,8 +1237,6 @@ public com.google.protobuf.Duration getInterval() { } } /** - * - * *
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
@@ -1375,8 +1258,6 @@ public Builder setInterval(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
@@ -1384,7 +1265,8 @@ public Builder setInterval(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration interval = 7;
      */
-    public Builder setInterval(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setInterval(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (intervalBuilder_ == null) {
         interval_ = builderForValue.build();
         onChanged();
@@ -1395,8 +1277,6 @@ public Builder setInterval(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
@@ -1408,7 +1288,7 @@ public Builder mergeInterval(com.google.protobuf.Duration value) {
       if (intervalBuilder_ == null) {
         if (interval_ != null) {
           interval_ =
-              com.google.protobuf.Duration.newBuilder(interval_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(interval_).mergeFrom(value).buildPartial();
         } else {
           interval_ = value;
         }
@@ -1420,8 +1300,6 @@ public Builder mergeInterval(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
@@ -1441,8 +1319,6 @@ public Builder clearInterval() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
@@ -1451,13 +1327,11 @@ public Builder clearInterval() {
      * .google.protobuf.Duration interval = 7;
      */
     public com.google.protobuf.Duration.Builder getIntervalBuilder() {
-
+      
       onChanged();
       return getIntervalFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
@@ -1469,12 +1343,11 @@ public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder() {
       if (intervalBuilder_ != null) {
         return intervalBuilder_.getMessageOrBuilder();
       } else {
-        return interval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : interval_;
+        return interval_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : interval_;
       }
     }
     /**
-     *
-     *
      * 
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
@@ -1483,26 +1356,21 @@ public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder() {
      * .google.protobuf.Duration interval = 7;
      */
     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> 
         getIntervalFieldBuilder() {
       if (intervalBuilder_ == null) {
-        intervalBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getInterval(), getParentForChildren(), isClean());
+        intervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getInterval(),
+                getParentForChildren(),
+                isClean());
         interval_ = null;
       }
       return intervalBuilder_;
     }
 
-    private int quality_;
+    private int quality_ ;
     /**
-     *
-     *
      * 
      * The quality of the generated sprite sheet. Enter a value between 1
      * and 100, where 1 is the lowest quality and 100 is the highest quality.
@@ -1511,7 +1379,6 @@ public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder() {
      * 
* * int32 quality = 8; - * * @return The quality. */ @java.lang.Override @@ -1519,8 +1386,6 @@ public int getQuality() { return quality_; } /** - * - * *
      * The quality of the generated sprite sheet. Enter a value between 1
      * and 100, where 1 is the lowest quality and 100 is the highest quality.
@@ -1529,19 +1394,16 @@ public int getQuality() {
      * 
* * int32 quality = 8; - * * @param value The quality to set. * @return This builder for chaining. */ public Builder setQuality(int value) { - + quality_ = value; onChanged(); return this; } /** - * - * *
      * The quality of the generated sprite sheet. Enter a value between 1
      * and 100, where 1 is the lowest quality and 100 is the highest quality.
@@ -1550,18 +1412,17 @@ public Builder setQuality(int value) {
      * 
* * int32 quality = 8; - * * @return This builder for chaining. */ public Builder clearQuality() { - + quality_ = 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); } @@ -1571,12 +1432,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.SpriteSheet) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.SpriteSheet) private static final com.google.cloud.video.livestream.v1.SpriteSheet DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.SpriteSheet(); } @@ -1585,16 +1446,16 @@ public static com.google.cloud.video.livestream.v1.SpriteSheet getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpriteSheet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpriteSheet(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpriteSheet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpriteSheet(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1609,4 +1470,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.SpriteSheet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheetOrBuilder.java similarity index 81% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheetOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheetOrBuilder.java index a4e21b6..0c3f01d 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheetOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheetOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; -public interface SpriteSheetOrBuilder - extends +public interface SpriteSheetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.SpriteSheet) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Format type. The default is `jpeg`.
    * Supported formats:
@@ -33,13 +15,10 @@ public interface SpriteSheetOrBuilder
    * 
* * string format = 1; - * * @return The format. */ java.lang.String getFormat(); /** - * - * *
    * Format type. The default is `jpeg`.
    * Supported formats:
@@ -47,14 +26,12 @@ public interface SpriteSheetOrBuilder
    * 
* * string format = 1; - * * @return The bytes for format. */ - com.google.protobuf.ByteString getFormatBytes(); + com.google.protobuf.ByteString + getFormatBytes(); /** - * - * *
    * Required. File name prefix for the generated sprite sheets. If multiple
    * sprite sheets are added to the channel, each must have a unique file
@@ -64,13 +41,10 @@ public interface SpriteSheetOrBuilder
    * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filePrefix. */ java.lang.String getFilePrefix(); /** - * - * *
    * Required. File name prefix for the generated sprite sheets. If multiple
    * sprite sheets are added to the channel, each must have a unique file
@@ -80,54 +54,43 @@ public interface SpriteSheetOrBuilder
    * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filePrefix. */ - com.google.protobuf.ByteString getFilePrefixBytes(); + com.google.protobuf.ByteString + getFilePrefixBytes(); /** - * - * *
    * Required. The width of the sprite in pixels. Must be an even integer.
    * 
* * int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The spriteWidthPixels. */ int getSpriteWidthPixels(); /** - * - * *
    * Required. The height of the sprite in pixels. Must be an even integer.
    * 
* * int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The spriteHeightPixels. */ int getSpriteHeightPixels(); /** - * - * *
    * The maximum number of sprites per row in a sprite sheet. Valid range is
    * [1, 10] and the default value is 1.
    * 
* * int32 column_count = 5; - * * @return The columnCount. */ int getColumnCount(); /** - * - * *
    * The maximum number of rows per sprite sheet. When the sprite sheet is full,
    * a new sprite sheet is created. Valid range is [1, 10] and the default value
@@ -135,40 +98,31 @@ public interface SpriteSheetOrBuilder
    * 
* * int32 row_count = 6; - * * @return The rowCount. */ int getRowCount(); /** - * - * *
    * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
    * the default value is `10s`.
    * 
* * .google.protobuf.Duration interval = 7; - * * @return Whether the interval field is set. */ boolean hasInterval(); /** - * - * *
    * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
    * the default value is `10s`.
    * 
* * .google.protobuf.Duration interval = 7; - * * @return The interval. */ com.google.protobuf.Duration getInterval(); /** - * - * *
    * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
    * the default value is `10s`.
@@ -179,8 +133,6 @@ public interface SpriteSheetOrBuilder
   com.google.protobuf.DurationOrBuilder getIntervalOrBuilder();
 
   /**
-   *
-   *
    * 
    * The quality of the generated sprite sheet. Enter a value between 1
    * and 100, where 1 is the lowest quality and 100 is the highest quality.
@@ -189,7 +141,6 @@ public interface SpriteSheetOrBuilder
    * 
* * int32 quality = 8; - * * @return The quality. */ int getQuality(); diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequest.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequest.java similarity index 72% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequest.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequest.java index 1b22eaa..10dbb72 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Request message for "LivestreamService.StartChannel".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.StartChannelRequest} */ -public final class StartChannelRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StartChannelRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.StartChannelRequest) StartChannelRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StartChannelRequest.newBuilder() to construct. private StartChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StartChannelRequest() { name_ = ""; requestId_ = ""; @@ -44,15 +26,16 @@ private StartChannelRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StartChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StartChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private StartChannelRequest( 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(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,42 +80,35 @@ private StartChannelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_StartChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StartChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.StartChannelRequest.class, - com.google.cloud.video.livestream.v1.StartChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.StartChannelRequest.class, com.google.cloud.video.livestream.v1.StartChannelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -143,32 +117,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -179,8 +151,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -196,7 +166,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2; - * * @return The requestId. */ @java.lang.Override @@ -205,15 +174,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -229,15 +197,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -246,7 +215,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,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_); } @@ -288,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.video.livestream.v1.StartChannelRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.StartChannelRequest other = - (com.google.cloud.video.livestream.v1.StartChannelRequest) obj; + com.google.cloud.video.livestream.v1.StartChannelRequest other = (com.google.cloud.video.livestream.v1.StartChannelRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -319,127 +289,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.StartChannelRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.StartChannelRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.StartChannelRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.StartChannelRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.StartChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for "LivestreamService.StartChannel".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.StartChannelRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.StartChannelRequest) com.google.cloud.video.livestream.v1.StartChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_StartChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StartChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.StartChannelRequest.class, - com.google.cloud.video.livestream.v1.StartChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.StartChannelRequest.class, com.google.cloud.video.livestream.v1.StartChannelRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.StartChannelRequest.newBuilder() @@ -447,15 +407,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(); @@ -467,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor; } @java.lang.Override @@ -488,8 +449,7 @@ public com.google.cloud.video.livestream.v1.StartChannelRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.StartChannelRequest buildPartial() { - com.google.cloud.video.livestream.v1.StartChannelRequest result = - new com.google.cloud.video.livestream.v1.StartChannelRequest(this); + com.google.cloud.video.livestream.v1.StartChannelRequest result = new com.google.cloud.video.livestream.v1.StartChannelRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -500,39 +460,38 @@ public com.google.cloud.video.livestream.v1.StartChannelRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.StartChannelRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.StartChannelRequest) other); + return mergeFrom((com.google.cloud.video.livestream.v1.StartChannelRequest)other); } else { super.mergeFrom(other); return this; @@ -540,8 +499,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.StartChannelRequest other) { - if (other == com.google.cloud.video.livestream.v1.StartChannelRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.StartChannelRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -569,8 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.StartChannelRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.StartChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -582,23 +539,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -607,24 +560,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -632,70 +582,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -703,8 +640,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -720,13 +655,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -735,8 +670,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -752,14 +685,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -767,8 +701,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -784,22 +716,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -815,18 +745,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -842,23 +769,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -868,12 +795,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.StartChannelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.StartChannelRequest) private static final com.google.cloud.video.livestream.v1.StartChannelRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.StartChannelRequest(); } @@ -882,16 +809,16 @@ public static com.google.cloud.video.livestream.v1.StartChannelRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StartChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -906,4 +833,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.StartChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequestOrBuilder.java index 7fed817..476e794 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface StartChannelRequestOrBuilder - extends +public interface StartChannelRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.StartChannelRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -72,13 +45,10 @@ public interface StartChannelRequestOrBuilder
    * 
* * string request_id = 2; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -94,8 +64,8 @@ public interface StartChannelRequestOrBuilder
    * 
* * string request_id = 2; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequest.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequest.java similarity index 72% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequest.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequest.java index c0cc4c4..b85bd89 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Request message for "LivestreamService.StopChannel".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.StopChannelRequest} */ -public final class StopChannelRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StopChannelRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.StopChannelRequest) StopChannelRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StopChannelRequest.newBuilder() to construct. private StopChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StopChannelRequest() { name_ = ""; requestId_ = ""; @@ -44,15 +26,16 @@ private StopChannelRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StopChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StopChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private StopChannelRequest( 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(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,42 +80,35 @@ private StopChannelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_StopChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StopChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.StopChannelRequest.class, - com.google.cloud.video.livestream.v1.StopChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.StopChannelRequest.class, com.google.cloud.video.livestream.v1.StopChannelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -143,32 +117,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -179,8 +151,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -196,7 +166,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2; - * * @return The requestId. */ @java.lang.Override @@ -205,15 +174,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -229,15 +197,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -246,7 +215,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,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_); } @@ -288,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.video.livestream.v1.StopChannelRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.StopChannelRequest other = - (com.google.cloud.video.livestream.v1.StopChannelRequest) obj; + com.google.cloud.video.livestream.v1.StopChannelRequest other = (com.google.cloud.video.livestream.v1.StopChannelRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -319,127 +289,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.StopChannelRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.StopChannelRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.StopChannelRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.StopChannelRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.StopChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for "LivestreamService.StopChannel".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.StopChannelRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.StopChannelRequest) com.google.cloud.video.livestream.v1.StopChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_StopChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StopChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.StopChannelRequest.class, - com.google.cloud.video.livestream.v1.StopChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.StopChannelRequest.class, com.google.cloud.video.livestream.v1.StopChannelRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.StopChannelRequest.newBuilder() @@ -447,15 +407,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(); @@ -467,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor; } @java.lang.Override @@ -488,8 +449,7 @@ public com.google.cloud.video.livestream.v1.StopChannelRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.StopChannelRequest buildPartial() { - com.google.cloud.video.livestream.v1.StopChannelRequest result = - new com.google.cloud.video.livestream.v1.StopChannelRequest(this); + com.google.cloud.video.livestream.v1.StopChannelRequest result = new com.google.cloud.video.livestream.v1.StopChannelRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -500,39 +460,38 @@ public com.google.cloud.video.livestream.v1.StopChannelRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.StopChannelRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.StopChannelRequest) other); + return mergeFrom((com.google.cloud.video.livestream.v1.StopChannelRequest)other); } else { super.mergeFrom(other); return this; @@ -540,8 +499,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.StopChannelRequest other) { - if (other == com.google.cloud.video.livestream.v1.StopChannelRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.StopChannelRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -569,8 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.StopChannelRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.StopChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -582,23 +539,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -607,24 +560,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -632,70 +582,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -703,8 +640,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -720,13 +655,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -735,8 +670,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -752,14 +685,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -767,8 +701,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -784,22 +716,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -815,18 +745,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -842,23 +769,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -868,12 +795,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.StopChannelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.StopChannelRequest) private static final com.google.cloud.video.livestream.v1.StopChannelRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.StopChannelRequest(); } @@ -882,16 +809,16 @@ public static com.google.cloud.video.livestream.v1.StopChannelRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StopChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StopChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StopChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StopChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -906,4 +833,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.StopChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequestOrBuilder.java index 4f2b0b9..457bd62 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface StopChannelRequestOrBuilder - extends +public interface StopChannelRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.StopChannelRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -72,13 +45,10 @@ public interface StopChannelRequestOrBuilder
    * 
* * string request_id = 2; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -94,8 +64,8 @@ public interface StopChannelRequestOrBuilder
    * 
* * string request_id = 2; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStream.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStream.java similarity index 69% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStream.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStream.java index 3bba2fb..aa8dd21 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStream.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStream.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Encoding of a text stream. For example, closed captions or subtitles.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.TextStream} */ -public final class TextStream extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TextStream extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.TextStream) TextStreamOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TextStream.newBuilder() to construct. private TextStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TextStream() { codec_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TextStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TextStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private TextStream( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - codec_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + codec_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private TextStream( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_TextStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_TextStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_TextStream_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_TextStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.TextStream.class, - com.google.cloud.video.livestream.v1.TextStream.Builder.class); + com.google.cloud.video.livestream.v1.TextStream.class, com.google.cloud.video.livestream.v1.TextStream.Builder.class); } public static final int CODEC_FIELD_NUMBER = 1; private volatile java.lang.Object codec_; /** - * - * *
    * Required. The codec for this text stream.
    * Supported text codecs:
@@ -126,7 +104,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The codec. */ @java.lang.Override @@ -135,15 +112,14 @@ public java.lang.String getCodec() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; } } /** - * - * *
    * Required. The codec for this text stream.
    * Supported text codecs:
@@ -152,15 +128,16 @@ public java.lang.String getCodec() {
    * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for codec. */ @java.lang.Override - public com.google.protobuf.ByteString getCodecBytes() { + public com.google.protobuf.ByteString + getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); codec_ = b; return b; } else { @@ -169,7 +146,6 @@ public com.google.protobuf.ByteString getCodecBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, codec_); } @@ -205,15 +182,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.TextStream)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.TextStream other = - (com.google.cloud.video.livestream.v1.TextStream) obj; + com.google.cloud.video.livestream.v1.TextStream other = (com.google.cloud.video.livestream.v1.TextStream) obj; - if (!getCodec().equals(other.getCodec())) return false; + if (!getCodec() + .equals(other.getCodec())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +209,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.TextStream parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.TextStream parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.TextStream parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.TextStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.TextStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.TextStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.TextStream parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.TextStream parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.TextStream parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.TextStream parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.TextStream parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.TextStream parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.TextStream parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.TextStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.TextStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.TextStream} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.TextStream) com.google.cloud.video.livestream.v1.TextStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_TextStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_TextStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_TextStream_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_TextStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.TextStream.class, - com.google.cloud.video.livestream.v1.TextStream.Builder.class); + com.google.cloud.video.livestream.v1.TextStream.class, com.google.cloud.video.livestream.v1.TextStream.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.TextStream.newBuilder() @@ -360,15 +328,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +347,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_TextStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_TextStream_descriptor; } @java.lang.Override @@ -399,8 +368,7 @@ public com.google.cloud.video.livestream.v1.TextStream build() { @java.lang.Override public com.google.cloud.video.livestream.v1.TextStream buildPartial() { - com.google.cloud.video.livestream.v1.TextStream result = - new com.google.cloud.video.livestream.v1.TextStream(this); + com.google.cloud.video.livestream.v1.TextStream result = new com.google.cloud.video.livestream.v1.TextStream(this); result.codec_ = codec_; onBuilt(); return result; @@ -410,39 +378,38 @@ public com.google.cloud.video.livestream.v1.TextStream buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.TextStream) { - return mergeFrom((com.google.cloud.video.livestream.v1.TextStream) other); + return mergeFrom((com.google.cloud.video.livestream.v1.TextStream)other); } else { super.mergeFrom(other); return this; @@ -450,8 +417,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.TextStream other) { - if (other == com.google.cloud.video.livestream.v1.TextStream.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.TextStream.getDefaultInstance()) return this; if (!other.getCodec().isEmpty()) { codec_ = other.codec_; onChanged(); @@ -487,8 +453,6 @@ public Builder mergeFrom( private java.lang.Object codec_ = ""; /** - * - * *
      * Required. The codec for this text stream.
      * Supported text codecs:
@@ -497,13 +461,13 @@ public Builder mergeFrom(
      * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The codec. */ public java.lang.String getCodec() { java.lang.Object ref = codec_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; @@ -512,8 +476,6 @@ public java.lang.String getCodec() { } } /** - * - * *
      * Required. The codec for this text stream.
      * Supported text codecs:
@@ -522,14 +484,15 @@ public java.lang.String getCodec() {
      * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for codec. */ - public com.google.protobuf.ByteString getCodecBytes() { + public com.google.protobuf.ByteString + getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); codec_ = b; return b; } else { @@ -537,8 +500,6 @@ public com.google.protobuf.ByteString getCodecBytes() { } } /** - * - * *
      * Required. The codec for this text stream.
      * Supported text codecs:
@@ -547,22 +508,20 @@ public com.google.protobuf.ByteString getCodecBytes() {
      * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The codec to set. * @return This builder for chaining. */ - public Builder setCodec(java.lang.String value) { + public Builder setCodec( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + codec_ = value; onChanged(); return this; } /** - * - * *
      * Required. The codec for this text stream.
      * Supported text codecs:
@@ -571,18 +530,15 @@ public Builder setCodec(java.lang.String value) {
      * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCodec() { - + codec_ = getDefaultInstance().getCodec(); onChanged(); return this; } /** - * - * *
      * Required. The codec for this text stream.
      * Supported text codecs:
@@ -591,23 +547,23 @@ public Builder clearCodec() {
      * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for codec to set. * @return This builder for chaining. */ - public Builder setCodecBytes(com.google.protobuf.ByteString value) { + public Builder setCodecBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + codec_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +573,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.TextStream) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.TextStream) private static final com.google.cloud.video.livestream.v1.TextStream DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.TextStream(); } @@ -631,16 +587,16 @@ public static com.google.cloud.video.livestream.v1.TextStream getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +611,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.TextStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStreamOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStreamOrBuilder.java similarity index 53% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStreamOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStreamOrBuilder.java index 43b98cc..62c56e7 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStreamOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStreamOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; -public interface TextStreamOrBuilder - extends +public interface TextStreamOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.TextStream) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The codec for this text stream.
    * Supported text codecs:
@@ -34,13 +16,10 @@ public interface TextStreamOrBuilder
    * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The codec. */ java.lang.String getCodec(); /** - * - * *
    * Required. The codec for this text stream.
    * Supported text codecs:
@@ -49,8 +28,8 @@ public interface TextStreamOrBuilder
    * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for codec. */ - com.google.protobuf.ByteString getCodecBytes(); + com.google.protobuf.ByteString + getCodecBytes(); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequest.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequest.java similarity index 77% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequest.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequest.java index 2a66536..c02337d 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Request message for "LivestreamService.UpdateChannel".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.UpdateChannelRequest} */ -public final class UpdateChannelRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateChannelRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.UpdateChannelRequest) UpdateChannelRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateChannelRequest.newBuilder() to construct. private UpdateChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateChannelRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,51 +53,45 @@ private UpdateChannelRequest( case 0: done = true; break; - case 10: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 18: - { - com.google.cloud.video.livestream.v1.Channel.Builder subBuilder = null; - if (channel_ != null) { - subBuilder = channel_.toBuilder(); - } - channel_ = - input.readMessage( - com.google.cloud.video.livestream.v1.Channel.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(channel_); - channel_ = subBuilder.buildPartial(); - } - - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; + break; + } + case 18: { + com.google.cloud.video.livestream.v1.Channel.Builder subBuilder = null; + if (channel_ != null) { + subBuilder = channel_.toBuilder(); + } + channel_ = input.readMessage(com.google.cloud.video.livestream.v1.Channel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(channel_); + channel_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,33 +99,29 @@ private UpdateChannelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.UpdateChannelRequest.class, - com.google.cloud.video.livestream.v1.UpdateChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.UpdateChannelRequest.class, com.google.cloud.video.livestream.v1.UpdateChannelRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the Channel
    * resource by the update. You can only update the following fields:
@@ -163,7 +136,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -171,8 +143,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the Channel
    * resource by the update. You can only update the following fields:
@@ -187,7 +157,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return The updateMask. */ @java.lang.Override @@ -195,8 +164,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the Channel
    * resource by the update. You can only update the following fields:
@@ -220,16 +187,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int CHANNEL_FIELD_NUMBER = 2;
   private com.google.cloud.video.livestream.v1.Channel channel_;
   /**
-   *
-   *
    * 
    * Required. The channel resource to be updated.
    * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the channel field is set. */ @java.lang.Override @@ -237,34 +199,23 @@ public boolean hasChannel() { return channel_ != null; } /** - * - * *
    * Required. The channel resource to be updated.
    * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The channel. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Channel getChannel() { - return channel_ == null - ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() - : channel_; + return channel_ == null ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() : channel_; } /** - * - * *
    * Required. The channel resource to be updated.
    * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder() { @@ -274,8 +225,6 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -291,7 +240,6 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder
    * 
* * string request_id = 3; - * * @return The requestId. */ @java.lang.Override @@ -300,15 +248,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -324,15 +271,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -341,7 +289,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -353,7 +300,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -373,10 +321,12 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (channel_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getChannel()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getChannel()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -389,23 +339,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.UpdateChannelRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.UpdateChannelRequest other = - (com.google.cloud.video.livestream.v1.UpdateChannelRequest) obj; + com.google.cloud.video.livestream.v1.UpdateChannelRequest other = (com.google.cloud.video.livestream.v1.UpdateChannelRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasChannel() != other.hasChannel()) return false; if (hasChannel()) { - if (!getChannel().equals(other.getChannel())) return false; + if (!getChannel() + .equals(other.getChannel())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -433,127 +385,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.UpdateChannelRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.UpdateChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for "LivestreamService.UpdateChannel".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.UpdateChannelRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.UpdateChannelRequest) com.google.cloud.video.livestream.v1.UpdateChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.UpdateChannelRequest.class, - com.google.cloud.video.livestream.v1.UpdateChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.UpdateChannelRequest.class, com.google.cloud.video.livestream.v1.UpdateChannelRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.UpdateChannelRequest.newBuilder() @@ -561,15 +503,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(); @@ -591,9 +534,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor; } @java.lang.Override @@ -612,8 +555,7 @@ public com.google.cloud.video.livestream.v1.UpdateChannelRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.UpdateChannelRequest buildPartial() { - com.google.cloud.video.livestream.v1.UpdateChannelRequest result = - new com.google.cloud.video.livestream.v1.UpdateChannelRequest(this); + com.google.cloud.video.livestream.v1.UpdateChannelRequest result = new com.google.cloud.video.livestream.v1.UpdateChannelRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -633,39 +575,38 @@ public com.google.cloud.video.livestream.v1.UpdateChannelRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.UpdateChannelRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.UpdateChannelRequest) other); + return mergeFrom((com.google.cloud.video.livestream.v1.UpdateChannelRequest)other); } else { super.mergeFrom(other); return this; @@ -673,8 +614,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.UpdateChannelRequest other) { - if (other == com.google.cloud.video.livestream.v1.UpdateChannelRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.UpdateChannelRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -704,8 +644,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.UpdateChannelRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.UpdateChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -717,13 +656,8 @@ public Builder mergeFrom( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -738,15 +672,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -761,21 +692,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -805,8 +731,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -822,7 +746,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 1;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -833,8 +758,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -854,7 +777,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -866,8 +789,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -895,8 +816,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -913,13 +832,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -939,14 +856,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -963,17 +877,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
@@ -981,58 +892,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.cloud.video.livestream.v1.Channel channel_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.video.livestream.v1.Channel,
-            com.google.cloud.video.livestream.v1.Channel.Builder,
-            com.google.cloud.video.livestream.v1.ChannelOrBuilder>
-        channelBuilder_;
+        com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder> channelBuilder_;
     /**
-     *
-     *
      * 
      * Required. The channel resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the channel field is set. */ public boolean hasChannel() { return channelBuilder_ != null || channel_ != null; } /** - * - * *
      * Required. The channel resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The channel. */ public com.google.cloud.video.livestream.v1.Channel getChannel() { if (channelBuilder_ == null) { - return channel_ == null - ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() - : channel_; + return channel_ == null ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() : channel_; } else { return channelBuilder_.getMessage(); } } /** - * - * *
      * Required. The channel resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setChannel(com.google.cloud.video.livestream.v1.Channel value) { if (channelBuilder_ == null) { @@ -1048,15 +940,11 @@ public Builder setChannel(com.google.cloud.video.livestream.v1.Channel value) { return this; } /** - * - * *
      * Required. The channel resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setChannel( com.google.cloud.video.livestream.v1.Channel.Builder builderForValue) { @@ -1070,23 +958,17 @@ public Builder setChannel( return this; } /** - * - * *
      * Required. The channel resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeChannel(com.google.cloud.video.livestream.v1.Channel value) { if (channelBuilder_ == null) { if (channel_ != null) { channel_ = - com.google.cloud.video.livestream.v1.Channel.newBuilder(channel_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.livestream.v1.Channel.newBuilder(channel_).mergeFrom(value).buildPartial(); } else { channel_ = value; } @@ -1098,15 +980,11 @@ public Builder mergeChannel(com.google.cloud.video.livestream.v1.Channel value) return this; } /** - * - * *
      * Required. The channel resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearChannel() { if (channelBuilder_ == null) { @@ -1120,64 +998,48 @@ public Builder clearChannel() { return this; } /** - * - * *
      * Required. The channel resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.video.livestream.v1.Channel.Builder getChannelBuilder() { - + onChanged(); return getChannelFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The channel resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder() { if (channelBuilder_ != null) { return channelBuilder_.getMessageOrBuilder(); } else { - return channel_ == null - ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() - : channel_; + return channel_ == null ? + com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() : channel_; } } /** - * - * *
      * Required. The channel resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel, - com.google.cloud.video.livestream.v1.Channel.Builder, - com.google.cloud.video.livestream.v1.ChannelOrBuilder> + com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder> getChannelFieldBuilder() { if (channelBuilder_ == null) { - channelBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel, - com.google.cloud.video.livestream.v1.Channel.Builder, - com.google.cloud.video.livestream.v1.ChannelOrBuilder>( - getChannel(), getParentForChildren(), isClean()); + channelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder>( + getChannel(), + getParentForChildren(), + isClean()); channel_ = null; } return channelBuilder_; @@ -1185,8 +1047,6 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1202,13 +1062,13 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder
      * 
* * string request_id = 3; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1217,8 +1077,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1234,14 +1092,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1249,8 +1108,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1266,22 +1123,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1297,18 +1152,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1324,23 +1176,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1350,12 +1202,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.UpdateChannelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.UpdateChannelRequest) private static final com.google.cloud.video.livestream.v1.UpdateChannelRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.UpdateChannelRequest(); } @@ -1364,16 +1216,16 @@ public static com.google.cloud.video.livestream.v1.UpdateChannelRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1388,4 +1240,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.UpdateChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequestOrBuilder.java similarity index 84% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequestOrBuilder.java index 25b967d..8d555a7 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface UpdateChannelRequestOrBuilder - extends +public interface UpdateChannelRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.UpdateChannelRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the Channel
    * resource by the update. You can only update the following fields:
@@ -40,13 +22,10 @@ public interface UpdateChannelRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the Channel
    * resource by the update. You can only update the following fields:
@@ -61,13 +40,10 @@ public interface UpdateChannelRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the Channel
    * resource by the update. You can only update the following fields:
@@ -86,49 +62,33 @@ public interface UpdateChannelRequestOrBuilder
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The channel resource to be updated.
    * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the channel field is set. */ boolean hasChannel(); /** - * - * *
    * Required. The channel resource to be updated.
    * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The channel. */ com.google.cloud.video.livestream.v1.Channel getChannel(); /** - * - * *
    * Required. The channel resource to be updated.
    * 
* - * - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -144,13 +104,10 @@ public interface UpdateChannelRequestOrBuilder
    * 
* * string request_id = 3; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -166,8 +123,8 @@ public interface UpdateChannelRequestOrBuilder
    * 
* * string request_id = 3; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequest.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequest.java similarity index 74% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequest.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequest.java index e3efabd..c7493e4 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Request message for "LivestreamService.UpdateInput".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.UpdateInputRequest} */ -public final class UpdateInputRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateInputRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.UpdateInputRequest) UpdateInputRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateInputRequest.newBuilder() to construct. private UpdateInputRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateInputRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateInputRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateInputRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,51 +53,45 @@ private UpdateInputRequest( case 0: done = true; break; - case 10: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 18: - { - com.google.cloud.video.livestream.v1.Input.Builder subBuilder = null; - if (input_ != null) { - subBuilder = input_.toBuilder(); - } - input_ = - input.readMessage( - com.google.cloud.video.livestream.v1.Input.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(input_); - input_ = subBuilder.buildPartial(); - } - - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; + break; + } + case 18: { + com.google.cloud.video.livestream.v1.Input.Builder subBuilder = null; + if (input_ != null) { + subBuilder = input_.toBuilder(); + } + input_ = input.readMessage(com.google.cloud.video.livestream.v1.Input.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(input_); + input_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,33 +99,29 @@ private UpdateInputRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.UpdateInputRequest.class, - com.google.cloud.video.livestream.v1.UpdateInputRequest.Builder.class); + com.google.cloud.video.livestream.v1.UpdateInputRequest.class, com.google.cloud.video.livestream.v1.UpdateInputRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the Input
    * resource by the update. You can only update the following fields:
@@ -159,7 +132,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,8 +139,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the Input
    * resource by the update. You can only update the following fields:
@@ -179,7 +149,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return The updateMask. */ @java.lang.Override @@ -187,8 +156,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the Input
    * resource by the update. You can only update the following fields:
@@ -208,16 +175,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int INPUT_FIELD_NUMBER = 2;
   private com.google.cloud.video.livestream.v1.Input input_;
   /**
-   *
-   *
    * 
    * Required. The input resource to be updated.
    * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the input field is set. */ @java.lang.Override @@ -225,34 +187,23 @@ public boolean hasInput() { return input_ != null; } /** - * - * *
    * Required. The input resource to be updated.
    * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The input. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Input getInput() { - return input_ == null - ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() - : input_; + return input_ == null ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() : input_; } /** - * - * *
    * Required. The input resource to be updated.
    * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() { @@ -262,8 +213,6 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -279,7 +228,6 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() {
    * 
* * string request_id = 3; - * * @return The requestId. */ @java.lang.Override @@ -288,15 +236,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -312,15 +259,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -329,7 +277,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -341,7 +288,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -361,10 +309,12 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (input_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInput()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInput()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -377,23 +327,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.UpdateInputRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.UpdateInputRequest other = - (com.google.cloud.video.livestream.v1.UpdateInputRequest) obj; + com.google.cloud.video.livestream.v1.UpdateInputRequest other = (com.google.cloud.video.livestream.v1.UpdateInputRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasInput() != other.hasInput()) return false; if (hasInput()) { - if (!getInput().equals(other.getInput())) return false; + if (!getInput() + .equals(other.getInput())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -421,127 +373,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.UpdateInputRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.UpdateInputRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for "LivestreamService.UpdateInput".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.UpdateInputRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.UpdateInputRequest) com.google.cloud.video.livestream.v1.UpdateInputRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.UpdateInputRequest.class, - com.google.cloud.video.livestream.v1.UpdateInputRequest.Builder.class); + com.google.cloud.video.livestream.v1.UpdateInputRequest.class, com.google.cloud.video.livestream.v1.UpdateInputRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.UpdateInputRequest.newBuilder() @@ -549,15 +491,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(); @@ -579,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto - .internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor; } @java.lang.Override @@ -600,8 +543,7 @@ public com.google.cloud.video.livestream.v1.UpdateInputRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.UpdateInputRequest buildPartial() { - com.google.cloud.video.livestream.v1.UpdateInputRequest result = - new com.google.cloud.video.livestream.v1.UpdateInputRequest(this); + com.google.cloud.video.livestream.v1.UpdateInputRequest result = new com.google.cloud.video.livestream.v1.UpdateInputRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -621,39 +563,38 @@ public com.google.cloud.video.livestream.v1.UpdateInputRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.UpdateInputRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.UpdateInputRequest) other); + return mergeFrom((com.google.cloud.video.livestream.v1.UpdateInputRequest)other); } else { super.mergeFrom(other); return this; @@ -661,8 +602,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.UpdateInputRequest other) { - if (other == com.google.cloud.video.livestream.v1.UpdateInputRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.UpdateInputRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -692,8 +632,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.UpdateInputRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.UpdateInputRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -705,13 +644,8 @@ public Builder mergeFrom( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -722,15 +656,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -741,21 +672,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -781,8 +707,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -794,7 +718,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 1;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -805,8 +730,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -822,7 +745,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -834,8 +757,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -859,8 +780,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -873,13 +792,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -895,14 +812,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -915,17 +829,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
@@ -933,58 +844,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.cloud.video.livestream.v1.Input input_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.video.livestream.v1.Input,
-            com.google.cloud.video.livestream.v1.Input.Builder,
-            com.google.cloud.video.livestream.v1.InputOrBuilder>
-        inputBuilder_;
+        com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder> inputBuilder_;
     /**
-     *
-     *
      * 
      * Required. The input resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the input field is set. */ public boolean hasInput() { return inputBuilder_ != null || input_ != null; } /** - * - * *
      * Required. The input resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The input. */ public com.google.cloud.video.livestream.v1.Input getInput() { if (inputBuilder_ == null) { - return input_ == null - ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() - : input_; + return input_ == null ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() : input_; } else { return inputBuilder_.getMessage(); } } /** - * - * *
      * Required. The input resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInput(com.google.cloud.video.livestream.v1.Input value) { if (inputBuilder_ == null) { @@ -1000,17 +892,14 @@ public Builder setInput(com.google.cloud.video.livestream.v1.Input value) { return this; } /** - * - * *
      * Required. The input resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInput(com.google.cloud.video.livestream.v1.Input.Builder builderForValue) { + public Builder setInput( + com.google.cloud.video.livestream.v1.Input.Builder builderForValue) { if (inputBuilder_ == null) { input_ = builderForValue.build(); onChanged(); @@ -1021,23 +910,17 @@ public Builder setInput(com.google.cloud.video.livestream.v1.Input.Builder build return this; } /** - * - * *
      * Required. The input resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInput(com.google.cloud.video.livestream.v1.Input value) { if (inputBuilder_ == null) { if (input_ != null) { input_ = - com.google.cloud.video.livestream.v1.Input.newBuilder(input_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.livestream.v1.Input.newBuilder(input_).mergeFrom(value).buildPartial(); } else { input_ = value; } @@ -1049,15 +932,11 @@ public Builder mergeInput(com.google.cloud.video.livestream.v1.Input value) { return this; } /** - * - * *
      * Required. The input resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInput() { if (inputBuilder_ == null) { @@ -1071,64 +950,48 @@ public Builder clearInput() { return this; } /** - * - * *
      * Required. The input resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.video.livestream.v1.Input.Builder getInputBuilder() { - + onChanged(); return getInputFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The input resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() { if (inputBuilder_ != null) { return inputBuilder_.getMessageOrBuilder(); } else { - return input_ == null - ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() - : input_; + return input_ == null ? + com.google.cloud.video.livestream.v1.Input.getDefaultInstance() : input_; } } /** - * - * *
      * Required. The input resource to be updated.
      * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input, - com.google.cloud.video.livestream.v1.Input.Builder, - com.google.cloud.video.livestream.v1.InputOrBuilder> + com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder> getInputFieldBuilder() { if (inputBuilder_ == null) { - inputBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input, - com.google.cloud.video.livestream.v1.Input.Builder, - com.google.cloud.video.livestream.v1.InputOrBuilder>( - getInput(), getParentForChildren(), isClean()); + inputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder>( + getInput(), + getParentForChildren(), + isClean()); input_ = null; } return inputBuilder_; @@ -1136,8 +999,6 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1153,13 +1014,13 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() {
      * 
* * string request_id = 3; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1168,8 +1029,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1185,14 +1044,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1200,8 +1060,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1217,22 +1075,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1248,18 +1104,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1275,23 +1128,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1301,12 +1154,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.UpdateInputRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.UpdateInputRequest) private static final com.google.cloud.video.livestream.v1.UpdateInputRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.UpdateInputRequest(); } @@ -1315,16 +1168,16 @@ public static com.google.cloud.video.livestream.v1.UpdateInputRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInputRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateInputRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInputRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateInputRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1339,4 +1192,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.UpdateInputRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequestOrBuilder.java similarity index 80% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequestOrBuilder.java index 29ed1e8..60607fe 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface UpdateInputRequestOrBuilder - extends +public interface UpdateInputRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.UpdateInputRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the Input
    * resource by the update. You can only update the following fields:
@@ -36,13 +18,10 @@ public interface UpdateInputRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the Input
    * resource by the update. You can only update the following fields:
@@ -53,13 +32,10 @@ public interface UpdateInputRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the Input
    * resource by the update. You can only update the following fields:
@@ -74,49 +50,33 @@ public interface UpdateInputRequestOrBuilder
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The input resource to be updated.
    * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the input field is set. */ boolean hasInput(); /** - * - * *
    * Required. The input resource to be updated.
    * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The input. */ com.google.cloud.video.livestream.v1.Input getInput(); /** - * - * *
    * Required. The input resource to be updated.
    * 
* - * - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -132,13 +92,10 @@ public interface UpdateInputRequestOrBuilder
    * 
* * string request_id = 3; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -154,8 +111,8 @@ public interface UpdateInputRequestOrBuilder
    * 
* * string request_id = 3; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormat.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormat.java similarity index 71% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormat.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormat.java index 333d178..b11762f 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormat.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormat.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Properties of the video format.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.VideoFormat} */ -public final class VideoFormat extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoFormat extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.VideoFormat) VideoFormatOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoFormat.newBuilder() to construct. private VideoFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoFormat() { codec_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoFormat(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoFormat( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,34 @@ private VideoFormat( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - codec_ = s; - break; - } - case 16: - { - widthPixels_ = input.readInt32(); - break; - } - case 24: - { - heightPixels_ = input.readInt32(); - break; - } - case 33: - { - frameRate_ = input.readDouble(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + codec_ = s; + break; + } + case 16: { + + widthPixels_ = input.readInt32(); + break; + } + case 24: { + + heightPixels_ = input.readInt32(); + break; + } + case 33: { + + frameRate_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,39 +88,34 @@ private VideoFormat( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_VideoFormat_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.VideoFormat.class, - com.google.cloud.video.livestream.v1.VideoFormat.Builder.class); + com.google.cloud.video.livestream.v1.VideoFormat.class, com.google.cloud.video.livestream.v1.VideoFormat.Builder.class); } public static final int CODEC_FIELD_NUMBER = 1; private volatile java.lang.Object codec_; /** - * - * *
    * Video codec used in this video stream.
    * 
* * string codec = 1; - * * @return The codec. */ @java.lang.Override @@ -147,29 +124,29 @@ public java.lang.String getCodec() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; } } /** - * - * *
    * Video codec used in this video stream.
    * 
* * string codec = 1; - * * @return The bytes for codec. */ @java.lang.Override - public com.google.protobuf.ByteString getCodecBytes() { + public com.google.protobuf.ByteString + getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); codec_ = b; return b; } else { @@ -180,14 +157,11 @@ public com.google.protobuf.ByteString getCodecBytes() { public static final int WIDTH_PIXELS_FIELD_NUMBER = 2; private int widthPixels_; /** - * - * *
    * The width of the video stream in pixels.
    * 
* * int32 width_pixels = 2; - * * @return The widthPixels. */ @java.lang.Override @@ -198,14 +172,11 @@ public int getWidthPixels() { public static final int HEIGHT_PIXELS_FIELD_NUMBER = 3; private int heightPixels_; /** - * - * *
    * The height of the video stream in pixels.
    * 
* * int32 height_pixels = 3; - * * @return The heightPixels. */ @java.lang.Override @@ -216,14 +187,11 @@ public int getHeightPixels() { public static final int FRAME_RATE_FIELD_NUMBER = 4; private double frameRate_; /** - * - * *
    * The frame rate of the input video stream.
    * 
* * double frame_rate = 4; - * * @return The frameRate. */ @java.lang.Override @@ -232,7 +200,6 @@ public double getFrameRate() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +211,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, codec_); } @@ -270,13 +238,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, codec_); } if (widthPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, widthPixels_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, widthPixels_); } if (heightPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, heightPixels_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, heightPixels_); } if (java.lang.Double.doubleToRawLongBits(frameRate_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, frameRate_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(4, frameRate_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,19 +257,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.VideoFormat)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.VideoFormat other = - (com.google.cloud.video.livestream.v1.VideoFormat) obj; + com.google.cloud.video.livestream.v1.VideoFormat other = (com.google.cloud.video.livestream.v1.VideoFormat) obj; - if (!getCodec().equals(other.getCodec())) return false; - if (getWidthPixels() != other.getWidthPixels()) return false; - if (getHeightPixels() != other.getHeightPixels()) return false; + if (!getCodec() + .equals(other.getCodec())) return false; + if (getWidthPixels() + != other.getWidthPixels()) return false; + if (getHeightPixels() + != other.getHeightPixels()) return false; if (java.lang.Double.doubleToLongBits(getFrameRate()) - != java.lang.Double.doubleToLongBits(other.getFrameRate())) return false; + != java.lang.Double.doubleToLongBits( + other.getFrameRate())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -317,136 +291,125 @@ public int hashCode() { hash = (37 * hash) + HEIGHT_PIXELS_FIELD_NUMBER; hash = (53 * hash) + getHeightPixels(); hash = (37 * hash) + FRAME_RATE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getFrameRate())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getFrameRate())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.VideoFormat parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.VideoFormat parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.VideoFormat parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.VideoFormat prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Properties of the video format.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.VideoFormat} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.VideoFormat) com.google.cloud.video.livestream.v1.VideoFormatOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_VideoFormat_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.VideoFormat.class, - com.google.cloud.video.livestream.v1.VideoFormat.Builder.class); + com.google.cloud.video.livestream.v1.VideoFormat.class, com.google.cloud.video.livestream.v1.VideoFormat.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.VideoFormat.newBuilder() @@ -454,15 +417,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 +442,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor; } @java.lang.Override @@ -499,8 +463,7 @@ public com.google.cloud.video.livestream.v1.VideoFormat build() { @java.lang.Override public com.google.cloud.video.livestream.v1.VideoFormat buildPartial() { - com.google.cloud.video.livestream.v1.VideoFormat result = - new com.google.cloud.video.livestream.v1.VideoFormat(this); + com.google.cloud.video.livestream.v1.VideoFormat result = new com.google.cloud.video.livestream.v1.VideoFormat(this); result.codec_ = codec_; result.widthPixels_ = widthPixels_; result.heightPixels_ = heightPixels_; @@ -513,39 +476,38 @@ public com.google.cloud.video.livestream.v1.VideoFormat buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.VideoFormat) { - return mergeFrom((com.google.cloud.video.livestream.v1.VideoFormat) other); + return mergeFrom((com.google.cloud.video.livestream.v1.VideoFormat)other); } else { super.mergeFrom(other); return this; @@ -553,8 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.VideoFormat other) { - if (other == com.google.cloud.video.livestream.v1.VideoFormat.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.VideoFormat.getDefaultInstance()) return this; if (!other.getCodec().isEmpty()) { codec_ = other.codec_; onChanged(); @@ -599,20 +560,18 @@ public Builder mergeFrom( private java.lang.Object codec_ = ""; /** - * - * *
      * Video codec used in this video stream.
      * 
* * string codec = 1; - * * @return The codec. */ public java.lang.String getCodec() { java.lang.Object ref = codec_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; @@ -621,21 +580,20 @@ public java.lang.String getCodec() { } } /** - * - * *
      * Video codec used in this video stream.
      * 
* * string codec = 1; - * * @return The bytes for codec. */ - public com.google.protobuf.ByteString getCodecBytes() { + public com.google.protobuf.ByteString + getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); codec_ = b; return b; } else { @@ -643,76 +601,66 @@ public com.google.protobuf.ByteString getCodecBytes() { } } /** - * - * *
      * Video codec used in this video stream.
      * 
* * string codec = 1; - * * @param value The codec to set. * @return This builder for chaining. */ - public Builder setCodec(java.lang.String value) { + public Builder setCodec( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + codec_ = value; onChanged(); return this; } /** - * - * *
      * Video codec used in this video stream.
      * 
* * string codec = 1; - * * @return This builder for chaining. */ public Builder clearCodec() { - + codec_ = getDefaultInstance().getCodec(); onChanged(); return this; } /** - * - * *
      * Video codec used in this video stream.
      * 
* * string codec = 1; - * * @param value The bytes for codec to set. * @return This builder for chaining. */ - public Builder setCodecBytes(com.google.protobuf.ByteString value) { + public Builder setCodecBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + codec_ = value; onChanged(); return this; } - private int widthPixels_; + private int widthPixels_ ; /** - * - * *
      * The width of the video stream in pixels.
      * 
* * int32 width_pixels = 2; - * * @return The widthPixels. */ @java.lang.Override @@ -720,51 +668,42 @@ public int getWidthPixels() { return widthPixels_; } /** - * - * *
      * The width of the video stream in pixels.
      * 
* * int32 width_pixels = 2; - * * @param value The widthPixels to set. * @return This builder for chaining. */ public Builder setWidthPixels(int value) { - + widthPixels_ = value; onChanged(); return this; } /** - * - * *
      * The width of the video stream in pixels.
      * 
* * int32 width_pixels = 2; - * * @return This builder for chaining. */ public Builder clearWidthPixels() { - + widthPixels_ = 0; onChanged(); return this; } - private int heightPixels_; + private int heightPixels_ ; /** - * - * *
      * The height of the video stream in pixels.
      * 
* * int32 height_pixels = 3; - * * @return The heightPixels. */ @java.lang.Override @@ -772,51 +711,42 @@ public int getHeightPixels() { return heightPixels_; } /** - * - * *
      * The height of the video stream in pixels.
      * 
* * int32 height_pixels = 3; - * * @param value The heightPixels to set. * @return This builder for chaining. */ public Builder setHeightPixels(int value) { - + heightPixels_ = value; onChanged(); return this; } /** - * - * *
      * The height of the video stream in pixels.
      * 
* * int32 height_pixels = 3; - * * @return This builder for chaining. */ public Builder clearHeightPixels() { - + heightPixels_ = 0; onChanged(); return this; } - private double frameRate_; + private double frameRate_ ; /** - * - * *
      * The frame rate of the input video stream.
      * 
* * double frame_rate = 4; - * * @return The frameRate. */ @java.lang.Override @@ -824,43 +754,37 @@ public double getFrameRate() { return frameRate_; } /** - * - * *
      * The frame rate of the input video stream.
      * 
* * double frame_rate = 4; - * * @param value The frameRate to set. * @return This builder for chaining. */ public Builder setFrameRate(double value) { - + frameRate_ = value; onChanged(); return this; } /** - * - * *
      * The frame rate of the input video stream.
      * 
* * double frame_rate = 4; - * * @return This builder for chaining. */ public Builder clearFrameRate() { - + frameRate_ = 0D; 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); } @@ -870,12 +794,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.VideoFormat) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.VideoFormat) private static final com.google.cloud.video.livestream.v1.VideoFormat DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.VideoFormat(); } @@ -884,16 +808,16 @@ public static com.google.cloud.video.livestream.v1.VideoFormat getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoFormat parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoFormat(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoFormat parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoFormat(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -908,4 +832,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.VideoFormat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormatOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormatOrBuilder.java similarity index 60% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormatOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormatOrBuilder.java index 0268fed..bd1dfa0 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormatOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormatOrBuilder.java @@ -1,88 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface VideoFormatOrBuilder - extends +public interface VideoFormatOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.VideoFormat) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video codec used in this video stream.
    * 
* * string codec = 1; - * * @return The codec. */ java.lang.String getCodec(); /** - * - * *
    * Video codec used in this video stream.
    * 
* * string codec = 1; - * * @return The bytes for codec. */ - com.google.protobuf.ByteString getCodecBytes(); + com.google.protobuf.ByteString + getCodecBytes(); /** - * - * *
    * The width of the video stream in pixels.
    * 
* * int32 width_pixels = 2; - * * @return The widthPixels. */ int getWidthPixels(); /** - * - * *
    * The height of the video stream in pixels.
    * 
* * int32 height_pixels = 3; - * * @return The heightPixels. */ int getHeightPixels(); /** - * - * *
    * The frame rate of the input video stream.
    * 
* * double frame_rate = 4; - * * @return The frameRate. */ double getFrameRate(); diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStream.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStream.java similarity index 78% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStream.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStream.java index c9aa0f0..7cb1753 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStream.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStream.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Video stream resource.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.VideoStream} */ -public final class VideoStream extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoStream extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.VideoStream) VideoStreamOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoStream.newBuilder() to construct. private VideoStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private VideoStream() {} + private VideoStream() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,36 +52,27 @@ private VideoStream( case 0: done = true; break; - case 162: - { - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder - subBuilder = null; - if (codecSettingsCase_ == 20) { - subBuilder = - ((com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) - codecSettings_) - .toBuilder(); - } - codecSettings_ = - input.readMessage( - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) - codecSettings_); - codecSettings_ = subBuilder.buildPartial(); - } - codecSettingsCase_ = 20; - break; + case 162: { + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder subBuilder = null; + if (codecSettingsCase_ == 20) { + subBuilder = ((com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + codecSettings_ = + input.readMessage(com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_); + codecSettings_ = subBuilder.buildPartial(); } + codecSettingsCase_ = 20; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,64 +80,53 @@ private VideoStream( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_VideoStream_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.VideoStream.class, - com.google.cloud.video.livestream.v1.VideoStream.Builder.class); + com.google.cloud.video.livestream.v1.VideoStream.class, com.google.cloud.video.livestream.v1.VideoStream.Builder.class); } - public interface H264CodecSettingsOrBuilder - extends + public interface H264CodecSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The width of the video in pixels. Must be an even integer.
      * Valid range is [320, 1920].
      * 
* * int32 width_pixels = 1; - * * @return The widthPixels. */ int getWidthPixels(); /** - * - * *
      * Required. The height of the video in pixels. Must be an even integer.
      * Valid range is [180, 1080].
      * 
* * int32 height_pixels = 2; - * * @return The heightPixels. */ int getHeightPixels(); /** - * - * *
      * Required. The target video frame rate in frames per second (FPS). Must be less
      * than or equal to 60. Will default to the input frame rate if larger
@@ -174,14 +138,11 @@ public interface H264CodecSettingsOrBuilder
      * 
* * double frame_rate = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The frameRate. */ double getFrameRate(); /** - * - * *
      * Required. The video bitrate in bits per second. Minimum value is 10,000.
      * - For SD resolution (< 720p), must be <= 3,000,000 (3 Mbps).
@@ -189,28 +150,22 @@ public interface H264CodecSettingsOrBuilder
      * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bitrateBps. */ int getBitrateBps(); /** - * - * *
      * Specifies whether an open Group of Pictures (GOP) structure should be
      * allowed or not. The default is `false`.
      * 
* * bool allow_open_gop = 6; - * * @return The allowOpenGop. */ boolean getAllowOpenGop(); /** - * - * *
      * Select the GOP size based on the specified frame count.
      * If GOP frame count is set instead of GOP duration, GOP duration will be
@@ -220,13 +175,10 @@ public interface H264CodecSettingsOrBuilder
      * 
* * int32 gop_frame_count = 7; - * * @return Whether the gopFrameCount field is set. */ boolean hasGopFrameCount(); /** - * - * *
      * Select the GOP size based on the specified frame count.
      * If GOP frame count is set instead of GOP duration, GOP duration will be
@@ -236,14 +188,11 @@ public interface H264CodecSettingsOrBuilder
      * 
* * int32 gop_frame_count = 7; - * * @return The gopFrameCount. */ int getGopFrameCount(); /** - * - * *
      * Select the GOP size based on the specified duration. The default is
      * `2s`. Note that `gopDuration` must be less than or equal to
@@ -254,13 +203,10 @@ public interface H264CodecSettingsOrBuilder
      * 
* * .google.protobuf.Duration gop_duration = 8; - * * @return Whether the gopDuration field is set. */ boolean hasGopDuration(); /** - * - * *
      * Select the GOP size based on the specified duration. The default is
      * `2s`. Note that `gopDuration` must be less than or equal to
@@ -271,13 +217,10 @@ public interface H264CodecSettingsOrBuilder
      * 
* * .google.protobuf.Duration gop_duration = 8; - * * @return The gopDuration. */ com.google.protobuf.Duration getGopDuration(); /** - * - * *
      * Select the GOP size based on the specified duration. The default is
      * `2s`. Note that `gopDuration` must be less than or equal to
@@ -292,22 +235,17 @@ public interface H264CodecSettingsOrBuilder
     com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder();
 
     /**
-     *
-     *
      * 
      * Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
      * greater than zero. The default is equal to [bitrate_bps][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.bitrate_bps].
      * 
* * int32 vbv_size_bits = 9; - * * @return The vbvSizeBits. */ int getVbvSizeBits(); /** - * - * *
      * Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
      * Must be greater than zero. The default is equal to 90% of
@@ -315,14 +253,11 @@ public interface H264CodecSettingsOrBuilder
      * 
* * int32 vbv_fullness_bits = 10; - * * @return The vbvFullnessBits. */ int getVbvFullnessBits(); /** - * - * *
      * The entropy coder to use. The default is `cabac`.
      * Supported entropy coders:
@@ -331,13 +266,10 @@ public interface H264CodecSettingsOrBuilder
      * 
* * string entropy_coder = 11; - * * @return The entropyCoder. */ java.lang.String getEntropyCoder(); /** - * - * *
      * The entropy coder to use. The default is `cabac`.
      * Supported entropy coders:
@@ -346,28 +278,23 @@ public interface H264CodecSettingsOrBuilder
      * 
* * string entropy_coder = 11; - * * @return The bytes for entropyCoder. */ - com.google.protobuf.ByteString getEntropyCoderBytes(); + com.google.protobuf.ByteString + getEntropyCoderBytes(); /** - * - * *
      * Allow B-pyramid for reference frame selection. This may not be supported
      * on all decoders. The default is `false`.
      * 
* * bool b_pyramid = 12; - * * @return The bPyramid. */ boolean getBPyramid(); /** - * - * *
      * The number of consecutive B-frames. Must be greater than or equal to
      * zero. Must be less than [gop_frame_count][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_frame_count] if set. The default
@@ -375,14 +302,11 @@ public interface H264CodecSettingsOrBuilder
      * 
* * int32 b_frame_count = 13; - * * @return The bFrameCount. */ int getBFrameCount(); /** - * - * *
      * Specify the intensity of the adaptive quantizer (AQ). Must be between 0
      * and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A
@@ -390,14 +314,11 @@ public interface H264CodecSettingsOrBuilder
      * 
* * double aq_strength = 14; - * * @return The aqStrength. */ double getAqStrength(); /** - * - * *
      * Enforces the specified codec profile. The following profiles are
      * supported:
@@ -412,13 +333,10 @@ public interface H264CodecSettingsOrBuilder
      * 
* * string profile = 15; - * * @return The profile. */ java.lang.String getProfile(); /** - * - * *
      * Enforces the specified codec profile. The following profiles are
      * supported:
@@ -433,14 +351,12 @@ public interface H264CodecSettingsOrBuilder
      * 
* * string profile = 15; - * * @return The bytes for profile. */ - com.google.protobuf.ByteString getProfileBytes(); + com.google.protobuf.ByteString + getProfileBytes(); /** - * - * *
      * Enforces the specified codec tune. The available options are
      * [FFmpeg-compatible Encode
@@ -450,13 +366,10 @@ public interface H264CodecSettingsOrBuilder
      * 
* * string tune = 16; - * * @return The tune. */ java.lang.String getTune(); /** - * - * *
      * Enforces the specified codec tune. The available options are
      * [FFmpeg-compatible Encode
@@ -466,33 +379,29 @@ public interface H264CodecSettingsOrBuilder
      * 
* * string tune = 16; - * * @return The bytes for tune. */ - com.google.protobuf.ByteString getTuneBytes(); + com.google.protobuf.ByteString + getTuneBytes(); - public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.GopModeCase - getGopModeCase(); + public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.GopModeCase getGopModeCase(); } /** - * - * *
    * H264 codec settings.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.VideoStream.H264CodecSettings} */ - public static final class H264CodecSettings extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class H264CodecSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) H264CodecSettingsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use H264CodecSettings.newBuilder() to construct. private H264CodecSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private H264CodecSettings() { entropyCoder_ = ""; profile_ = ""; @@ -501,15 +410,16 @@ private H264CodecSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new H264CodecSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private H264CodecSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -528,105 +438,100 @@ private H264CodecSettings( case 0: done = true; break; - case 8: - { - widthPixels_ = input.readInt32(); - break; - } - case 16: - { - heightPixels_ = input.readInt32(); - break; - } - case 25: - { - frameRate_ = input.readDouble(); - break; - } - case 32: - { - bitrateBps_ = input.readInt32(); - break; - } - case 48: - { - allowOpenGop_ = input.readBool(); - break; - } - case 56: - { - gopMode_ = input.readInt32(); - gopModeCase_ = 7; - break; - } - case 66: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (gopModeCase_ == 8) { - subBuilder = ((com.google.protobuf.Duration) gopMode_).toBuilder(); - } - gopMode_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Duration) gopMode_); - gopMode_ = subBuilder.buildPartial(); - } - gopModeCase_ = 8; - break; - } - case 72: - { - vbvSizeBits_ = input.readInt32(); - break; - } - case 80: - { - vbvFullnessBits_ = input.readInt32(); - break; - } - case 90: - { - java.lang.String s = input.readStringRequireUtf8(); + case 8: { - entropyCoder_ = s; - break; - } - case 96: - { - bPyramid_ = input.readBool(); - break; - } - case 104: - { - bFrameCount_ = input.readInt32(); - break; + widthPixels_ = input.readInt32(); + break; + } + case 16: { + + heightPixels_ = input.readInt32(); + break; + } + case 25: { + + frameRate_ = input.readDouble(); + break; + } + case 32: { + + bitrateBps_ = input.readInt32(); + break; + } + case 48: { + + allowOpenGop_ = input.readBool(); + break; + } + case 56: { + gopMode_ = input.readInt32(); + gopModeCase_ = 7; + break; + } + case 66: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (gopModeCase_ == 8) { + subBuilder = ((com.google.protobuf.Duration) gopMode_).toBuilder(); } - case 113: - { - aqStrength_ = input.readDouble(); - break; + gopMode_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Duration) gopMode_); + gopMode_ = subBuilder.buildPartial(); } - case 122: - { - java.lang.String s = input.readStringRequireUtf8(); + gopModeCase_ = 8; + break; + } + case 72: { - profile_ = s; - break; - } - case 130: - { - java.lang.String s = input.readStringRequireUtf8(); + vbvSizeBits_ = input.readInt32(); + break; + } + case 80: { - tune_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + vbvFullnessBits_ = input.readInt32(); + break; + } + case 90: { + java.lang.String s = input.readStringRequireUtf8(); + + entropyCoder_ = s; + break; + } + case 96: { + + bPyramid_ = input.readBool(); + break; + } + case 104: { + + bFrameCount_ = input.readInt32(); + break; + } + case 113: { + + aqStrength_ = input.readDouble(); + break; + } + case 122: { + java.lang.String s = input.readStringRequireUtf8(); + + profile_ = s; + break; + } + case 130: { + java.lang.String s = input.readStringRequireUtf8(); + + tune_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -634,40 +539,35 @@ private H264CodecSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.class, - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder.class); + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.class, com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder.class); } private int gopModeCase_ = 0; private java.lang.Object gopMode_; - public enum GopModeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GOP_FRAME_COUNT(7), GOP_DURATION(8), GOPMODE_NOT_SET(0); private final int value; - private GopModeCase(int value) { this.value = value; } @@ -683,38 +583,32 @@ public static GopModeCase valueOf(int value) { public static GopModeCase forNumber(int value) { switch (value) { - case 7: - return GOP_FRAME_COUNT; - case 8: - return GOP_DURATION; - case 0: - return GOPMODE_NOT_SET; - default: - return null; + case 7: return GOP_FRAME_COUNT; + case 8: return GOP_DURATION; + case 0: return GOPMODE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public GopModeCase getGopModeCase() { - return GopModeCase.forNumber(gopModeCase_); + public GopModeCase + getGopModeCase() { + return GopModeCase.forNumber( + gopModeCase_); } public static final int WIDTH_PIXELS_FIELD_NUMBER = 1; private int widthPixels_; /** - * - * *
      * Required. The width of the video in pixels. Must be an even integer.
      * Valid range is [320, 1920].
      * 
* * int32 width_pixels = 1; - * * @return The widthPixels. */ @java.lang.Override @@ -725,15 +619,12 @@ public int getWidthPixels() { public static final int HEIGHT_PIXELS_FIELD_NUMBER = 2; private int heightPixels_; /** - * - * *
      * Required. The height of the video in pixels. Must be an even integer.
      * Valid range is [180, 1080].
      * 
* * int32 height_pixels = 2; - * * @return The heightPixels. */ @java.lang.Override @@ -744,8 +635,6 @@ public int getHeightPixels() { public static final int FRAME_RATE_FIELD_NUMBER = 3; private double frameRate_; /** - * - * *
      * Required. The target video frame rate in frames per second (FPS). Must be less
      * than or equal to 60. Will default to the input frame rate if larger
@@ -757,7 +646,6 @@ public int getHeightPixels() {
      * 
* * double frame_rate = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The frameRate. */ @java.lang.Override @@ -768,8 +656,6 @@ public double getFrameRate() { public static final int BITRATE_BPS_FIELD_NUMBER = 4; private int bitrateBps_; /** - * - * *
      * Required. The video bitrate in bits per second. Minimum value is 10,000.
      * - For SD resolution (< 720p), must be <= 3,000,000 (3 Mbps).
@@ -777,7 +663,6 @@ public double getFrameRate() {
      * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bitrateBps. */ @java.lang.Override @@ -788,15 +673,12 @@ public int getBitrateBps() { public static final int ALLOW_OPEN_GOP_FIELD_NUMBER = 6; private boolean allowOpenGop_; /** - * - * *
      * Specifies whether an open Group of Pictures (GOP) structure should be
      * allowed or not. The default is `false`.
      * 
* * bool allow_open_gop = 6; - * * @return The allowOpenGop. */ @java.lang.Override @@ -806,8 +688,6 @@ public boolean getAllowOpenGop() { public static final int GOP_FRAME_COUNT_FIELD_NUMBER = 7; /** - * - * *
      * Select the GOP size based on the specified frame count.
      * If GOP frame count is set instead of GOP duration, GOP duration will be
@@ -817,7 +697,6 @@ public boolean getAllowOpenGop() {
      * 
* * int32 gop_frame_count = 7; - * * @return Whether the gopFrameCount field is set. */ @java.lang.Override @@ -825,8 +704,6 @@ public boolean hasGopFrameCount() { return gopModeCase_ == 7; } /** - * - * *
      * Select the GOP size based on the specified frame count.
      * If GOP frame count is set instead of GOP duration, GOP duration will be
@@ -836,7 +713,6 @@ public boolean hasGopFrameCount() {
      * 
* * int32 gop_frame_count = 7; - * * @return The gopFrameCount. */ @java.lang.Override @@ -849,8 +725,6 @@ public int getGopFrameCount() { public static final int GOP_DURATION_FIELD_NUMBER = 8; /** - * - * *
      * Select the GOP size based on the specified duration. The default is
      * `2s`. Note that `gopDuration` must be less than or equal to
@@ -861,7 +735,6 @@ public int getGopFrameCount() {
      * 
* * .google.protobuf.Duration gop_duration = 8; - * * @return Whether the gopDuration field is set. */ @java.lang.Override @@ -869,8 +742,6 @@ public boolean hasGopDuration() { return gopModeCase_ == 8; } /** - * - * *
      * Select the GOP size based on the specified duration. The default is
      * `2s`. Note that `gopDuration` must be less than or equal to
@@ -881,19 +752,16 @@ public boolean hasGopDuration() {
      * 
* * .google.protobuf.Duration gop_duration = 8; - * * @return The gopDuration. */ @java.lang.Override public com.google.protobuf.Duration getGopDuration() { if (gopModeCase_ == 8) { - return (com.google.protobuf.Duration) gopMode_; + return (com.google.protobuf.Duration) gopMode_; } return com.google.protobuf.Duration.getDefaultInstance(); } /** - * - * *
      * Select the GOP size based on the specified duration. The default is
      * `2s`. Note that `gopDuration` must be less than or equal to
@@ -908,7 +776,7 @@ public com.google.protobuf.Duration getGopDuration() {
     @java.lang.Override
     public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
       if (gopModeCase_ == 8) {
-        return (com.google.protobuf.Duration) gopMode_;
+         return (com.google.protobuf.Duration) gopMode_;
       }
       return com.google.protobuf.Duration.getDefaultInstance();
     }
@@ -916,15 +784,12 @@ public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
     public static final int VBV_SIZE_BITS_FIELD_NUMBER = 9;
     private int vbvSizeBits_;
     /**
-     *
-     *
      * 
      * Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
      * greater than zero. The default is equal to [bitrate_bps][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.bitrate_bps].
      * 
* * int32 vbv_size_bits = 9; - * * @return The vbvSizeBits. */ @java.lang.Override @@ -935,8 +800,6 @@ public int getVbvSizeBits() { public static final int VBV_FULLNESS_BITS_FIELD_NUMBER = 10; private int vbvFullnessBits_; /** - * - * *
      * Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
      * Must be greater than zero. The default is equal to 90% of
@@ -944,7 +807,6 @@ public int getVbvSizeBits() {
      * 
* * int32 vbv_fullness_bits = 10; - * * @return The vbvFullnessBits. */ @java.lang.Override @@ -955,8 +817,6 @@ public int getVbvFullnessBits() { public static final int ENTROPY_CODER_FIELD_NUMBER = 11; private volatile java.lang.Object entropyCoder_; /** - * - * *
      * The entropy coder to use. The default is `cabac`.
      * Supported entropy coders:
@@ -965,7 +825,6 @@ public int getVbvFullnessBits() {
      * 
* * string entropy_coder = 11; - * * @return The entropyCoder. */ @java.lang.Override @@ -974,15 +833,14 @@ public java.lang.String getEntropyCoder() { 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(); entropyCoder_ = s; return s; } } /** - * - * *
      * The entropy coder to use. The default is `cabac`.
      * Supported entropy coders:
@@ -991,15 +849,16 @@ public java.lang.String getEntropyCoder() {
      * 
* * string entropy_coder = 11; - * * @return The bytes for entropyCoder. */ @java.lang.Override - public com.google.protobuf.ByteString getEntropyCoderBytes() { + public com.google.protobuf.ByteString + getEntropyCoderBytes() { java.lang.Object ref = entropyCoder_; 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); entropyCoder_ = b; return b; } else { @@ -1010,15 +869,12 @@ public com.google.protobuf.ByteString getEntropyCoderBytes() { public static final int B_PYRAMID_FIELD_NUMBER = 12; private boolean bPyramid_; /** - * - * *
      * Allow B-pyramid for reference frame selection. This may not be supported
      * on all decoders. The default is `false`.
      * 
* * bool b_pyramid = 12; - * * @return The bPyramid. */ @java.lang.Override @@ -1029,8 +885,6 @@ public boolean getBPyramid() { public static final int B_FRAME_COUNT_FIELD_NUMBER = 13; private int bFrameCount_; /** - * - * *
      * The number of consecutive B-frames. Must be greater than or equal to
      * zero. Must be less than [gop_frame_count][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_frame_count] if set. The default
@@ -1038,7 +892,6 @@ public boolean getBPyramid() {
      * 
* * int32 b_frame_count = 13; - * * @return The bFrameCount. */ @java.lang.Override @@ -1049,8 +902,6 @@ public int getBFrameCount() { public static final int AQ_STRENGTH_FIELD_NUMBER = 14; private double aqStrength_; /** - * - * *
      * Specify the intensity of the adaptive quantizer (AQ). Must be between 0
      * and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A
@@ -1058,7 +909,6 @@ public int getBFrameCount() {
      * 
* * double aq_strength = 14; - * * @return The aqStrength. */ @java.lang.Override @@ -1069,8 +919,6 @@ public double getAqStrength() { public static final int PROFILE_FIELD_NUMBER = 15; private volatile java.lang.Object profile_; /** - * - * *
      * Enforces the specified codec profile. The following profiles are
      * supported:
@@ -1085,7 +933,6 @@ public double getAqStrength() {
      * 
* * string profile = 15; - * * @return The profile. */ @java.lang.Override @@ -1094,15 +941,14 @@ public java.lang.String getProfile() { 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(); profile_ = s; return s; } } /** - * - * *
      * Enforces the specified codec profile. The following profiles are
      * supported:
@@ -1117,15 +963,16 @@ public java.lang.String getProfile() {
      * 
* * string profile = 15; - * * @return The bytes for profile. */ @java.lang.Override - public com.google.protobuf.ByteString getProfileBytes() { + public com.google.protobuf.ByteString + getProfileBytes() { java.lang.Object ref = profile_; 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); profile_ = b; return b; } else { @@ -1136,8 +983,6 @@ public com.google.protobuf.ByteString getProfileBytes() { public static final int TUNE_FIELD_NUMBER = 16; private volatile java.lang.Object tune_; /** - * - * *
      * Enforces the specified codec tune. The available options are
      * [FFmpeg-compatible Encode
@@ -1147,7 +992,6 @@ public com.google.protobuf.ByteString getProfileBytes() {
      * 
* * string tune = 16; - * * @return The tune. */ @java.lang.Override @@ -1156,15 +1000,14 @@ public java.lang.String getTune() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tune_ = s; return s; } } /** - * - * *
      * Enforces the specified codec tune. The available options are
      * [FFmpeg-compatible Encode
@@ -1174,15 +1017,16 @@ public java.lang.String getTune() {
      * 
* * string tune = 16; - * * @return The bytes for tune. */ @java.lang.Override - public com.google.protobuf.ByteString getTuneBytes() { + public com.google.protobuf.ByteString + getTuneBytes() { java.lang.Object ref = tune_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tune_ = b; return b; } else { @@ -1191,7 +1035,6 @@ public com.google.protobuf.ByteString getTuneBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1203,7 +1046,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 (widthPixels_ != 0) { output.writeInt32(1, widthPixels_); } @@ -1220,7 +1064,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeBool(6, allowOpenGop_); } if (gopModeCase_ == 7) { - output.writeInt32(7, (int) ((java.lang.Integer) gopMode_)); + output.writeInt32( + 7, (int)((java.lang.Integer) gopMode_)); } if (gopModeCase_ == 8) { output.writeMessage(8, (com.google.protobuf.Duration) gopMode_); @@ -1259,47 +1104,56 @@ public int getSerializedSize() { size = 0; if (widthPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, widthPixels_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, widthPixels_); } if (heightPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, heightPixels_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, heightPixels_); } if (java.lang.Double.doubleToRawLongBits(frameRate_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, frameRate_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(3, frameRate_); } if (bitrateBps_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, bitrateBps_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, bitrateBps_); } if (allowOpenGop_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, allowOpenGop_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, allowOpenGop_); } if (gopModeCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 7, (int) ((java.lang.Integer) gopMode_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 7, (int)((java.lang.Integer) gopMode_)); } if (gopModeCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.protobuf.Duration) gopMode_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.protobuf.Duration) gopMode_); } if (vbvSizeBits_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, vbvSizeBits_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, vbvSizeBits_); } if (vbvFullnessBits_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, vbvFullnessBits_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(10, vbvFullnessBits_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entropyCoder_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, entropyCoder_); } if (bPyramid_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, bPyramid_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(12, bPyramid_); } if (bFrameCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(13, bFrameCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(13, bFrameCount_); } if (java.lang.Double.doubleToRawLongBits(aqStrength_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(14, aqStrength_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(14, aqStrength_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(profile_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, profile_); @@ -1315,36 +1169,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.video.livestream.v1.VideoStream.H264CodecSettings)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings other = - (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) obj; + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings other = (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) obj; - if (getWidthPixels() != other.getWidthPixels()) return false; - if (getHeightPixels() != other.getHeightPixels()) return false; + if (getWidthPixels() + != other.getWidthPixels()) return false; + if (getHeightPixels() + != other.getHeightPixels()) return false; if (java.lang.Double.doubleToLongBits(getFrameRate()) - != java.lang.Double.doubleToLongBits(other.getFrameRate())) return false; - if (getBitrateBps() != other.getBitrateBps()) return false; - if (getAllowOpenGop() != other.getAllowOpenGop()) return false; - if (getVbvSizeBits() != other.getVbvSizeBits()) return false; - if (getVbvFullnessBits() != other.getVbvFullnessBits()) return false; - if (!getEntropyCoder().equals(other.getEntropyCoder())) return false; - if (getBPyramid() != other.getBPyramid()) return false; - if (getBFrameCount() != other.getBFrameCount()) return false; + != java.lang.Double.doubleToLongBits( + other.getFrameRate())) return false; + if (getBitrateBps() + != other.getBitrateBps()) return false; + if (getAllowOpenGop() + != other.getAllowOpenGop()) return false; + if (getVbvSizeBits() + != other.getVbvSizeBits()) return false; + if (getVbvFullnessBits() + != other.getVbvFullnessBits()) return false; + if (!getEntropyCoder() + .equals(other.getEntropyCoder())) return false; + if (getBPyramid() + != other.getBPyramid()) return false; + if (getBFrameCount() + != other.getBFrameCount()) return false; if (java.lang.Double.doubleToLongBits(getAqStrength()) - != java.lang.Double.doubleToLongBits(other.getAqStrength())) return false; - if (!getProfile().equals(other.getProfile())) return false; - if (!getTune().equals(other.getTune())) return false; + != java.lang.Double.doubleToLongBits( + other.getAqStrength())) return false; + if (!getProfile() + .equals(other.getProfile())) return false; + if (!getTune() + .equals(other.getTune())) return false; if (!getGopModeCase().equals(other.getGopModeCase())) return false; switch (gopModeCase_) { case 7: - if (getGopFrameCount() != other.getGopFrameCount()) return false; + if (getGopFrameCount() + != other.getGopFrameCount()) return false; break; case 8: - if (!getGopDuration().equals(other.getGopDuration())) return false; + if (!getGopDuration() + .equals(other.getGopDuration())) return false; break; case 0: default: @@ -1365,14 +1233,13 @@ public int hashCode() { hash = (37 * hash) + HEIGHT_PIXELS_FIELD_NUMBER; hash = (53 * hash) + getHeightPixels(); hash = (37 * hash) + FRAME_RATE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getFrameRate())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getFrameRate())); hash = (37 * hash) + BITRATE_BPS_FIELD_NUMBER; hash = (53 * hash) + getBitrateBps(); hash = (37 * hash) + ALLOW_OPEN_GOP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowOpenGop()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowOpenGop()); hash = (37 * hash) + VBV_SIZE_BITS_FIELD_NUMBER; hash = (53 * hash) + getVbvSizeBits(); hash = (37 * hash) + VBV_FULLNESS_BITS_FIELD_NUMBER; @@ -1380,14 +1247,13 @@ public int hashCode() { hash = (37 * hash) + ENTROPY_CODER_FIELD_NUMBER; hash = (53 * hash) + getEntropyCoder().hashCode(); hash = (37 * hash) + B_PYRAMID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBPyramid()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBPyramid()); hash = (37 * hash) + B_FRAME_COUNT_FIELD_NUMBER; hash = (53 * hash) + getBFrameCount(); hash = (37 * hash) + AQ_STRENGTH_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAqStrength())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAqStrength())); hash = (37 * hash) + PROFILE_FIELD_NUMBER; hash = (53 * hash) + getProfile().hashCode(); hash = (37 * hash) + TUNE_FIELD_NUMBER; @@ -1410,95 +1276,87 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1508,49 +1366,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * H264 codec settings.
      * 
* * Protobuf type {@code google.cloud.video.livestream.v1.VideoStream.H264CodecSettings} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.class, - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder.class); + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.class, com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder.class); } - // Construct using - // com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.newBuilder() + // Construct using com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.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(); @@ -1586,16 +1439,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor; } @java.lang.Override - public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings - getDefaultInstanceForType() { - return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings - .getDefaultInstance(); + public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings getDefaultInstanceForType() { + return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance(); } @java.lang.Override @@ -1609,8 +1460,7 @@ public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings build( @java.lang.Override public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings buildPartial() { - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings result = - new com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings(this); + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings result = new com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings(this); result.widthPixels_ = widthPixels_; result.heightPixels_ = heightPixels_; result.frameRate_ = frameRate_; @@ -1643,53 +1493,46 @@ public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) { - return mergeFrom( - (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) other); + return mergeFrom((com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings other) { - if (other - == com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings other) { + if (other == com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance()) return this; if (other.getWidthPixels() != 0) { setWidthPixels(other.getWidthPixels()); } @@ -1733,20 +1576,17 @@ public Builder mergeFrom( onChanged(); } switch (other.getGopModeCase()) { - case GOP_FRAME_COUNT: - { - setGopFrameCount(other.getGopFrameCount()); - break; - } - case GOP_DURATION: - { - mergeGopDuration(other.getGopDuration()); - break; - } - case GOPMODE_NOT_SET: - { - break; - } + case GOP_FRAME_COUNT: { + setGopFrameCount(other.getGopFrameCount()); + break; + } + case GOP_DURATION: { + mergeGopDuration(other.getGopDuration()); + break; + } + case GOPMODE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1767,9 +1607,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1778,12 +1616,12 @@ public Builder mergeFrom( } return this; } - private int gopModeCase_ = 0; private java.lang.Object gopMode_; - - public GopModeCase getGopModeCase() { - return GopModeCase.forNumber(gopModeCase_); + public GopModeCase + getGopModeCase() { + return GopModeCase.forNumber( + gopModeCase_); } public Builder clearGopMode() { @@ -1793,17 +1631,15 @@ public Builder clearGopMode() { return this; } - private int widthPixels_; + + private int widthPixels_ ; /** - * - * *
        * Required. The width of the video in pixels. Must be an even integer.
        * Valid range is [320, 1920].
        * 
* * int32 width_pixels = 1; - * * @return The widthPixels. */ @java.lang.Override @@ -1811,54 +1647,45 @@ public int getWidthPixels() { return widthPixels_; } /** - * - * *
        * Required. The width of the video in pixels. Must be an even integer.
        * Valid range is [320, 1920].
        * 
* * int32 width_pixels = 1; - * * @param value The widthPixels to set. * @return This builder for chaining. */ public Builder setWidthPixels(int value) { - + widthPixels_ = value; onChanged(); return this; } /** - * - * *
        * Required. The width of the video in pixels. Must be an even integer.
        * Valid range is [320, 1920].
        * 
* * int32 width_pixels = 1; - * * @return This builder for chaining. */ public Builder clearWidthPixels() { - + widthPixels_ = 0; onChanged(); return this; } - private int heightPixels_; + private int heightPixels_ ; /** - * - * *
        * Required. The height of the video in pixels. Must be an even integer.
        * Valid range is [180, 1080].
        * 
* * int32 height_pixels = 2; - * * @return The heightPixels. */ @java.lang.Override @@ -1866,47 +1693,39 @@ public int getHeightPixels() { return heightPixels_; } /** - * - * *
        * Required. The height of the video in pixels. Must be an even integer.
        * Valid range is [180, 1080].
        * 
* * int32 height_pixels = 2; - * * @param value The heightPixels to set. * @return This builder for chaining. */ public Builder setHeightPixels(int value) { - + heightPixels_ = value; onChanged(); return this; } /** - * - * *
        * Required. The height of the video in pixels. Must be an even integer.
        * Valid range is [180, 1080].
        * 
* * int32 height_pixels = 2; - * * @return This builder for chaining. */ public Builder clearHeightPixels() { - + heightPixels_ = 0; onChanged(); return this; } - private double frameRate_; + private double frameRate_ ; /** - * - * *
        * Required. The target video frame rate in frames per second (FPS). Must be less
        * than or equal to 60. Will default to the input frame rate if larger
@@ -1918,7 +1737,6 @@ public Builder clearHeightPixels() {
        * 
* * double frame_rate = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The frameRate. */ @java.lang.Override @@ -1926,8 +1744,6 @@ public double getFrameRate() { return frameRate_; } /** - * - * *
        * Required. The target video frame rate in frames per second (FPS). Must be less
        * than or equal to 60. Will default to the input frame rate if larger
@@ -1939,19 +1755,16 @@ public double getFrameRate() {
        * 
* * double frame_rate = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The frameRate to set. * @return This builder for chaining. */ public Builder setFrameRate(double value) { - + frameRate_ = value; onChanged(); return this; } /** - * - * *
        * Required. The target video frame rate in frames per second (FPS). Must be less
        * than or equal to 60. Will default to the input frame rate if larger
@@ -1963,20 +1776,17 @@ public Builder setFrameRate(double value) {
        * 
* * double frame_rate = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFrameRate() { - + frameRate_ = 0D; onChanged(); return this; } - private int bitrateBps_; + private int bitrateBps_ ; /** - * - * *
        * Required. The video bitrate in bits per second. Minimum value is 10,000.
        * - For SD resolution (< 720p), must be <= 3,000,000 (3 Mbps).
@@ -1984,7 +1794,6 @@ public Builder clearFrameRate() {
        * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bitrateBps. */ @java.lang.Override @@ -1992,8 +1801,6 @@ public int getBitrateBps() { return bitrateBps_; } /** - * - * *
        * Required. The video bitrate in bits per second. Minimum value is 10,000.
        * - For SD resolution (< 720p), must be <= 3,000,000 (3 Mbps).
@@ -2001,19 +1808,16 @@ public int getBitrateBps() {
        * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bitrateBps to set. * @return This builder for chaining. */ public Builder setBitrateBps(int value) { - + bitrateBps_ = value; onChanged(); return this; } /** - * - * *
        * Required. The video bitrate in bits per second. Minimum value is 10,000.
        * - For SD resolution (< 720p), must be <= 3,000,000 (3 Mbps).
@@ -2021,27 +1825,23 @@ public Builder setBitrateBps(int value) {
        * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBitrateBps() { - + bitrateBps_ = 0; onChanged(); return this; } - private boolean allowOpenGop_; + private boolean allowOpenGop_ ; /** - * - * *
        * Specifies whether an open Group of Pictures (GOP) structure should be
        * allowed or not. The default is `false`.
        * 
* * bool allow_open_gop = 6; - * * @return The allowOpenGop. */ @java.lang.Override @@ -2049,46 +1849,38 @@ public boolean getAllowOpenGop() { return allowOpenGop_; } /** - * - * *
        * Specifies whether an open Group of Pictures (GOP) structure should be
        * allowed or not. The default is `false`.
        * 
* * bool allow_open_gop = 6; - * * @param value The allowOpenGop to set. * @return This builder for chaining. */ public Builder setAllowOpenGop(boolean value) { - + allowOpenGop_ = value; onChanged(); return this; } /** - * - * *
        * Specifies whether an open Group of Pictures (GOP) structure should be
        * allowed or not. The default is `false`.
        * 
* * bool allow_open_gop = 6; - * * @return This builder for chaining. */ public Builder clearAllowOpenGop() { - + allowOpenGop_ = false; onChanged(); return this; } /** - * - * *
        * Select the GOP size based on the specified frame count.
        * If GOP frame count is set instead of GOP duration, GOP duration will be
@@ -2098,15 +1890,12 @@ public Builder clearAllowOpenGop() {
        * 
* * int32 gop_frame_count = 7; - * * @return Whether the gopFrameCount field is set. */ public boolean hasGopFrameCount() { return gopModeCase_ == 7; } /** - * - * *
        * Select the GOP size based on the specified frame count.
        * If GOP frame count is set instead of GOP duration, GOP duration will be
@@ -2116,7 +1905,6 @@ public boolean hasGopFrameCount() {
        * 
* * int32 gop_frame_count = 7; - * * @return The gopFrameCount. */ public int getGopFrameCount() { @@ -2126,8 +1914,6 @@ public int getGopFrameCount() { return 0; } /** - * - * *
        * Select the GOP size based on the specified frame count.
        * If GOP frame count is set instead of GOP duration, GOP duration will be
@@ -2137,7 +1923,6 @@ public int getGopFrameCount() {
        * 
* * int32 gop_frame_count = 7; - * * @param value The gopFrameCount to set. * @return This builder for chaining. */ @@ -2148,8 +1933,6 @@ public Builder setGopFrameCount(int value) { return this; } /** - * - * *
        * Select the GOP size based on the specified frame count.
        * If GOP frame count is set instead of GOP duration, GOP duration will be
@@ -2159,7 +1942,6 @@ public Builder setGopFrameCount(int value) {
        * 
* * int32 gop_frame_count = 7; - * * @return This builder for chaining. */ public Builder clearGopFrameCount() { @@ -2172,13 +1954,8 @@ public Builder clearGopFrameCount() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - gopDurationBuilder_; - /** - * - * + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> gopDurationBuilder_; + /** *
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -2189,7 +1966,6 @@ public Builder clearGopFrameCount() {
        * 
* * .google.protobuf.Duration gop_duration = 8; - * * @return Whether the gopDuration field is set. */ @java.lang.Override @@ -2197,8 +1973,6 @@ public boolean hasGopDuration() { return gopModeCase_ == 8; } /** - * - * *
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -2209,7 +1983,6 @@ public boolean hasGopDuration() {
        * 
* * .google.protobuf.Duration gop_duration = 8; - * * @return The gopDuration. */ @java.lang.Override @@ -2227,8 +2000,6 @@ public com.google.protobuf.Duration getGopDuration() { } } /** - * - * *
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -2254,8 +2025,6 @@ public Builder setGopDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -2267,7 +2036,8 @@ public Builder setGopDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration gop_duration = 8;
        */
-      public Builder setGopDuration(com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setGopDuration(
+          com.google.protobuf.Duration.Builder builderForValue) {
         if (gopDurationBuilder_ == null) {
           gopMode_ = builderForValue.build();
           onChanged();
@@ -2278,8 +2048,6 @@ public Builder setGopDuration(com.google.protobuf.Duration.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -2293,11 +2061,10 @@ public Builder setGopDuration(com.google.protobuf.Duration.Builder builderForVal
        */
       public Builder mergeGopDuration(com.google.protobuf.Duration value) {
         if (gopDurationBuilder_ == null) {
-          if (gopModeCase_ == 8 && gopMode_ != com.google.protobuf.Duration.getDefaultInstance()) {
-            gopMode_ =
-                com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) gopMode_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (gopModeCase_ == 8 &&
+              gopMode_ != com.google.protobuf.Duration.getDefaultInstance()) {
+            gopMode_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) gopMode_)
+                .mergeFrom(value).buildPartial();
           } else {
             gopMode_ = value;
           }
@@ -2313,8 +2080,6 @@ public Builder mergeGopDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -2343,8 +2108,6 @@ public Builder clearGopDuration() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -2360,8 +2123,6 @@ public com.google.protobuf.Duration.Builder getGopDurationBuilder() {
         return getGopDurationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -2385,8 +2146,6 @@ public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -2399,39 +2158,32 @@ public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
        * .google.protobuf.Duration gop_duration = 8;
        */
       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> 
           getGopDurationFieldBuilder() {
         if (gopDurationBuilder_ == null) {
           if (!(gopModeCase_ == 8)) {
             gopMode_ = com.google.protobuf.Duration.getDefaultInstance();
           }
-          gopDurationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
-                  (com.google.protobuf.Duration) gopMode_, getParentForChildren(), isClean());
+          gopDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                  (com.google.protobuf.Duration) gopMode_,
+                  getParentForChildren(),
+                  isClean());
           gopMode_ = null;
         }
         gopModeCase_ = 8;
-        onChanged();
-        ;
+        onChanged();;
         return gopDurationBuilder_;
       }
 
-      private int vbvSizeBits_;
+      private int vbvSizeBits_ ;
       /**
-       *
-       *
        * 
        * Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
        * greater than zero. The default is equal to [bitrate_bps][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.bitrate_bps].
        * 
* * int32 vbv_size_bits = 9; - * * @return The vbvSizeBits. */ @java.lang.Override @@ -2439,47 +2191,39 @@ public int getVbvSizeBits() { return vbvSizeBits_; } /** - * - * *
        * Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
        * greater than zero. The default is equal to [bitrate_bps][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.bitrate_bps].
        * 
* * int32 vbv_size_bits = 9; - * * @param value The vbvSizeBits to set. * @return This builder for chaining. */ public Builder setVbvSizeBits(int value) { - + vbvSizeBits_ = value; onChanged(); return this; } /** - * - * *
        * Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
        * greater than zero. The default is equal to [bitrate_bps][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.bitrate_bps].
        * 
* * int32 vbv_size_bits = 9; - * * @return This builder for chaining. */ public Builder clearVbvSizeBits() { - + vbvSizeBits_ = 0; onChanged(); return this; } - private int vbvFullnessBits_; + private int vbvFullnessBits_ ; /** - * - * *
        * Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
        * Must be greater than zero. The default is equal to 90% of
@@ -2487,7 +2231,6 @@ public Builder clearVbvSizeBits() {
        * 
* * int32 vbv_fullness_bits = 10; - * * @return The vbvFullnessBits. */ @java.lang.Override @@ -2495,8 +2238,6 @@ public int getVbvFullnessBits() { return vbvFullnessBits_; } /** - * - * *
        * Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
        * Must be greater than zero. The default is equal to 90% of
@@ -2504,19 +2245,16 @@ public int getVbvFullnessBits() {
        * 
* * int32 vbv_fullness_bits = 10; - * * @param value The vbvFullnessBits to set. * @return This builder for chaining. */ public Builder setVbvFullnessBits(int value) { - + vbvFullnessBits_ = value; onChanged(); return this; } /** - * - * *
        * Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
        * Must be greater than zero. The default is equal to 90% of
@@ -2524,11 +2262,10 @@ public Builder setVbvFullnessBits(int value) {
        * 
* * int32 vbv_fullness_bits = 10; - * * @return This builder for chaining. */ public Builder clearVbvFullnessBits() { - + vbvFullnessBits_ = 0; onChanged(); return this; @@ -2536,8 +2273,6 @@ public Builder clearVbvFullnessBits() { private java.lang.Object entropyCoder_ = ""; /** - * - * *
        * The entropy coder to use. The default is `cabac`.
        * Supported entropy coders:
@@ -2546,13 +2281,13 @@ public Builder clearVbvFullnessBits() {
        * 
* * string entropy_coder = 11; - * * @return The entropyCoder. */ public java.lang.String getEntropyCoder() { java.lang.Object ref = entropyCoder_; 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(); entropyCoder_ = s; return s; @@ -2561,8 +2296,6 @@ public java.lang.String getEntropyCoder() { } } /** - * - * *
        * The entropy coder to use. The default is `cabac`.
        * Supported entropy coders:
@@ -2571,14 +2304,15 @@ public java.lang.String getEntropyCoder() {
        * 
* * string entropy_coder = 11; - * * @return The bytes for entropyCoder. */ - public com.google.protobuf.ByteString getEntropyCoderBytes() { + public com.google.protobuf.ByteString + getEntropyCoderBytes() { java.lang.Object ref = entropyCoder_; 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); entropyCoder_ = b; return b; } else { @@ -2586,8 +2320,6 @@ public com.google.protobuf.ByteString getEntropyCoderBytes() { } } /** - * - * *
        * The entropy coder to use. The default is `cabac`.
        * Supported entropy coders:
@@ -2596,22 +2328,20 @@ public com.google.protobuf.ByteString getEntropyCoderBytes() {
        * 
* * string entropy_coder = 11; - * * @param value The entropyCoder to set. * @return This builder for chaining. */ - public Builder setEntropyCoder(java.lang.String value) { + public Builder setEntropyCoder( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entropyCoder_ = value; onChanged(); return this; } /** - * - * *
        * The entropy coder to use. The default is `cabac`.
        * Supported entropy coders:
@@ -2620,18 +2350,15 @@ public Builder setEntropyCoder(java.lang.String value) {
        * 
* * string entropy_coder = 11; - * * @return This builder for chaining. */ public Builder clearEntropyCoder() { - + entropyCoder_ = getDefaultInstance().getEntropyCoder(); onChanged(); return this; } /** - * - * *
        * The entropy coder to use. The default is `cabac`.
        * Supported entropy coders:
@@ -2640,32 +2367,29 @@ public Builder clearEntropyCoder() {
        * 
* * string entropy_coder = 11; - * * @param value The bytes for entropyCoder to set. * @return This builder for chaining. */ - public Builder setEntropyCoderBytes(com.google.protobuf.ByteString value) { + public Builder setEntropyCoderBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entropyCoder_ = value; onChanged(); return this; } - private boolean bPyramid_; + private boolean bPyramid_ ; /** - * - * *
        * Allow B-pyramid for reference frame selection. This may not be supported
        * on all decoders. The default is `false`.
        * 
* * bool b_pyramid = 12; - * * @return The bPyramid. */ @java.lang.Override @@ -2673,47 +2397,39 @@ public boolean getBPyramid() { return bPyramid_; } /** - * - * *
        * Allow B-pyramid for reference frame selection. This may not be supported
        * on all decoders. The default is `false`.
        * 
* * bool b_pyramid = 12; - * * @param value The bPyramid to set. * @return This builder for chaining. */ public Builder setBPyramid(boolean value) { - + bPyramid_ = value; onChanged(); return this; } /** - * - * *
        * Allow B-pyramid for reference frame selection. This may not be supported
        * on all decoders. The default is `false`.
        * 
* * bool b_pyramid = 12; - * * @return This builder for chaining. */ public Builder clearBPyramid() { - + bPyramid_ = false; onChanged(); return this; } - private int bFrameCount_; + private int bFrameCount_ ; /** - * - * *
        * The number of consecutive B-frames. Must be greater than or equal to
        * zero. Must be less than [gop_frame_count][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_frame_count] if set. The default
@@ -2721,7 +2437,6 @@ public Builder clearBPyramid() {
        * 
* * int32 b_frame_count = 13; - * * @return The bFrameCount. */ @java.lang.Override @@ -2729,8 +2444,6 @@ public int getBFrameCount() { return bFrameCount_; } /** - * - * *
        * The number of consecutive B-frames. Must be greater than or equal to
        * zero. Must be less than [gop_frame_count][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_frame_count] if set. The default
@@ -2738,19 +2451,16 @@ public int getBFrameCount() {
        * 
* * int32 b_frame_count = 13; - * * @param value The bFrameCount to set. * @return This builder for chaining. */ public Builder setBFrameCount(int value) { - + bFrameCount_ = value; onChanged(); return this; } /** - * - * *
        * The number of consecutive B-frames. Must be greater than or equal to
        * zero. Must be less than [gop_frame_count][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_frame_count] if set. The default
@@ -2758,20 +2468,17 @@ public Builder setBFrameCount(int value) {
        * 
* * int32 b_frame_count = 13; - * * @return This builder for chaining. */ public Builder clearBFrameCount() { - + bFrameCount_ = 0; onChanged(); return this; } - private double aqStrength_; + private double aqStrength_ ; /** - * - * *
        * Specify the intensity of the adaptive quantizer (AQ). Must be between 0
        * and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A
@@ -2779,7 +2486,6 @@ public Builder clearBFrameCount() {
        * 
* * double aq_strength = 14; - * * @return The aqStrength. */ @java.lang.Override @@ -2787,8 +2493,6 @@ public double getAqStrength() { return aqStrength_; } /** - * - * *
        * Specify the intensity of the adaptive quantizer (AQ). Must be between 0
        * and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A
@@ -2796,19 +2500,16 @@ public double getAqStrength() {
        * 
* * double aq_strength = 14; - * * @param value The aqStrength to set. * @return This builder for chaining. */ public Builder setAqStrength(double value) { - + aqStrength_ = value; onChanged(); return this; } /** - * - * *
        * Specify the intensity of the adaptive quantizer (AQ). Must be between 0
        * and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A
@@ -2816,11 +2517,10 @@ public Builder setAqStrength(double value) {
        * 
* * double aq_strength = 14; - * * @return This builder for chaining. */ public Builder clearAqStrength() { - + aqStrength_ = 0D; onChanged(); return this; @@ -2828,8 +2528,6 @@ public Builder clearAqStrength() { private java.lang.Object profile_ = ""; /** - * - * *
        * Enforces the specified codec profile. The following profiles are
        * supported:
@@ -2844,13 +2542,13 @@ public Builder clearAqStrength() {
        * 
* * string profile = 15; - * * @return The profile. */ public java.lang.String getProfile() { java.lang.Object ref = profile_; 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(); profile_ = s; return s; @@ -2859,8 +2557,6 @@ public java.lang.String getProfile() { } } /** - * - * *
        * Enforces the specified codec profile. The following profiles are
        * supported:
@@ -2875,14 +2571,15 @@ public java.lang.String getProfile() {
        * 
* * string profile = 15; - * * @return The bytes for profile. */ - public com.google.protobuf.ByteString getProfileBytes() { + public com.google.protobuf.ByteString + getProfileBytes() { java.lang.Object ref = profile_; 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); profile_ = b; return b; } else { @@ -2890,8 +2587,6 @@ public com.google.protobuf.ByteString getProfileBytes() { } } /** - * - * *
        * Enforces the specified codec profile. The following profiles are
        * supported:
@@ -2906,22 +2601,20 @@ public com.google.protobuf.ByteString getProfileBytes() {
        * 
* * string profile = 15; - * * @param value The profile to set. * @return This builder for chaining. */ - public Builder setProfile(java.lang.String value) { + public Builder setProfile( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + profile_ = value; onChanged(); return this; } /** - * - * *
        * Enforces the specified codec profile. The following profiles are
        * supported:
@@ -2936,18 +2629,15 @@ public Builder setProfile(java.lang.String value) {
        * 
* * string profile = 15; - * * @return This builder for chaining. */ public Builder clearProfile() { - + profile_ = getDefaultInstance().getProfile(); onChanged(); return this; } /** - * - * *
        * Enforces the specified codec profile. The following profiles are
        * supported:
@@ -2962,16 +2652,16 @@ public Builder clearProfile() {
        * 
* * string profile = 15; - * * @param value The bytes for profile to set. * @return This builder for chaining. */ - public Builder setProfileBytes(com.google.protobuf.ByteString value) { + public Builder setProfileBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + profile_ = value; onChanged(); return this; @@ -2979,8 +2669,6 @@ public Builder setProfileBytes(com.google.protobuf.ByteString value) { private java.lang.Object tune_ = ""; /** - * - * *
        * Enforces the specified codec tune. The available options are
        * [FFmpeg-compatible Encode
@@ -2990,13 +2678,13 @@ public Builder setProfileBytes(com.google.protobuf.ByteString value) {
        * 
* * string tune = 16; - * * @return The tune. */ public java.lang.String getTune() { java.lang.Object ref = tune_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tune_ = s; return s; @@ -3005,8 +2693,6 @@ public java.lang.String getTune() { } } /** - * - * *
        * Enforces the specified codec tune. The available options are
        * [FFmpeg-compatible Encode
@@ -3016,14 +2702,15 @@ public java.lang.String getTune() {
        * 
* * string tune = 16; - * * @return The bytes for tune. */ - public com.google.protobuf.ByteString getTuneBytes() { + public com.google.protobuf.ByteString + getTuneBytes() { java.lang.Object ref = tune_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tune_ = b; return b; } else { @@ -3031,8 +2718,6 @@ public com.google.protobuf.ByteString getTuneBytes() { } } /** - * - * *
        * Enforces the specified codec tune. The available options are
        * [FFmpeg-compatible Encode
@@ -3042,22 +2727,20 @@ public com.google.protobuf.ByteString getTuneBytes() {
        * 
* * string tune = 16; - * * @param value The tune to set. * @return This builder for chaining. */ - public Builder setTune(java.lang.String value) { + public Builder setTune( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tune_ = value; onChanged(); return this; } /** - * - * *
        * Enforces the specified codec tune. The available options are
        * [FFmpeg-compatible Encode
@@ -3067,18 +2750,15 @@ public Builder setTune(java.lang.String value) {
        * 
* * string tune = 16; - * * @return This builder for chaining. */ public Builder clearTune() { - + tune_ = getDefaultInstance().getTune(); onChanged(); return this; } /** - * - * *
        * Enforces the specified codec tune. The available options are
        * [FFmpeg-compatible Encode
@@ -3088,21 +2768,20 @@ public Builder clearTune() {
        * 
* * string tune = 16; - * * @param value The bytes for tune to set. * @return This builder for chaining. */ - public Builder setTuneBytes(com.google.protobuf.ByteString value) { + public Builder setTuneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tune_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3115,32 +2794,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) - private static final com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings - DEFAULT_INSTANCE; - + private static final com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings(); } - public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings - getDefaultInstance() { + public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public H264CodecSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new H264CodecSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public H264CodecSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new H264CodecSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3152,23 +2829,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings - getDefaultInstanceForType() { + public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int codecSettingsCase_ = 0; private java.lang.Object codecSettings_; - public enum CodecSettingsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { H264(20), CODECSETTINGS_NOT_SET(0); private final int value; - private CodecSettingsCase(int value) { this.value = value; } @@ -3184,34 +2858,29 @@ public static CodecSettingsCase valueOf(int value) { public static CodecSettingsCase forNumber(int value) { switch (value) { - case 20: - return H264; - case 0: - return CODECSETTINGS_NOT_SET; - default: - return null; + case 20: return H264; + case 0: return CODECSETTINGS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public CodecSettingsCase getCodecSettingsCase() { - return CodecSettingsCase.forNumber(codecSettingsCase_); + public CodecSettingsCase + getCodecSettingsCase() { + return CodecSettingsCase.forNumber( + codecSettingsCase_); } public static final int H264_FIELD_NUMBER = 20; /** - * - * *
    * H264 codec settings.
    * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; - * * @return Whether the h264 field is set. */ @java.lang.Override @@ -3219,26 +2888,21 @@ public boolean hasH264() { return codecSettingsCase_ == 20; } /** - * - * *
    * H264 codec settings.
    * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; - * * @return The h264. */ @java.lang.Override public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings getH264() { if (codecSettingsCase_ == 20) { - return (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_; + return (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_; } return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance(); } /** - * - * *
    * H264 codec settings.
    * 
@@ -3246,16 +2910,14 @@ public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings getH26 * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder - getH264OrBuilder() { + public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder getH264OrBuilder() { if (codecSettingsCase_ == 20) { - return (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_; + return (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_; } return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3267,10 +2929,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (codecSettingsCase_ == 20) { - output.writeMessage( - 20, (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_); + output.writeMessage(20, (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_); } unknownFields.writeTo(output); } @@ -3282,10 +2944,8 @@ public int getSerializedSize() { size = 0; if (codecSettingsCase_ == 20) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 20, - (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3295,18 +2955,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.VideoStream)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.VideoStream other = - (com.google.cloud.video.livestream.v1.VideoStream) obj; + com.google.cloud.video.livestream.v1.VideoStream other = (com.google.cloud.video.livestream.v1.VideoStream) obj; if (!getCodecSettingsCase().equals(other.getCodecSettingsCase())) return false; switch (codecSettingsCase_) { case 20: - if (!getH264().equals(other.getH264())) return false; + if (!getH264() + .equals(other.getH264())) return false; break; case 0: default: @@ -3335,127 +2995,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.VideoStream parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.VideoStream parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.VideoStream parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.VideoStream parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.VideoStream parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.VideoStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 stream resource.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.VideoStream} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.VideoStream) com.google.cloud.video.livestream.v1.VideoStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_VideoStream_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.VideoStream.class, - com.google.cloud.video.livestream.v1.VideoStream.Builder.class); + com.google.cloud.video.livestream.v1.VideoStream.class, com.google.cloud.video.livestream.v1.VideoStream.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.VideoStream.newBuilder() @@ -3463,15 +3114,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(); @@ -3481,9 +3133,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto - .internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor; } @java.lang.Override @@ -3502,8 +3154,7 @@ public com.google.cloud.video.livestream.v1.VideoStream build() { @java.lang.Override public com.google.cloud.video.livestream.v1.VideoStream buildPartial() { - com.google.cloud.video.livestream.v1.VideoStream result = - new com.google.cloud.video.livestream.v1.VideoStream(this); + com.google.cloud.video.livestream.v1.VideoStream result = new com.google.cloud.video.livestream.v1.VideoStream(this); if (codecSettingsCase_ == 20) { if (h264Builder_ == null) { result.codecSettings_ = codecSettings_; @@ -3520,39 +3171,38 @@ public com.google.cloud.video.livestream.v1.VideoStream buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.VideoStream) { - return mergeFrom((com.google.cloud.video.livestream.v1.VideoStream) other); + return mergeFrom((com.google.cloud.video.livestream.v1.VideoStream)other); } else { super.mergeFrom(other); return this; @@ -3560,18 +3210,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.VideoStream other) { - if (other == com.google.cloud.video.livestream.v1.VideoStream.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.VideoStream.getDefaultInstance()) return this; switch (other.getCodecSettingsCase()) { - case H264: - { - mergeH264(other.getH264()); - break; - } - case CODECSETTINGS_NOT_SET: - { - break; - } + case H264: { + mergeH264(other.getH264()); + break; + } + case CODECSETTINGS_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -3601,12 +3248,12 @@ public Builder mergeFrom( } return this; } - private int codecSettingsCase_ = 0; private java.lang.Object codecSettings_; - - public CodecSettingsCase getCodecSettingsCase() { - return CodecSettingsCase.forNumber(codecSettingsCase_); + public CodecSettingsCase + getCodecSettingsCase() { + return CodecSettingsCase.forNumber( + codecSettingsCase_); } public Builder clearCodecSettings() { @@ -3616,20 +3263,15 @@ public Builder clearCodecSettings() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings, - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder, - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder> - h264Builder_; + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings, com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder, com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder> h264Builder_; /** - * - * *
      * H264 codec settings.
      * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; - * * @return Whether the h264 field is set. */ @java.lang.Override @@ -3637,44 +3279,35 @@ public boolean hasH264() { return codecSettingsCase_ == 20; } /** - * - * *
      * H264 codec settings.
      * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; - * * @return The h264. */ @java.lang.Override public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings getH264() { if (h264Builder_ == null) { if (codecSettingsCase_ == 20) { - return (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) - codecSettings_; + return (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_; } - return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings - .getDefaultInstance(); + return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance(); } else { if (codecSettingsCase_ == 20) { return h264Builder_.getMessage(); } - return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings - .getDefaultInstance(); + return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance(); } } /** - * - * *
      * H264 codec settings.
      * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; */ - public Builder setH264( - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings value) { + public Builder setH264(com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings value) { if (h264Builder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3688,8 +3321,6 @@ public Builder setH264( return this; } /** - * - * *
      * H264 codec settings.
      * 
@@ -3697,8 +3328,7 @@ public Builder setH264( * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; */ public Builder setH264( - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder - builderForValue) { + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder builderForValue) { if (h264Builder_ == null) { codecSettings_ = builderForValue.build(); onChanged(); @@ -3709,27 +3339,18 @@ public Builder setH264( return this; } /** - * - * *
      * H264 codec settings.
      * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; */ - public Builder mergeH264( - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings value) { + public Builder mergeH264(com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings value) { if (h264Builder_ == null) { - if (codecSettingsCase_ == 20 - && codecSettings_ - != com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings - .getDefaultInstance()) { - codecSettings_ = - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.newBuilder( - (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) - codecSettings_) - .mergeFrom(value) - .buildPartial(); + if (codecSettingsCase_ == 20 && + codecSettings_ != com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance()) { + codecSettings_ = com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.newBuilder((com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_) + .mergeFrom(value).buildPartial(); } else { codecSettings_ = value; } @@ -3745,8 +3366,6 @@ public Builder mergeH264( return this; } /** - * - * *
      * H264 codec settings.
      * 
@@ -3770,21 +3389,16 @@ public Builder clearH264() { return this; } /** - * - * *
      * H264 codec settings.
      * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; */ - public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder - getH264Builder() { + public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder getH264Builder() { return getH264FieldBuilder().getBuilder(); } /** - * - * *
      * H264 codec settings.
      * 
@@ -3792,22 +3406,17 @@ public Builder clearH264() { * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder - getH264OrBuilder() { + public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder getH264OrBuilder() { if ((codecSettingsCase_ == 20) && (h264Builder_ != null)) { return h264Builder_.getMessageOrBuilder(); } else { if (codecSettingsCase_ == 20) { - return (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) - codecSettings_; + return (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_; } - return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings - .getDefaultInstance(); + return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance(); } } /** - * - * *
      * H264 codec settings.
      * 
@@ -3815,34 +3424,26 @@ public Builder clearH264() { * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings, - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder, - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder> + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings, com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder, com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder> getH264FieldBuilder() { if (h264Builder_ == null) { if (!(codecSettingsCase_ == 20)) { - codecSettings_ = - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings - .getDefaultInstance(); + codecSettings_ = com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance(); } - h264Builder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings, - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder, - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder>( + h264Builder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings, com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder, com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder>( (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_, getParentForChildren(), isClean()); codecSettings_ = null; } codecSettingsCase_ = 20; - onChanged(); - ; + onChanged();; return h264Builder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3852,12 +3453,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.VideoStream) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.VideoStream) private static final com.google.cloud.video.livestream.v1.VideoStream DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.VideoStream(); } @@ -3866,16 +3467,16 @@ public static com.google.cloud.video.livestream.v1.VideoStream getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3890,4 +3491,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.VideoStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamOrBuilder.java similarity index 62% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamOrBuilder.java index dac12d3..96e5696 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; -public interface VideoStreamOrBuilder - extends +public interface VideoStreamOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.VideoStream) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * H264 codec settings.
    * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; - * * @return Whether the h264 field is set. */ boolean hasH264(); /** - * - * *
    * H264 codec settings.
    * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; - * * @return The h264. */ com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings getH264(); /** - * - * *
    * H264 codec settings.
    * 
diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamProperty.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamProperty.java similarity index 69% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamProperty.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamProperty.java index 940d488..2b45c5b 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamProperty.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamProperty.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** - * - * *
  * Properties of the video stream.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.VideoStreamProperty} */ -public final class VideoStreamProperty extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoStreamProperty extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.VideoStreamProperty) VideoStreamPropertyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoStreamProperty.newBuilder() to construct. private VideoStreamProperty(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private VideoStreamProperty() {} + private VideoStreamProperty() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoStreamProperty(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoStreamProperty( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,34 +52,31 @@ private VideoStreamProperty( case 0: done = true; break; - case 8: - { - index_ = input.readInt32(); - break; + case 8: { + + index_ = input.readInt32(); + break; + } + case 18: { + com.google.cloud.video.livestream.v1.VideoFormat.Builder subBuilder = null; + if (videoFormat_ != null) { + subBuilder = videoFormat_.toBuilder(); } - case 18: - { - com.google.cloud.video.livestream.v1.VideoFormat.Builder subBuilder = null; - if (videoFormat_ != null) { - subBuilder = videoFormat_.toBuilder(); - } - videoFormat_ = - input.readMessage( - com.google.cloud.video.livestream.v1.VideoFormat.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(videoFormat_); - videoFormat_ = subBuilder.buildPartial(); - } - - break; + videoFormat_ = input.readMessage(com.google.cloud.video.livestream.v1.VideoFormat.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(videoFormat_); + videoFormat_ = 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) { @@ -103,39 +84,34 @@ private VideoStreamProperty( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.VideoStreamProperty.class, - com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder.class); + com.google.cloud.video.livestream.v1.VideoStreamProperty.class, com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder.class); } public static final int INDEX_FIELD_NUMBER = 1; private int index_; /** - * - * *
    * Index of this video stream.
    * 
* * int32 index = 1; - * * @return The index. */ @java.lang.Override @@ -146,14 +122,11 @@ public int getIndex() { public static final int VIDEO_FORMAT_FIELD_NUMBER = 2; private com.google.cloud.video.livestream.v1.VideoFormat videoFormat_; /** - * - * *
    * Properties of the video format.
    * 
* * .google.cloud.video.livestream.v1.VideoFormat video_format = 2; - * * @return Whether the videoFormat field is set. */ @java.lang.Override @@ -161,25 +134,18 @@ public boolean hasVideoFormat() { return videoFormat_ != null; } /** - * - * *
    * Properties of the video format.
    * 
* * .google.cloud.video.livestream.v1.VideoFormat video_format = 2; - * * @return The videoFormat. */ @java.lang.Override public com.google.cloud.video.livestream.v1.VideoFormat getVideoFormat() { - return videoFormat_ == null - ? com.google.cloud.video.livestream.v1.VideoFormat.getDefaultInstance() - : videoFormat_; + return videoFormat_ == null ? com.google.cloud.video.livestream.v1.VideoFormat.getDefaultInstance() : videoFormat_; } /** - * - * *
    * Properties of the video format.
    * 
@@ -192,7 +158,6 @@ public com.google.cloud.video.livestream.v1.VideoFormatOrBuilder getVideoFormatO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,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 (index_ != 0) { output.writeInt32(1, index_); } @@ -221,10 +187,12 @@ public int getSerializedSize() { size = 0; if (index_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, index_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, index_); } if (videoFormat_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getVideoFormat()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getVideoFormat()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,18 +202,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.VideoStreamProperty)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.VideoStreamProperty other = - (com.google.cloud.video.livestream.v1.VideoStreamProperty) obj; + com.google.cloud.video.livestream.v1.VideoStreamProperty other = (com.google.cloud.video.livestream.v1.VideoStreamProperty) obj; - if (getIndex() != other.getIndex()) return false; + if (getIndex() + != other.getIndex()) return false; if (hasVideoFormat() != other.hasVideoFormat()) return false; if (hasVideoFormat()) { - if (!getVideoFormat().equals(other.getVideoFormat())) return false; + if (!getVideoFormat() + .equals(other.getVideoFormat())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -270,127 +239,117 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.livestream.v1.VideoStreamProperty prototype) { + public static Builder newBuilder(com.google.cloud.video.livestream.v1.VideoStreamProperty prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Properties of the video stream.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.VideoStreamProperty} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.VideoStreamProperty) com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.VideoStreamProperty.class, - com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder.class); + com.google.cloud.video.livestream.v1.VideoStreamProperty.class, com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.VideoStreamProperty.newBuilder() @@ -398,15 +357,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -422,9 +382,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto - .internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor; } @java.lang.Override @@ -443,8 +403,7 @@ public com.google.cloud.video.livestream.v1.VideoStreamProperty build() { @java.lang.Override public com.google.cloud.video.livestream.v1.VideoStreamProperty buildPartial() { - com.google.cloud.video.livestream.v1.VideoStreamProperty result = - new com.google.cloud.video.livestream.v1.VideoStreamProperty(this); + com.google.cloud.video.livestream.v1.VideoStreamProperty result = new com.google.cloud.video.livestream.v1.VideoStreamProperty(this); result.index_ = index_; if (videoFormatBuilder_ == null) { result.videoFormat_ = videoFormat_; @@ -459,39 +418,38 @@ public com.google.cloud.video.livestream.v1.VideoStreamProperty buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.VideoStreamProperty) { - return mergeFrom((com.google.cloud.video.livestream.v1.VideoStreamProperty) other); + return mergeFrom((com.google.cloud.video.livestream.v1.VideoStreamProperty)other); } else { super.mergeFrom(other); return this; @@ -499,8 +457,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.VideoStreamProperty other) { - if (other == com.google.cloud.video.livestream.v1.VideoStreamProperty.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.livestream.v1.VideoStreamProperty.getDefaultInstance()) return this; if (other.getIndex() != 0) { setIndex(other.getIndex()); } @@ -526,8 +483,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.livestream.v1.VideoStreamProperty) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.livestream.v1.VideoStreamProperty) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -537,16 +493,13 @@ public Builder mergeFrom( return this; } - private int index_; + private int index_ ; /** - * - * *
      * Index of this video stream.
      * 
* * int32 index = 1; - * * @return The index. */ @java.lang.Override @@ -554,36 +507,30 @@ public int getIndex() { return index_; } /** - * - * *
      * Index of this video stream.
      * 
* * int32 index = 1; - * * @param value The index to set. * @return This builder for chaining. */ public Builder setIndex(int value) { - + index_ = value; onChanged(); return this; } /** - * - * *
      * Index of this video stream.
      * 
* * int32 index = 1; - * * @return This builder for chaining. */ public Builder clearIndex() { - + index_ = 0; onChanged(); return this; @@ -591,47 +538,34 @@ public Builder clearIndex() { private com.google.cloud.video.livestream.v1.VideoFormat videoFormat_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoFormat, - com.google.cloud.video.livestream.v1.VideoFormat.Builder, - com.google.cloud.video.livestream.v1.VideoFormatOrBuilder> - videoFormatBuilder_; + com.google.cloud.video.livestream.v1.VideoFormat, com.google.cloud.video.livestream.v1.VideoFormat.Builder, com.google.cloud.video.livestream.v1.VideoFormatOrBuilder> videoFormatBuilder_; /** - * - * *
      * Properties of the video format.
      * 
* * .google.cloud.video.livestream.v1.VideoFormat video_format = 2; - * * @return Whether the videoFormat field is set. */ public boolean hasVideoFormat() { return videoFormatBuilder_ != null || videoFormat_ != null; } /** - * - * *
      * Properties of the video format.
      * 
* * .google.cloud.video.livestream.v1.VideoFormat video_format = 2; - * * @return The videoFormat. */ public com.google.cloud.video.livestream.v1.VideoFormat getVideoFormat() { if (videoFormatBuilder_ == null) { - return videoFormat_ == null - ? com.google.cloud.video.livestream.v1.VideoFormat.getDefaultInstance() - : videoFormat_; + return videoFormat_ == null ? com.google.cloud.video.livestream.v1.VideoFormat.getDefaultInstance() : videoFormat_; } else { return videoFormatBuilder_.getMessage(); } } /** - * - * *
      * Properties of the video format.
      * 
@@ -652,8 +586,6 @@ public Builder setVideoFormat(com.google.cloud.video.livestream.v1.VideoFormat v return this; } /** - * - * *
      * Properties of the video format.
      * 
@@ -672,8 +604,6 @@ public Builder setVideoFormat( return this; } /** - * - * *
      * Properties of the video format.
      * 
@@ -684,9 +614,7 @@ public Builder mergeVideoFormat(com.google.cloud.video.livestream.v1.VideoFormat if (videoFormatBuilder_ == null) { if (videoFormat_ != null) { videoFormat_ = - com.google.cloud.video.livestream.v1.VideoFormat.newBuilder(videoFormat_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.livestream.v1.VideoFormat.newBuilder(videoFormat_).mergeFrom(value).buildPartial(); } else { videoFormat_ = value; } @@ -698,8 +626,6 @@ public Builder mergeVideoFormat(com.google.cloud.video.livestream.v1.VideoFormat return this; } /** - * - * *
      * Properties of the video format.
      * 
@@ -718,8 +644,6 @@ public Builder clearVideoFormat() { return this; } /** - * - * *
      * Properties of the video format.
      * 
@@ -727,13 +651,11 @@ public Builder clearVideoFormat() { * .google.cloud.video.livestream.v1.VideoFormat video_format = 2; */ public com.google.cloud.video.livestream.v1.VideoFormat.Builder getVideoFormatBuilder() { - + onChanged(); return getVideoFormatFieldBuilder().getBuilder(); } /** - * - * *
      * Properties of the video format.
      * 
@@ -744,14 +666,11 @@ public com.google.cloud.video.livestream.v1.VideoFormatOrBuilder getVideoFormatO if (videoFormatBuilder_ != null) { return videoFormatBuilder_.getMessageOrBuilder(); } else { - return videoFormat_ == null - ? com.google.cloud.video.livestream.v1.VideoFormat.getDefaultInstance() - : videoFormat_; + return videoFormat_ == null ? + com.google.cloud.video.livestream.v1.VideoFormat.getDefaultInstance() : videoFormat_; } } /** - * - * *
      * Properties of the video format.
      * 
@@ -759,24 +678,21 @@ public com.google.cloud.video.livestream.v1.VideoFormatOrBuilder getVideoFormatO * .google.cloud.video.livestream.v1.VideoFormat video_format = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoFormat, - com.google.cloud.video.livestream.v1.VideoFormat.Builder, - com.google.cloud.video.livestream.v1.VideoFormatOrBuilder> + com.google.cloud.video.livestream.v1.VideoFormat, com.google.cloud.video.livestream.v1.VideoFormat.Builder, com.google.cloud.video.livestream.v1.VideoFormatOrBuilder> getVideoFormatFieldBuilder() { if (videoFormatBuilder_ == null) { - videoFormatBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoFormat, - com.google.cloud.video.livestream.v1.VideoFormat.Builder, - com.google.cloud.video.livestream.v1.VideoFormatOrBuilder>( - getVideoFormat(), getParentForChildren(), isClean()); + videoFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.VideoFormat, com.google.cloud.video.livestream.v1.VideoFormat.Builder, com.google.cloud.video.livestream.v1.VideoFormatOrBuilder>( + getVideoFormat(), + getParentForChildren(), + isClean()); videoFormat_ = null; } return videoFormatBuilder_; } - @java.lang.Override - 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 +702,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.VideoStreamProperty) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.VideoStreamProperty) private static final com.google.cloud.video.livestream.v1.VideoStreamProperty DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.VideoStreamProperty(); } @@ -800,16 +716,16 @@ public static com.google.cloud.video.livestream.v1.VideoStreamProperty getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoStreamProperty parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoStreamProperty(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoStreamProperty parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoStreamProperty(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -824,4 +740,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.VideoStreamProperty getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamPropertyOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamPropertyOrBuilder.java similarity index 63% rename from proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamPropertyOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamPropertyOrBuilder.java index 2c3791c..2d49795 100644 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamPropertyOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamPropertyOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface VideoStreamPropertyOrBuilder - extends +public interface VideoStreamPropertyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.VideoStreamProperty) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Index of this video stream.
    * 
* * int32 index = 1; - * * @return The index. */ int getIndex(); /** - * - * *
    * Properties of the video format.
    * 
* * .google.cloud.video.livestream.v1.VideoFormat video_format = 2; - * * @return Whether the videoFormat field is set. */ boolean hasVideoFormat(); /** - * - * *
    * Properties of the video format.
    * 
* * .google.cloud.video.livestream.v1.VideoFormat video_format = 2; - * * @return The videoFormat. */ com.google.cloud.video.livestream.v1.VideoFormat getVideoFormat(); /** - * - * *
    * Properties of the video format.
    * 
diff --git a/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/outputs.proto b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/outputs.proto similarity index 100% rename from proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/outputs.proto rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/outputs.proto diff --git a/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/resources.proto b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/resources.proto similarity index 100% rename from proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/resources.proto rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/resources.proto diff --git a/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/service.proto b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/service.proto similarity index 100% rename from proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/service.proto rename to owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/service.proto diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannel.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannelLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannelLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannelLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannelLRO.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannel.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelLocationnameChannelString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelLocationnameChannelString.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelLocationnameChannelString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelLocationnameChannelString.java index 51f976f..27ce263 100644 --- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelLocationnameChannelString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelLocationnameChannelString.java @@ -16,8 +16,7 @@ package com.google.cloud.video.livestream.v1.samples; -// [START -// livestream_v1_generated_livestreamserviceclient_createchannel_locationnamechannelstring_sync] +// [START livestream_v1_generated_livestreamserviceclient_createchannel_locationnamechannelstring_sync] import com.google.cloud.video.livestream.v1.Channel; import com.google.cloud.video.livestream.v1.LivestreamServiceClient; import com.google.cloud.video.livestream.v1.LocationName; @@ -40,5 +39,4 @@ public static void syncCreateChannelLocationnameChannelString() throws Exception } } } -// [END -// livestream_v1_generated_livestreamserviceclient_createchannel_locationnamechannelstring_sync] +// [END livestream_v1_generated_livestreamserviceclient_createchannel_locationnamechannelstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelStringChannelString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelStringChannelString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelStringChannelString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelStringChannelString.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/AsyncCreateEvent.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/AsyncCreateEvent.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/AsyncCreateEvent.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/AsyncCreateEvent.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEvent.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEvent.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEvent.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEvent.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventChannelnameEventString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventChannelnameEventString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventChannelnameEventString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventChannelnameEventString.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventStringEventString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventStringEventString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventStringEventString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventStringEventString.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInput.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInput.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInput.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInput.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInputLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInputLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInputLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInputLRO.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInput.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInput.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInput.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInput.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputLocationnameInputString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputLocationnameInputString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputLocationnameInputString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputLocationnameInputString.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputStringInputString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputStringInputString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputStringInputString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputStringInputString.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannel.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannelLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannelLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannelLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannelLRO.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannel.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannel.java index 3baa3e8..d4f1374 100644 --- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannel.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannel.java @@ -20,6 +20,7 @@ import com.google.cloud.video.livestream.v1.ChannelName; import com.google.cloud.video.livestream.v1.DeleteChannelRequest; import com.google.cloud.video.livestream.v1.LivestreamServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteChannel { diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelChannelname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelChannelname.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelChannelname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelChannelname.java index 321a56a..f3237fe 100644 --- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelChannelname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelChannelname.java @@ -19,6 +19,7 @@ // [START livestream_v1_generated_livestreamserviceclient_deletechannel_channelname_sync] import com.google.cloud.video.livestream.v1.ChannelName; import com.google.cloud.video.livestream.v1.LivestreamServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteChannelChannelname { diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelString.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelString.java index 6719746..3c8bac7 100644 --- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelString.java @@ -19,6 +19,7 @@ // [START livestream_v1_generated_livestreamserviceclient_deletechannel_string_sync] import com.google.cloud.video.livestream.v1.ChannelName; import com.google.cloud.video.livestream.v1.LivestreamServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteChannelString { diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/AsyncDeleteEvent.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/AsyncDeleteEvent.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/AsyncDeleteEvent.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/AsyncDeleteEvent.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEvent.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEvent.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEvent.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEvent.java index 869ad14..1ba36b3 100644 --- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEvent.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEvent.java @@ -20,6 +20,7 @@ import com.google.cloud.video.livestream.v1.DeleteEventRequest; import com.google.cloud.video.livestream.v1.EventName; import com.google.cloud.video.livestream.v1.LivestreamServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteEvent { diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventEventname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventEventname.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventEventname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventEventname.java index d96d491..8791418 100644 --- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventEventname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventEventname.java @@ -19,6 +19,7 @@ // [START livestream_v1_generated_livestreamserviceclient_deleteevent_eventname_sync] import com.google.cloud.video.livestream.v1.EventName; import com.google.cloud.video.livestream.v1.LivestreamServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteEventEventname { diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventString.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventString.java index 675aeed..fc0dac1 100644 --- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventString.java @@ -19,6 +19,7 @@ // [START livestream_v1_generated_livestreamserviceclient_deleteevent_string_sync] import com.google.cloud.video.livestream.v1.EventName; import com.google.cloud.video.livestream.v1.LivestreamServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteEventString { diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInput.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInput.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInput.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInput.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInputLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInputLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInputLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInputLRO.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInput.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInput.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInput.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInput.java index 34ff018..a811bee 100644 --- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInput.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInput.java @@ -20,6 +20,7 @@ import com.google.cloud.video.livestream.v1.DeleteInputRequest; import com.google.cloud.video.livestream.v1.InputName; import com.google.cloud.video.livestream.v1.LivestreamServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteInput { diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputInputname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputInputname.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputInputname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputInputname.java index 8e57c33..06aa24a 100644 --- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputInputname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputInputname.java @@ -19,6 +19,7 @@ // [START livestream_v1_generated_livestreamserviceclient_deleteinput_inputname_sync] import com.google.cloud.video.livestream.v1.InputName; import com.google.cloud.video.livestream.v1.LivestreamServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteInputInputname { diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputString.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputString.java index 6703950..e49a523 100644 --- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputString.java @@ -19,6 +19,7 @@ // [START livestream_v1_generated_livestreamserviceclient_deleteinput_string_sync] import com.google.cloud.video.livestream.v1.InputName; import com.google.cloud.video.livestream.v1.LivestreamServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteInputString { diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/AsyncGetChannel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/AsyncGetChannel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/AsyncGetChannel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/AsyncGetChannel.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannel.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelChannelname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelChannelname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelChannelname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelChannelname.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelString.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/AsyncGetEvent.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/AsyncGetEvent.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/AsyncGetEvent.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/AsyncGetEvent.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEvent.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEvent.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEvent.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEvent.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventEventname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventEventname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventEventname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventEventname.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventString.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/AsyncGetInput.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/AsyncGetInput.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/AsyncGetInput.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/AsyncGetInput.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInput.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInput.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInput.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInput.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputInputname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputInputname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputInputname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputInputname.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputString.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannels.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannels.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannels.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannels.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannelsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannelsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannelsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannelsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannels.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannels.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannels.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannels.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsString.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEvents.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEvents.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEvents.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEvents.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEventsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEventsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEventsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEventsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEvents.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEvents.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEvents.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEvents.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsChannelname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsChannelname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsChannelname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsChannelname.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsString.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputs.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputs.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputs.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputs.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputs.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputs.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputs.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputs.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsString.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannel.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannelLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannelLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannelLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannelLRO.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannel.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelChannelname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelChannelname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelChannelname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelChannelname.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelString.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannel.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannelLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannelLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannelLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannelLRO.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannel.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelChannelname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelChannelname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelChannelname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelChannelname.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelString.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannel.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannelLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannelLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannelLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannelLRO.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannel.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannelChannelFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannelChannelFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannelChannelFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannelChannelFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInput.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInput.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInput.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInput.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInputLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInputLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInputLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInputLRO.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInput.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInput.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInput.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInput.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInputInputFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInputInputFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInputInputFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInputInputFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamservicesettings/getchannel/SyncGetChannel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamservicesettings/getchannel/SyncGetChannel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamservicesettings/getchannel/SyncGetChannel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamservicesettings/getchannel/SyncGetChannel.java diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/stub/livestreamservicestubsettings/getchannel/SyncGetChannel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/stub/livestreamservicestubsettings/getchannel/SyncGetChannel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/video/livestream/v1/stub/livestreamservicestubsettings/getchannel/SyncGetChannel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/stub/livestreamservicestubsettings/getchannel/SyncGetChannel.java diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponseOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponseOrBuilder.java deleted file mode 100644 index d5e1432..0000000 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponseOrBuilder.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/video/livestream/v1/service.proto - -package com.google.cloud.video.livestream.v1; - -public interface ChannelOperationResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ChannelOperationResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequestOrBuilder.java deleted file mode 100644 index 96e28b6..0000000 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequestOrBuilder.java +++ /dev/null @@ -1,56 +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/video/livestream/v1/service.proto - -package com.google.cloud.video.livestream.v1; - -public interface GetChannelRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.GetChannelRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the channel resource, in the form of:
-   * `projects/{project}/locations/{location}/channels/{channelId}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the channel resource, in the form of:
-   * `projects/{project}/locations/{location}/channels/{channelId}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequestOrBuilder.java deleted file mode 100644 index 5fd0fb1..0000000 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequestOrBuilder.java +++ /dev/null @@ -1,56 +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/video/livestream/v1/service.proto - -package com.google.cloud.video.livestream.v1; - -public interface GetEventRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.GetEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the event resource, in the form of:
-   * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the event resource, in the form of:
-   * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequestOrBuilder.java deleted file mode 100644 index 6fa86c2..0000000 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequestOrBuilder.java +++ /dev/null @@ -1,56 +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/video/livestream/v1/service.proto - -package com.google.cloud.video.livestream.v1; - -public interface GetInputRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.GetInputRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the input resource, in the form of:
-   * `projects/{project}/locations/{location}/inputs/{inputId}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the input resource, in the form of:
-   * `projects/{project}/locations/{location}/inputs/{inputId}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java deleted file mode 100644 index c38030c..0000000 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java +++ /dev/null @@ -1,316 +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/video/livestream/v1/outputs.proto - -package com.google.cloud.video.livestream.v1; - -public final class OutputsProto { - private OutputsProto() {} - - 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_video_livestream_v1_ElementaryStream_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_ElementaryStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_MuxStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Manifest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Manifest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_SpriteSheet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_VideoStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_AudioStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_TextStream_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_TextStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_SegmentSettings_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/video/livestream/v1/outpu" - + "ts.proto\022 google.cloud.video.livestream." - + "v1\032\037google/api/field_behavior.proto\032\036goo" - + "gle/protobuf/duration.proto\"\207\002\n\020Elementa" - + "ryStream\022\013\n\003key\030\004 \001(\t\022E\n\014video_stream\030\001 " - + "\001(\0132-.google.cloud.video.livestream.v1.V" - + "ideoStreamH\000\022E\n\014audio_stream\030\002 \001(\0132-.goo" - + "gle.cloud.video.livestream.v1.AudioStrea" - + "mH\000\022C\n\013text_stream\030\003 \001(\0132,.google.cloud." - + "video.livestream.v1.TextStreamH\000B\023\n\021elem" - + "entary_stream\"\224\001\n\tMuxStream\022\013\n\003key\030\001 \001(\t" - + "\022\021\n\tcontainer\030\003 \001(\t\022\032\n\022elementary_stream" - + "s\030\004 \003(\t\022K\n\020segment_settings\030\005 \001(\01321.goog" - + "le.cloud.video.livestream.v1.SegmentSett" - + "ings\"\232\002\n\010Manifest\022\021\n\tfile_name\030\001 \001(\t\022J\n\004" - + "type\030\002 \001(\01627.google.cloud.video.livestre" - + "am.v1.Manifest.ManifestTypeB\003\340A\002\022\030\n\013mux_" - + "streams\030\003 \003(\tB\003\340A\002\022\031\n\021max_segment_count\030" - + "\004 \001(\005\0228\n\025segment_keep_duration\030\005 \001(\0132\031.g" - + "oogle.protobuf.Duration\"@\n\014ManifestType\022" - + "\035\n\031MANIFEST_TYPE_UNSPECIFIED\020\000\022\007\n\003HLS\020\001\022" - + "\010\n\004DASH\020\002\"\343\001\n\013SpriteSheet\022\016\n\006format\030\001 \001(" - + "\t\022\030\n\013file_prefix\030\002 \001(\tB\003\340A\002\022 \n\023sprite_wi" - + "dth_pixels\030\003 \001(\005B\003\340A\002\022!\n\024sprite_height_p" - + "ixels\030\004 \001(\005B\003\340A\002\022\024\n\014column_count\030\005 \001(\005\022\021" - + "\n\trow_count\030\006 \001(\005\022+\n\010interval\030\007 \001(\0132\031.go" - + "ogle.protobuf.Duration\022\017\n\007quality\030\010 \001(\005\"" - + "\342\002\n\023PreprocessingConfig\022H\n\004crop\030\002 \001(\0132:." - + "google.cloud.video.livestream.v1.Preproc" - + "essingConfig.Crop\022F\n\003pad\030\003 \001(\01329.google." - + "cloud.video.livestream.v1.PreprocessingC" - + "onfig.Pad\032\\\n\004Crop\022\022\n\ntop_pixels\030\001 \001(\005\022\025\n" - + "\rbottom_pixels\030\002 \001(\005\022\023\n\013left_pixels\030\003 \001(" - + "\005\022\024\n\014right_pixels\030\004 \001(\005\032[\n\003Pad\022\022\n\ntop_pi" - + "xels\030\001 \001(\005\022\025\n\rbottom_pixels\030\002 \001(\005\022\023\n\013lef" - + "t_pixels\030\003 \001(\005\022\024\n\014right_pixels\030\004 \001(\005\"\377\003\n" - + "\013VideoStream\022O\n\004h264\030\024 \001(\0132?.google.clou" - + "d.video.livestream.v1.VideoStream.H264Co" - + "decSettingsH\000\032\214\003\n\021H264CodecSettings\022\024\n\014w" - + "idth_pixels\030\001 \001(\005\022\025\n\rheight_pixels\030\002 \001(\005" - + "\022\027\n\nframe_rate\030\003 \001(\001B\003\340A\002\022\030\n\013bitrate_bps" - + "\030\004 \001(\005B\003\340A\002\022\026\n\016allow_open_gop\030\006 \001(\010\022\031\n\017g" - + "op_frame_count\030\007 \001(\005H\000\0221\n\014gop_duration\030\010" - + " \001(\0132\031.google.protobuf.DurationH\000\022\025\n\rvbv" - + "_size_bits\030\t \001(\005\022\031\n\021vbv_fullness_bits\030\n " - + "\001(\005\022\025\n\rentropy_coder\030\013 \001(\t\022\021\n\tb_pyramid\030" - + "\014 \001(\010\022\025\n\rb_frame_count\030\r \001(\005\022\023\n\013aq_stren" - + "gth\030\016 \001(\001\022\017\n\007profile\030\017 \001(\t\022\014\n\004tune\030\020 \001(\t" - + "B\n\n\010gop_modeB\020\n\016codec_settings\"\332\002\n\013Audio" - + "Stream\022\020\n\010transmux\030\010 \001(\010\022\r\n\005codec\030\001 \001(\t\022" - + "\030\n\013bitrate_bps\030\002 \001(\005B\003\340A\002\022\025\n\rchannel_cou" - + "nt\030\003 \001(\005\022\026\n\016channel_layout\030\004 \003(\t\022K\n\007mapp" - + "ing\030\005 \003(\0132:.google.cloud.video.livestrea" - + "m.v1.AudioStream.AudioMapping\022\031\n\021sample_" - + "rate_hertz\030\006 \001(\005\032y\n\014AudioMapping\022\026\n\tinpu" - + "t_key\030\006 \001(\tB\003\340A\002\022\030\n\013input_track\030\002 \001(\005B\003\340" - + "A\002\022\032\n\rinput_channel\030\003 \001(\005B\003\340A\002\022\033\n\016output" - + "_channel\030\004 \001(\005B\003\340A\002\" \n\nTextStream\022\022\n\005cod" - + "ec\030\001 \001(\tB\003\340A\002\"F\n\017SegmentSettings\0223\n\020segm" - + "ent_duration\030\001 \001(\0132\031.google.protobuf.Dur" - + "ationB\357\001\n$com.google.cloud.video.livestr" - + "eam.v1B\014OutputsProtoP\001ZJgoogle.golang.or" - + "g/genproto/googleapis/cloud/video/livest" - + "ream/v1;livestream\252\002 Google.Cloud.Video." - + "LiveStream.V1\312\002 Google\\Cloud\\Video\\LiveS" - + "tream\\V1\352\002$Google::Cloud::Video::LiveStr" - + "eam::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_video_livestream_v1_ElementaryStream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor, - new java.lang.String[] { - "Key", "VideoStream", "AudioStream", "TextStream", "ElementaryStream", - }); - internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_video_livestream_v1_MuxStream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor, - new java.lang.String[] { - "Key", "Container", "ElementaryStreams", "SegmentSettings", - }); - internal_static_google_cloud_video_livestream_v1_Manifest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_video_livestream_v1_Manifest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Manifest_descriptor, - new java.lang.String[] { - "FileName", "Type", "MuxStreams", "MaxSegmentCount", "SegmentKeepDuration", - }); - internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_video_livestream_v1_SpriteSheet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor, - new java.lang.String[] { - "Format", - "FilePrefix", - "SpriteWidthPixels", - "SpriteHeightPixels", - "ColumnCount", - "RowCount", - "Interval", - "Quality", - }); - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor, - new java.lang.String[] { - "Crop", "Pad", - }); - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor = - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor, - new java.lang.String[] { - "TopPixels", "BottomPixels", "LeftPixels", "RightPixels", - }); - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor = - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor, - new java.lang.String[] { - "TopPixels", "BottomPixels", "LeftPixels", "RightPixels", - }); - internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_video_livestream_v1_VideoStream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor, - new java.lang.String[] { - "H264", "CodecSettings", - }); - internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor = - internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor, - new java.lang.String[] { - "WidthPixels", - "HeightPixels", - "FrameRate", - "BitrateBps", - "AllowOpenGop", - "GopFrameCount", - "GopDuration", - "VbvSizeBits", - "VbvFullnessBits", - "EntropyCoder", - "BPyramid", - "BFrameCount", - "AqStrength", - "Profile", - "Tune", - "GopMode", - }); - internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_video_livestream_v1_AudioStream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor, - new java.lang.String[] { - "Transmux", - "Codec", - "BitrateBps", - "ChannelCount", - "ChannelLayout", - "Mapping", - "SampleRateHertz", - }); - internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor = - internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor, - new java.lang.String[] { - "InputKey", "InputTrack", "InputChannel", "OutputChannel", - }); - internal_static_google_cloud_video_livestream_v1_TextStream_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_video_livestream_v1_TextStream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_TextStream_descriptor, - new java.lang.String[] { - "Codec", - }); - internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_video_livestream_v1_SegmentSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor, - new java.lang.String[] { - "SegmentDuration", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java deleted file mode 100644 index bf87f97..0000000 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java +++ /dev/null @@ -1,416 +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/video/livestream/v1/resources.proto - -package com.google.cloud.video.livestream.v1; - -public final class ResourcesProto { - private ResourcesProto() {} - - 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_video_livestream_v1_Input_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Input_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Channel_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Channel_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Channel_Output_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_LogConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_InputStreamProperty_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_VideoFormat_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_AudioFormat_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_InputAttachment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Event_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Event_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n0google/cloud/video/livestream/v1/resou" - + "rces.proto\022 google.cloud.video.livestrea" - + "m.v1\032\037google/api/field_behavior.proto\032\031g" - + "oogle/api/resource.proto\032.google/cloud/v" - + "ideo/livestream/v1/outputs.proto\032\036google" - + "/protobuf/duration.proto\032\037google/protobu" - + "f/timestamp.proto\032\027google/rpc/status.pro" - + "to\"\360\006\n\005Input\022\014\n\004name\030\001 \001(\t\0224\n\013create_tim" - + "e\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\0224\n\013update_time\030\003 \001(\0132\032.google.protobuf." - + "TimestampB\003\340A\003\022C\n\006labels\030\004 \003(\01323.google." - + "cloud.video.livestream.v1.Input.LabelsEn" - + "try\022:\n\004type\030\005 \001(\0162,.google.cloud.video.l" - + "ivestream.v1.Input.Type\022:\n\004tier\030\016 \001(\0162,." - + "google.cloud.video.livestream.v1.Input.T" - + "ier\022\020\n\003uri\030\006 \001(\tB\003\340A\003\022S\n\024preprocessing_c" - + "onfig\030\t \001(\01325.google.cloud.video.livestr" - + "eam.v1.PreprocessingConfig\022L\n\016security_r" - + "ules\030\014 \001(\01324.google.cloud.video.livestre" - + "am.v1.Input.SecurityRule\022Y\n\025input_stream" - + "_property\030\017 \001(\01325.google.cloud.video.liv" - + "estream.v1.InputStreamPropertyB\003\340A\003\032!\n\014S" - + "ecurityRule\022\021\n\tip_ranges\030\001 \003(\t\032-\n\013Labels" - + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"9\n" - + "\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\r\n\tRTMP_PUSH" - + "\020\001\022\014\n\010SRT_PUSH\020\002\"5\n\004Tier\022\024\n\020TIER_UNSPECI" - + "FIED\020\000\022\006\n\002SD\020\001\022\006\n\002HD\020\002\022\007\n\003UHD\020\003:\\\352AY\n\037li" - + "vestream.googleapis.com/Input\0226projects/" - + "{project}/locations/{location}/inputs/{i" - + "nput}\"\263\t\n\007Channel\022\014\n\004name\030\001 \001(\t\0224\n\013creat" - + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.prot" - + "obuf.TimestampB\003\340A\003\022E\n\006labels\030\004 \003(\01325.go" - + "ogle.cloud.video.livestream.v1.Channel.L" - + "abelsEntry\022L\n\021input_attachments\030\020 \003(\01321." - + "google.cloud.video.livestream.v1.InputAt" - + "tachment\022\031\n\014active_input\030\006 \001(\tB\003\340A\003\022E\n\006o" - + "utput\030\t \001(\01320.google.cloud.video.livestr" - + "eam.v1.Channel.OutputB\003\340A\002\022N\n\022elementary" - + "_streams\030\n \003(\01322.google.cloud.video.live" - + "stream.v1.ElementaryStream\022@\n\013mux_stream" - + "s\030\013 \003(\0132+.google.cloud.video.livestream." - + "v1.MuxStream\022=\n\tmanifests\030\014 \003(\0132*.google" - + ".cloud.video.livestream.v1.Manifest\022D\n\rs" - + "prite_sheets\030\r \003(\0132-.google.cloud.video." - + "livestream.v1.SpriteSheet\022V\n\017streaming_s" - + "tate\030\016 \001(\01628.google.cloud.video.livestre" - + "am.v1.Channel.StreamingStateB\003\340A\003\0220\n\017str" - + "eaming_error\030\022 \001(\0132\022.google.rpc.StatusB\003" - + "\340A\003\022?\n\nlog_config\030\023 \001(\0132+.google.cloud.v" - + "ideo.livestream.v1.LogConfig\032\025\n\006Output\022\013" - + "\n\003uri\030\001 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" - + "\r\n\005value\030\002 \001(\t:\0028\001\"\252\001\n\016StreamingState\022\037\n" - + "\033STREAMING_STATE_UNSPECIFIED\020\000\022\r\n\tSTREAM" - + "ING\020\001\022\022\n\016AWAITING_INPUT\020\002\022\023\n\017STREAMING_E" - + "RROR\020\004\022\026\n\022STREAMING_NO_INPUT\020\005\022\013\n\007STOPPE" - + "D\020\006\022\014\n\010STARTING\020\007\022\014\n\010STOPPING\020\010:b\352A_\n!li" - + "vestream.googleapis.com/Channel\022:project" - + "s/{project}/locations/{location}/channel" - + "s/{channel}\"\300\001\n\tLogConfig\022M\n\014log_severit" - + "y\030\001 \001(\01627.google.cloud.video.livestream." - + "v1.LogConfig.LogSeverity\"d\n\013LogSeverity\022" - + "\034\n\030LOG_SEVERITY_UNSPECIFIED\020\000\022\007\n\003OFF\020\001\022\t" - + "\n\005DEBUG\020d\022\t\n\004INFO\020\310\001\022\014\n\007WARNING\020\220\003\022\n\n\005ER" - + "ROR\020\364\003\"\352\001\n\023InputStreamProperty\0227\n\023last_e" - + "stablish_time\030\001 \001(\0132\032.google.protobuf.Ti" - + "mestamp\022L\n\rvideo_streams\030\002 \003(\01325.google." - + "cloud.video.livestream.v1.VideoStreamPro" - + "perty\022L\n\raudio_streams\030\003 \003(\01325.google.cl" - + "oud.video.livestream.v1.AudioStreamPrope" - + "rty\"i\n\023VideoStreamProperty\022\r\n\005index\030\001 \001(" - + "\005\022C\n\014video_format\030\002 \001(\0132-.google.cloud.v" - + "ideo.livestream.v1.VideoFormat\"]\n\013VideoF" - + "ormat\022\r\n\005codec\030\001 \001(\t\022\024\n\014width_pixels\030\002 \001" - + "(\005\022\025\n\rheight_pixels\030\003 \001(\005\022\022\n\nframe_rate\030" - + "\004 \001(\001\"i\n\023AudioStreamProperty\022\r\n\005index\030\001 " - + "\001(\005\022C\n\014audio_format\030\002 \001(\0132-.google.cloud" - + ".video.livestream.v1.AudioFormat\"K\n\013Audi" - + "oFormat\022\r\n\005codec\030\001 \001(\t\022\025\n\rchannel_count\030" - + "\002 \001(\005\022\026\n\016channel_layout\030\003 \003(\t\"\335\001\n\017InputA" - + "ttachment\022\013\n\003key\030\001 \001(\t\0223\n\005input\030\002 \001(\tB$\372" - + "A!\n\037livestream.googleapis.com/Input\022_\n\022a" - + "utomatic_failover\030\003 \001(\0132C.google.cloud.v" - + "ideo.livestream.v1.InputAttachment.Autom" - + "aticFailover\032\'\n\021AutomaticFailover\022\022\n\ninp" - + "ut_keys\030\001 \003(\t\"\235\006\n\005Event\022\014\n\004name\030\001 \001(\t\0224\n" - + "\013create_time\030\002 \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\022C\n\006labels\030\004 \003(" - + "\01323.google.cloud.video.livestream.v1.Eve" - + "nt.LabelsEntry\022L\n\010ad_break\030\006 \001(\01323.googl" - + "e.cloud.video.livestream.v1.Event.AdBrea" - + "kTaskB\003\340A\002H\000\022\023\n\013execute_now\030\t \001(\010\0222\n\016exe" - + "cution_time\030\n \001(\0132\032.google.protobuf.Time" - + "stamp\022A\n\005state\030\013 \001(\0162-.google.cloud.vide" - + "o.livestream.v1.Event.StateB\003\340A\003\022&\n\005erro" - + "r\030\014 \001(\0132\022.google.rpc.StatusB\003\340A\003\032:\n\013AdBr" - + "eakTask\022+\n\010duration\030\001 \001(\0132\031.google.proto" - + "buf.Duration\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" - + "\022\r\n\005value\030\002 \001(\t:\0028\001\"o\n\005State\022\025\n\021STATE_UN" - + "SPECIFIED\020\000\022\r\n\tSCHEDULED\020\001\022\013\n\007RUNNING\020\002\022" - + "\r\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022\013\n\007PENDING\020\005\022" - + "\013\n\007STOPPED\020\006:o\352Al\n\037livestream.googleapis" - + ".com/Event\022Iprojects/{project}/locations" - + "/{location}/channels/{channel}/events/{e" - + "vent}B\006\n\004taskB\361\001\n$com.google.cloud.video" - + ".livestream.v1B\016ResourcesProtoP\001ZJgoogle" - + ".golang.org/genproto/googleapis/cloud/vi" - + "deo/livestream/v1;livestream\252\002 Google.Cl" - + "oud.Video.LiveStream.V1\312\002 Google\\Cloud\\V" - + "ideo\\LiveStream\\V1\352\002$Google::Cloud::Vide" - + "o::LiveStream::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.video.livestream.v1.OutputsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_video_livestream_v1_Input_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_video_livestream_v1_Input_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Input_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "Labels", - "Type", - "Tier", - "Uri", - "PreprocessingConfig", - "SecurityRules", - "InputStreamProperty", - }); - internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor = - internal_static_google_cloud_video_livestream_v1_Input_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor, - new java.lang.String[] { - "IpRanges", - }); - internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_descriptor = - internal_static_google_cloud_video_livestream_v1_Input_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_video_livestream_v1_Channel_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_video_livestream_v1_Channel_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Channel_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "Labels", - "InputAttachments", - "ActiveInput", - "Output", - "ElementaryStreams", - "MuxStreams", - "Manifests", - "SpriteSheets", - "StreamingState", - "StreamingError", - "LogConfig", - }); - internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor = - internal_static_google_cloud_video_livestream_v1_Channel_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_video_livestream_v1_Channel_Output_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor, - new java.lang.String[] { - "Uri", - }); - internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_descriptor = - internal_static_google_cloud_video_livestream_v1_Channel_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_video_livestream_v1_LogConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor, - new java.lang.String[] { - "LogSeverity", - }); - internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_video_livestream_v1_InputStreamProperty_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor, - new java.lang.String[] { - "LastEstablishTime", "VideoStreams", "AudioStreams", - }); - internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor, - new java.lang.String[] { - "Index", "VideoFormat", - }); - internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_video_livestream_v1_VideoFormat_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor, - new java.lang.String[] { - "Codec", "WidthPixels", "HeightPixels", "FrameRate", - }); - internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor, - new java.lang.String[] { - "Index", "AudioFormat", - }); - internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_video_livestream_v1_AudioFormat_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor, - new java.lang.String[] { - "Codec", "ChannelCount", "ChannelLayout", - }); - internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_video_livestream_v1_InputAttachment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor, - new java.lang.String[] { - "Key", "Input", "AutomaticFailover", - }); - internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor = - internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor, - new java.lang.String[] { - "InputKeys", - }); - internal_static_google_cloud_video_livestream_v1_Event_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_video_livestream_v1_Event_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Event_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "Labels", - "AdBreak", - "ExecuteNow", - "ExecutionTime", - "State", - "Error", - "Task", - }); - internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor = - internal_static_google_cloud_video_livestream_v1_Event_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor, - new java.lang.String[] { - "Duration", - }); - internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_descriptor = - internal_static_google_cloud_video_livestream_v1_Event_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.video.livestream.v1.OutputsProto.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-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java deleted file mode 100644 index 9f5c141..0000000 --- a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java +++ /dev/null @@ -1,493 +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/video/livestream/v1/service.proto - -package com.google.cloud.video.livestream.v1; - -public final class ServiceProto { - private ServiceProto() {} - - 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_video_livestream_v1_CreateChannelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_GetChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_StartChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_StopChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_CreateInputRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_ListInputsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_ListInputsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_GetInputRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_CreateEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_ListEventsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_ListEventsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_GetEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_OperationMetadata_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/video/livestream/v1/servi" - + "ce.proto\022 google.cloud.video.livestream." - + "v1\032\034google/api/annotations.proto\032\027google" - + "/api/client.proto\032\037google/api/field_beha" - + "vior.proto\032\031google/api/resource.proto\0320g" - + "oogle/cloud/video/livestream/v1/resource" - + "s.proto\032#google/longrunning/operations.p" - + "roto\032\033google/protobuf/empty.proto\032 googl" - + "e/protobuf/field_mask.proto\032\037google/prot" - + "obuf/timestamp.proto\"\277\001\n\024CreateChannelRe" - + "quest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!livestrea" - + "m.googleapis.com/Channel\022?\n\007channel\030\002 \001(" - + "\0132).google.cloud.video.livestream.v1.Cha" - + "nnelB\003\340A\002\022\027\n\nchannel_id\030\003 \001(\tB\003\340A\002\022\022\n\nre" - + "quest_id\030\004 \001(\t\"\231\001\n\023ListChannelsRequest\0229" - + "\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!livestream.googl" - + "eapis.com/Channel\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010orde" - + "r_by\030\005 \001(\t\"\201\001\n\024ListChannelsResponse\022;\n\010c" - + "hannels\030\001 \003(\0132).google.cloud.video.lives" - + "tream.v1.Channel\022\027\n\017next_page_token\030\002 \001(" - + "\t\022\023\n\013unreachable\030\003 \003(\t\"L\n\021GetChannelRequ" - + "est\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!livestream.go" - + "ogleapis.com/Channel\"r\n\024DeleteChannelReq" - + "uest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!livestream.g" - + "oogleapis.com/Channel\022\022\n\nrequest_id\030\002 \001(" - + "\t\022\r\n\005force\030\003 \001(\010\"\234\001\n\024UpdateChannelReques" - + "t\022/\n\013update_mask\030\001 \001(\0132\032.google.protobuf" - + ".FieldMask\022?\n\007channel\030\002 \001(\0132).google.clo" - + "ud.video.livestream.v1.ChannelB\003\340A\002\022\022\n\nr" - + "equest_id\030\003 \001(\t\"b\n\023StartChannelRequest\0227" - + "\n\004name\030\001 \001(\tB)\340A\002\372A#\n!livestream.googlea" - + "pis.com/Channel\022\022\n\nrequest_id\030\002 \001(\t\"a\n\022S" - + "topChannelRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n" - + "!livestream.googleapis.com/Channel\022\022\n\nre" - + "quest_id\030\002 \001(\t\"\265\001\n\022CreateInputRequest\0227\n" - + "\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037livestream.google" - + "apis.com/Input\022;\n\005input\030\002 \001(\0132\'.google.c" - + "loud.video.livestream.v1.InputB\003\340A\002\022\025\n\010i" - + "nput_id\030\003 \001(\tB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"\225" - + "\001\n\021ListInputsRequest\0227\n\006parent\030\001 \001(\tB\'\340A" - + "\002\372A!\022\037livestream.googleapis.com/Input\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006" - + "filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"{\n\022ListIn" - + "putsResponse\0227\n\006inputs\030\001 \003(\0132\'.google.cl" - + "oud.video.livestream.v1.Input\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"H\n\017G" - + "etInputRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037li" - + "vestream.googleapis.com/Input\"_\n\022DeleteI" - + "nputRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037lives" - + "tream.googleapis.com/Input\022\022\n\nrequest_id" - + "\030\002 \001(\t\"\226\001\n\022UpdateInputRequest\022/\n\013update_" - + "mask\030\001 \001(\0132\032.google.protobuf.FieldMask\022;" - + "\n\005input\030\002 \001(\0132\'.google.cloud.video.lives" - + "tream.v1.InputB\003\340A\002\022\022\n\nrequest_id\030\003 \001(\t\"" - + "\265\001\n\022CreateEventRequest\0227\n\006parent\030\001 \001(\tB\'" - + "\340A\002\372A!\022\037livestream.googleapis.com/Event\022" - + ";\n\005event\030\002 \001(\0132\'.google.cloud.video.live" - + "stream.v1.EventB\003\340A\002\022\025\n\010event_id\030\003 \001(\tB\003" - + "\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"\225\001\n\021ListEventsRe" - + "quest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037livestrea" - + "m.googleapis.com/Event\022\021\n\tpage_size\030\002 \001(" - + "\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n" - + "\010order_by\030\005 \001(\t\"{\n\022ListEventsResponse\0227\n" - + "\006events\030\001 \003(\0132\'.google.cloud.video.lives" - + "tream.v1.Event\022\027\n\017next_page_token\030\002 \001(\t\022" - + "\023\n\013unreachable\030\003 \003(\t\"H\n\017GetEventRequest\022" - + "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037livestream.google" - + "apis.com/Event\"_\n\022DeleteEventRequest\0225\n\004" - + "name\030\001 \001(\tB\'\340A\002\372A!\n\037livestream.googleapi" - + "s.com/Event\022\022\n\nrequest_id\030\002 \001(\t\"\032\n\030Chann" - + "elOperationResponse\"\343\001\n\021OperationMetadat" - + "a\0224\n\013create_time\030\001 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\022\023\n\006target\030\003 \001" - + "(\tB\003\340A\003\022\021\n\004verb\030\004 \001(\tB\003\340A\003\022#\n\026requested_" - + "cancellation\030\005 \001(\010B\003\340A\003\022\030\n\013api_version\030\006" - + " \001(\tB\003\340A\0032\325\031\n\021LivestreamService\022\340\001\n\rCrea" - + "teChannel\0226.google.cloud.video.livestrea" - + "m.v1.CreateChannelRequest\032\035.google.longr" - + "unning.Operation\"x\202\323\344\223\0027\",/v1/{parent=pr" - + "ojects/*/locations/*}/channels:\007channel\332" - + "A\031parent,channel,channel_id\312A\034\n\007Channel\022" - + "\021OperationMetadata\022\274\001\n\014ListChannels\0225.go" - + "ogle.cloud.video.livestream.v1.ListChann" - + "elsRequest\0326.google.cloud.video.livestre" - + "am.v1.ListChannelsResponse\"=\202\323\344\223\002.\022,/v1/" - + "{parent=projects/*/locations/*}/channels" - + "\332A\006parent\022\251\001\n\nGetChannel\0223.google.cloud." - + "video.livestream.v1.GetChannelRequest\032)." - + "google.cloud.video.livestream.v1.Channel" - + "\";\202\323\344\223\002.\022,/v1/{name=projects/*/locations" - + "/*/channels/*}\332A\004name\022\320\001\n\rDeleteChannel\022" - + "6.google.cloud.video.livestream.v1.Delet" - + "eChannelRequest\032\035.google.longrunning.Ope" - + "ration\"h\202\323\344\223\002.*,/v1/{name=projects/*/loc" - + "ations/*/channels/*}\332A\004name\312A*\n\025google.p" - + "rotobuf.Empty\022\021OperationMetadata\022\342\001\n\rUpd" - + "ateChannel\0226.google.cloud.video.livestre" - + "am.v1.UpdateChannelRequest\032\035.google.long" - + "running.Operation\"z\202\323\344\223\002?24/v1/{channel." - + "name=projects/*/locations/*/channels/*}:" - + "\007channel\332A\023channel,update_mask\312A\034\n\007Chann" - + "el\022\021OperationMetadata\022\332\001\n\014StartChannel\0225" - + ".google.cloud.video.livestream.v1.StartC" - + "hannelRequest\032\035.google.longrunning.Opera" - + "tion\"t\202\323\344\223\0027\"2/v1/{name=projects/*/locat" - + "ions/*/channels/*}:start:\001*\332A\004name\312A-\n\030C" - + "hannelOperationResponse\022\021OperationMetada" - + "ta\022\327\001\n\013StopChannel\0224.google.cloud.video." - + "livestream.v1.StopChannelRequest\032\035.googl" - + "e.longrunning.Operation\"s\202\323\344\223\0026\"1/v1/{na" - + "me=projects/*/locations/*/channels/*}:st" - + "op:\001*\332A\004name\312A-\n\030ChannelOperationRespons" - + "e\022\021OperationMetadata\022\322\001\n\013CreateInput\0224.g" - + "oogle.cloud.video.livestream.v1.CreateIn" - + "putRequest\032\035.google.longrunning.Operatio" - + "n\"n\202\323\344\223\0023\"*/v1/{parent=projects/*/locati" - + "ons/*}/inputs:\005input\332A\025parent,input,inpu" - + "t_id\312A\032\n\005Input\022\021OperationMetadata\022\264\001\n\nLi" - + "stInputs\0223.google.cloud.video.livestream" - + ".v1.ListInputsRequest\0324.google.cloud.vid" - + "eo.livestream.v1.ListInputsResponse\";\202\323\344" - + "\223\002,\022*/v1/{parent=projects/*/locations/*}" - + "/inputs\332A\006parent\022\241\001\n\010GetInput\0221.google.c" - + "loud.video.livestream.v1.GetInputRequest" - + "\032\'.google.cloud.video.livestream.v1.Inpu" - + "t\"9\202\323\344\223\002,\022*/v1/{name=projects/*/location" - + "s/*/inputs/*}\332A\004name\022\312\001\n\013DeleteInput\0224.g" - + "oogle.cloud.video.livestream.v1.DeleteIn" - + "putRequest\032\035.google.longrunning.Operatio" - + "n\"f\202\323\344\223\002,**/v1/{name=projects/*/location" - + "s/*/inputs/*}\332A\004name\312A*\n\025google.protobuf" - + ".Empty\022\021OperationMetadata\022\324\001\n\013UpdateInpu" - + "t\0224.google.cloud.video.livestream.v1.Upd" - + "ateInputRequest\032\035.google.longrunning.Ope" - + "ration\"p\202\323\344\223\002920/v1/{input.name=projects" - + "/*/locations/*/inputs/*}:\005input\332A\021input," - + "update_mask\312A\032\n\005Input\022\021OperationMetadata" - + "\022\312\001\n\013CreateEvent\0224.google.cloud.video.li" - + "vestream.v1.CreateEventRequest\032\'.google." - + "cloud.video.livestream.v1.Event\"\\\202\323\344\223\002>\"" - + "5/v1/{parent=projects/*/locations/*/chan" - + "nels/*}/events:\005event\332A\025parent,event,eve" - + "nt_id\022\277\001\n\nListEvents\0223.google.cloud.vide" - + "o.livestream.v1.ListEventsRequest\0324.goog" - + "le.cloud.video.livestream.v1.ListEventsR" - + "esponse\"F\202\323\344\223\0027\0225/v1/{parent=projects/*/" - + "locations/*/channels/*}/events\332A\006parent\022" - + "\254\001\n\010GetEvent\0221.google.cloud.video.livest" - + "ream.v1.GetEventRequest\032\'.google.cloud.v" - + "ideo.livestream.v1.Event\"D\202\323\344\223\0027\0225/v1/{n" - + "ame=projects/*/locations/*/channels/*/ev" - + "ents/*}\332A\004name\022\241\001\n\013DeleteEvent\0224.google." - + "cloud.video.livestream.v1.DeleteEventReq" - + "uest\032\026.google.protobuf.Empty\"D\202\323\344\223\0027*5/v" - + "1/{name=projects/*/locations/*/channels/" - + "*/events/*}\332A\004name\032M\312A\031livestream.google" - + "apis.com\322A.https://www.googleapis.com/au" - + "th/cloud-platformB\357\001\n$com.google.cloud.v" - + "ideo.livestream.v1B\014ServiceProtoP\001ZJgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "video/livestream/v1;livestream\252\002 Google." - + "Cloud.Video.LiveStream.V1\312\002 Google\\Cloud" - + "\\Video\\LiveStream\\V1\352\002$Google::Cloud::Vi" - + "deo::LiveStream::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.api.ResourceProto.getDescriptor(), - com.google.cloud.video.livestream.v1.ResourcesProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor, - new java.lang.String[] { - "Parent", "Channel", "ChannelId", "RequestId", - }); - internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor, - new java.lang.String[] { - "Channels", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_video_livestream_v1_GetChannelRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", "Force", - }); - internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "Channel", "RequestId", - }); - internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_video_livestream_v1_StartChannelRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", - }); - internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_video_livestream_v1_StopChannelRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", - }); - internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_video_livestream_v1_CreateInputRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor, - new java.lang.String[] { - "Parent", "Input", "InputId", "RequestId", - }); - internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_video_livestream_v1_ListInputsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_video_livestream_v1_ListInputsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor, - new java.lang.String[] { - "Inputs", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_video_livestream_v1_GetInputRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", - }); - internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "Input", "RequestId", - }); - internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_video_livestream_v1_CreateEventRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor, - new java.lang.String[] { - "Parent", "Event", "EventId", "RequestId", - }); - internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_video_livestream_v1_ListEventsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_video_livestream_v1_ListEventsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor, - new java.lang.String[] { - "Events", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_video_livestream_v1_GetEventRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", - }); - internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_video_livestream_v1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor, - new java.lang.String[] { - "CreateTime", "EndTime", "Target", "Verb", "RequestedCancellation", "ApiVersion", - }); - 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.api.ResourceProto.resourceReference); - 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.api.ResourceProto.getDescriptor(); - com.google.cloud.video.livestream.v1.ResourcesProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} From a64d294051d1e9a68acdadd4fafc19ca37252964 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 20:53:50 +0000 Subject: [PATCH 2/2] =?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/LivestreamServiceClient.java | 60 +- .../v1/LivestreamServiceSettings.java | 7 +- .../video/livestream/v1/gapic_metadata.json | 0 .../video/livestream/v1/package-info.java | 0 .../GrpcLivestreamServiceCallableFactory.java | 0 .../v1/stub/GrpcLivestreamServiceStub.java | 1 - ...pJsonLivestreamServiceCallableFactory.java | 0 .../stub/HttpJsonLivestreamServiceStub.java | 1 - .../v1/stub/LivestreamServiceStub.java | 0 .../stub/LivestreamServiceStubSettings.java | 6 +- .../LivestreamServiceClientHttpJsonTest.java | 0 .../v1/LivestreamServiceClientTest.java | 0 .../livestream/v1/MockLivestreamService.java | 0 .../v1/MockLivestreamServiceImpl.java | 0 .../livestream/v1/LivestreamServiceGrpc.java | 2119 +++++++++++++ .../livestream/v1/LivestreamServiceGrpc.java | 1625 ---------- .../v1/ChannelOperationResponseOrBuilder.java | 9 - .../v1/GetChannelRequestOrBuilder.java | 31 - .../v1/GetEventRequestOrBuilder.java | 31 - .../v1/GetInputRequestOrBuilder.java | 31 - .../video/livestream/v1/OutputsProto.java | 253 -- .../video/livestream/v1/ResourcesProto.java | 352 --- .../video/livestream/v1/ServiceProto.java | 460 --- .../video/livestream/v1/AudioFormat.java | 453 +-- .../livestream/v1/AudioFormatOrBuilder.java | 48 +- .../video/livestream/v1/AudioStream.java | 1158 ++++--- .../livestream/v1/AudioStreamOrBuilder.java | 72 +- .../livestream/v1/AudioStreamProperty.java | 370 ++- .../v1/AudioStreamPropertyOrBuilder.java | 29 +- .../cloud/video/livestream/v1/Channel.java | 2664 +++++++++++------ .../video/livestream/v1/ChannelName.java | 0 .../v1/ChannelOperationResponse.java | 246 +- .../v1/ChannelOperationResponseOrBuilder.java | 24 + .../video/livestream/v1/ChannelOrBuilder.java | 259 +- .../livestream/v1/CreateChannelRequest.java | 646 ++-- .../v1/CreateChannelRequestOrBuilder.java | 73 +- .../livestream/v1/CreateEventRequest.java | 649 ++-- .../v1/CreateEventRequestOrBuilder.java | 73 +- .../livestream/v1/CreateInputRequest.java | 649 ++-- .../v1/CreateInputRequestOrBuilder.java | 73 +- .../livestream/v1/DeleteChannelRequest.java | 458 +-- .../v1/DeleteChannelRequestOrBuilder.java | 47 +- .../livestream/v1/DeleteEventRequest.java | 421 +-- .../v1/DeleteEventRequestOrBuilder.java | 44 +- .../livestream/v1/DeleteInputRequest.java | 421 +-- .../v1/DeleteInputRequestOrBuilder.java | 44 +- .../video/livestream/v1/ElementaryStream.java | 690 +++-- .../v1/ElementaryStreamOrBuilder.java | 54 +- .../cloud/video/livestream/v1/Event.java | 1755 +++++++---- .../cloud/video/livestream/v1/EventName.java | 0 .../video/livestream/v1/EventOrBuilder.java | 145 +- .../livestream/v1/GetChannelRequest.java | 342 ++- .../v1/GetChannelRequestOrBuilder.java | 56 + .../video/livestream/v1/GetEventRequest.java | 339 ++- .../v1/GetEventRequestOrBuilder.java | 56 + .../video/livestream/v1/GetInputRequest.java | 339 ++- .../v1/GetInputRequestOrBuilder.java | 56 + .../cloud/video/livestream/v1/Input.java | 1905 +++++++----- .../video/livestream/v1/InputAttachment.java | 962 +++--- .../v1/InputAttachmentOrBuilder.java | 59 +- .../cloud/video/livestream/v1/InputName.java | 0 .../video/livestream/v1/InputOrBuilder.java | 155 +- .../livestream/v1/InputStreamProperty.java | 765 +++-- .../v1/InputStreamPropertyOrBuilder.java | 56 +- .../livestream/v1/ListChannelsRequest.java | 615 ++-- .../v1/ListChannelsRequestOrBuilder.java | 65 +- .../livestream/v1/ListChannelsResponse.java | 573 ++-- .../v1/ListChannelsResponseOrBuilder.java | 63 +- .../livestream/v1/ListEventsRequest.java | 615 ++-- .../v1/ListEventsRequestOrBuilder.java | 65 +- .../livestream/v1/ListEventsResponse.java | 573 ++-- .../v1/ListEventsResponseOrBuilder.java | 63 +- .../livestream/v1/ListInputsRequest.java | 615 ++-- .../v1/ListInputsRequestOrBuilder.java | 65 +- .../livestream/v1/ListInputsResponse.java | 573 ++-- .../v1/ListInputsResponseOrBuilder.java | 63 +- .../video/livestream/v1/LocationName.java | 0 .../cloud/video/livestream/v1/LogConfig.java | 382 ++- .../livestream/v1/LogConfigOrBuilder.java | 24 +- .../cloud/video/livestream/v1/Manifest.java | 710 +++-- .../livestream/v1/ManifestOrBuilder.java | 70 +- .../cloud/video/livestream/v1/MuxStream.java | 602 ++-- .../livestream/v1/MuxStreamOrBuilder.java | 62 +- .../livestream/v1/OperationMetadata.java | 776 +++-- .../v1/OperationMetadataOrBuilder.java | 82 +- .../video/livestream/v1/OutputsProto.java | 316 ++ .../livestream/v1/PreprocessingConfig.java | 1218 +++++--- .../v1/PreprocessingConfigOrBuilder.java | 34 +- .../video/livestream/v1/ResourcesProto.java | 416 +++ .../video/livestream/v1/SegmentSettings.java | 337 ++- .../v1/SegmentSettingsOrBuilder.java | 26 +- .../video/livestream/v1/ServiceProto.java | 493 +++ .../video/livestream/v1/SpriteSheet.java | 647 ++-- .../livestream/v1/SpriteSheetOrBuilder.java | 59 +- .../livestream/v1/StartChannelRequest.java | 421 +-- .../v1/StartChannelRequestOrBuilder.java | 44 +- .../livestream/v1/StopChannelRequest.java | 421 +-- .../v1/StopChannelRequestOrBuilder.java | 44 +- .../cloud/video/livestream/v1/TextStream.java | 304 +- .../livestream/v1/TextStreamOrBuilder.java | 27 +- .../livestream/v1/UpdateChannelRequest.java | 556 ++-- .../v1/UpdateChannelRequestOrBuilder.java | 55 +- .../livestream/v1/UpdateInputRequest.java | 559 ++-- .../v1/UpdateInputRequestOrBuilder.java | 55 +- .../video/livestream/v1/VideoFormat.java | 416 +-- .../livestream/v1/VideoFormatOrBuilder.java | 36 +- .../video/livestream/v1/VideoStream.java | 1545 ++++++---- .../livestream/v1/VideoStreamOrBuilder.java | 26 +- .../livestream/v1/VideoStreamProperty.java | 370 ++- .../v1/VideoStreamPropertyOrBuilder.java | 29 +- .../cloud/video/livestream/v1/outputs.proto | 0 .../cloud/video/livestream/v1/resources.proto | 0 .../cloud/video/livestream/v1/service.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createchannel/AsyncCreateChannel.java | 0 .../createchannel/AsyncCreateChannelLRO.java | 0 .../createchannel/SyncCreateChannel.java | 0 ...reateChannelLocationnameChannelString.java | 0 .../SyncCreateChannelStringChannelString.java | 0 .../createevent/AsyncCreateEvent.java | 0 .../createevent/SyncCreateEvent.java | 0 ...SyncCreateEventChannelnameEventString.java | 0 .../SyncCreateEventStringEventString.java | 0 .../createinput/AsyncCreateInput.java | 0 .../createinput/AsyncCreateInputLRO.java | 0 .../createinput/SyncCreateInput.java | 0 ...yncCreateInputLocationnameInputString.java | 0 .../SyncCreateInputStringInputString.java | 0 .../deletechannel/AsyncDeleteChannel.java | 0 .../deletechannel/AsyncDeleteChannelLRO.java | 0 .../deletechannel/SyncDeleteChannel.java | 0 .../SyncDeleteChannelChannelname.java | 0 .../SyncDeleteChannelString.java | 0 .../deleteevent/AsyncDeleteEvent.java | 0 .../deleteevent/SyncDeleteEvent.java | 0 .../deleteevent/SyncDeleteEventEventname.java | 0 .../deleteevent/SyncDeleteEventString.java | 0 .../deleteinput/AsyncDeleteInput.java | 0 .../deleteinput/AsyncDeleteInputLRO.java | 0 .../deleteinput/SyncDeleteInput.java | 0 .../deleteinput/SyncDeleteInputInputname.java | 0 .../deleteinput/SyncDeleteInputString.java | 0 .../getchannel/AsyncGetChannel.java | 0 .../getchannel/SyncGetChannel.java | 0 .../getchannel/SyncGetChannelChannelname.java | 0 .../getchannel/SyncGetChannelString.java | 0 .../getevent/AsyncGetEvent.java | 0 .../getevent/SyncGetEvent.java | 0 .../getevent/SyncGetEventEventname.java | 0 .../getevent/SyncGetEventString.java | 0 .../getinput/AsyncGetInput.java | 0 .../getinput/SyncGetInput.java | 0 .../getinput/SyncGetInputInputname.java | 0 .../getinput/SyncGetInputString.java | 0 .../listchannels/AsyncListChannels.java | 0 .../listchannels/AsyncListChannelsPaged.java | 0 .../listchannels/SyncListChannels.java | 0 .../SyncListChannelsLocationname.java | 0 .../listchannels/SyncListChannelsString.java | 0 .../listevents/AsyncListEvents.java | 0 .../listevents/AsyncListEventsPaged.java | 0 .../listevents/SyncListEvents.java | 0 .../listevents/SyncListEventsChannelname.java | 0 .../listevents/SyncListEventsString.java | 0 .../listinputs/AsyncListInputs.java | 0 .../listinputs/AsyncListInputsPaged.java | 0 .../listinputs/SyncListInputs.java | 0 .../SyncListInputsLocationname.java | 0 .../listinputs/SyncListInputsString.java | 0 .../startchannel/AsyncStartChannel.java | 0 .../startchannel/AsyncStartChannelLRO.java | 0 .../startchannel/SyncStartChannel.java | 0 .../SyncStartChannelChannelname.java | 0 .../startchannel/SyncStartChannelString.java | 0 .../stopchannel/AsyncStopChannel.java | 0 .../stopchannel/AsyncStopChannelLRO.java | 0 .../stopchannel/SyncStopChannel.java | 0 .../SyncStopChannelChannelname.java | 0 .../stopchannel/SyncStopChannelString.java | 0 .../updatechannel/AsyncUpdateChannel.java | 0 .../updatechannel/AsyncUpdateChannelLRO.java | 0 .../updatechannel/SyncUpdateChannel.java | 0 .../SyncUpdateChannelChannelFieldmask.java | 0 .../updateinput/AsyncUpdateInput.java | 0 .../updateinput/AsyncUpdateInputLRO.java | 0 .../updateinput/SyncUpdateInput.java | 0 .../SyncUpdateInputInputFieldmask.java | 0 .../getchannel/SyncGetChannel.java | 0 .../getchannel/SyncGetChannel.java | 0 191 files changed, 22770 insertions(+), 13981 deletions(-) rename {owl-bot-staging/v1/google-cloud-live-stream => google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java (98%) rename {owl-bot-staging/v1/google-cloud-live-stream => google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceSettings.java (98%) rename {owl-bot-staging/v1/google-cloud-live-stream => google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-live-stream => google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-live-stream => google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-live-stream => google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceStub.java (99%) rename {owl-bot-staging/v1/google-cloud-live-stream => google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-live-stream => google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceStub.java (99%) rename {owl-bot-staging/v1/google-cloud-live-stream => google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStub.java (100%) rename {owl-bot-staging/v1/google-cloud-live-stream => google-cloud-live-stream}/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStubSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-live-stream => google-cloud-live-stream}/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-live-stream => google-cloud-live-stream}/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-live-stream => google-cloud-live-stream}/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamService.java (100%) rename {owl-bot-staging/v1/google-cloud-live-stream => google-cloud-live-stream}/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamServiceImpl.java (100%) create mode 100644 grpc-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/AudioFormat.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/AudioFormatOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/AudioStream.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamOrBuilder.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamProperty.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamPropertyOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/Channel.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ChannelName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponse.java (64%) create mode 100644 proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ChannelOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequestOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStream.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStreamOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/Event.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/EventName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/EventOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequest.java (65%) create mode 100644 proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequest.java (65%) create mode 100644 proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequest.java (65%) create mode 100644 proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/Input.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/InputAttachment.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/InputAttachmentOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/InputName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/InputOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/InputStreamProperty.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/InputStreamPropertyOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponseOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponseOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponseOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/LocationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/LogConfig.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/LogConfigOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/Manifest.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/ManifestOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/MuxStream.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/MuxStreamOrBuilder.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadata.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadataOrBuilder.java (74%) create mode 100644 proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfig.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfigOrBuilder.java (71%) create mode 100644 proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettings.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettingsOrBuilder.java (78%) create mode 100644 proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheet.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheetOrBuilder.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/TextStream.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/TextStreamOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequest.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequestOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequest.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequestOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/VideoFormat.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/VideoFormatOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/VideoStream.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamProperty.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamPropertyOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/proto/google/cloud/video/livestream/v1/outputs.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/proto/google/cloud/video/livestream/v1/resources.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-live-stream-v1 => proto-google-cloud-live-stream-v1}/src/main/proto/google/cloud/video/livestream/v1/service.proto (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannelLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelLocationnameChannelString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelStringChannelString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/AsyncCreateEvent.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEvent.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventChannelnameEventString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventStringEventString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInput.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInputLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInput.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputLocationnameInputString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputStringInputString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannelLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelChannelname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/AsyncDeleteEvent.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEvent.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventEventname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInput.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInputLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInput.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputInputname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/AsyncGetChannel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelChannelname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/AsyncGetEvent.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEvent.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventEventname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/AsyncGetInput.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInput.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputInputname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannels.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannelsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannels.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEvents.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEventsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEvents.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsChannelname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputs.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputs.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannelLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelChannelname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannelLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelChannelname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannelLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannelChannelFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInput.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInputLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInput.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInputInputFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/livestreamservicesettings/getchannel/SyncGetChannel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/video/livestream/v1/stub/livestreamservicestubsettings/getchannel/SyncGetChannel.java (100%) diff --git a/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java b/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java rename to google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java index 1474bcd..9d7cd61 100644 --- a/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java +++ b/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java @@ -66,13 +66,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. *
* @@ -765,18 +765,12 @@ public final UnaryCallable deleteChannelCallabl * @param updateMask Field mask is used to specify the fields to be overwritten in the Channel * resource by the update. You can only update the following fields: *
    - *
  • - * [`inputAttachments`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputattachment) - *
  • - * [`output`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#output) - *
  • - * [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#ElementaryStream) - *
  • - * [`muxStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#muxstream) - *
  • - * [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#Manifest) - *
  • - * [`spritesheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet) + *
  • [`inputAttachments`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputattachment) + *
  • [`output`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#output) + *
  • [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#ElementaryStream) + *
  • [`muxStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#muxstream) + *
  • [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#Manifest) + *
  • [`spritesheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet) *
*

The fields specified in the update_mask are relative to the resource, not the full * request. A field will be overwritten if it is in the mask. @@ -1699,10 +1693,8 @@ public final UnaryCallable deleteInputCallable() * @param updateMask Field mask is used to specify the fields to be overwritten in the Input * resource by the update. You can only update the following fields: *

    - *
  • - * [`preprocessingConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#PreprocessingConfig) - *
  • - * [`securityRules`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#SecurityRule) + *
  • [`preprocessingConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#PreprocessingConfig) + *
  • [`securityRules`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#SecurityRule) *
*

The fields specified in the update_mask are relative to the resource, not the full * request. A field will be overwritten if it is in the mask. @@ -2303,7 +2295,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListChannelsPagedResponse extends AbstractPagedListResponse< - ListChannelsRequest, ListChannelsResponse, Channel, ListChannelsPage, + ListChannelsRequest, + ListChannelsResponse, + Channel, + ListChannelsPage, ListChannelsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2352,7 +2347,10 @@ public ApiFuture createPageAsync( public static class ListChannelsFixedSizeCollection extends AbstractFixedSizeCollection< - ListChannelsRequest, ListChannelsResponse, Channel, ListChannelsPage, + ListChannelsRequest, + ListChannelsResponse, + Channel, + ListChannelsPage, ListChannelsFixedSizeCollection> { private ListChannelsFixedSizeCollection(List pages, int collectionSize) { @@ -2372,7 +2370,10 @@ protected ListChannelsFixedSizeCollection createCollection( public static class ListInputsPagedResponse extends AbstractPagedListResponse< - ListInputsRequest, ListInputsResponse, Input, ListInputsPage, + ListInputsRequest, + ListInputsResponse, + Input, + ListInputsPage, ListInputsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2419,7 +2420,10 @@ public ApiFuture createPageAsync( public static class ListInputsFixedSizeCollection extends AbstractFixedSizeCollection< - ListInputsRequest, ListInputsResponse, Input, ListInputsPage, + ListInputsRequest, + ListInputsResponse, + Input, + ListInputsPage, ListInputsFixedSizeCollection> { private ListInputsFixedSizeCollection(List pages, int collectionSize) { @@ -2439,7 +2443,10 @@ protected ListInputsFixedSizeCollection createCollection( public static class ListEventsPagedResponse extends AbstractPagedListResponse< - ListEventsRequest, ListEventsResponse, Event, ListEventsPage, + ListEventsRequest, + ListEventsResponse, + Event, + ListEventsPage, ListEventsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2486,7 +2493,10 @@ public ApiFuture createPageAsync( public static class ListEventsFixedSizeCollection extends AbstractFixedSizeCollection< - ListEventsRequest, ListEventsResponse, Event, ListEventsPage, + ListEventsRequest, + ListEventsResponse, + Event, + ListEventsPage, ListEventsFixedSizeCollection> { private ListEventsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceSettings.java b/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceSettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceSettings.java rename to google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceSettings.java index 3328a2b..b7ad623 100644 --- a/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceSettings.java +++ b/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceSettings.java @@ -31,7 +31,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.video.livestream.v1.stub.LivestreamServiceStubSettings; @@ -48,9 +47,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/gapic_metadata.json b/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/gapic_metadata.json rename to google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/package-info.java b/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/package-info.java rename to google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceCallableFactory.java b/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceCallableFactory.java rename to google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceStub.java b/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceStub.java rename to google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceStub.java index 9fd9948..f991801 100644 --- a/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceStub.java +++ b/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/GrpcLivestreamServiceStub.java @@ -58,7 +58,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceCallableFactory.java b/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceCallableFactory.java rename to google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceStub.java b/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceStub.java rename to google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceStub.java index 4777e31..5202b87 100644 --- a/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceStub.java +++ b/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/HttpJsonLivestreamServiceStub.java @@ -32,7 +32,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-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStub.java b/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStub.java rename to google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStub.java diff --git a/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStubSettings.java b/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStubSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStubSettings.java rename to google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStubSettings.java index 6703f45..4100742 100644 --- a/owl-bot-staging/v1/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStubSettings.java +++ b/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/LivestreamServiceStubSettings.java @@ -91,9 +91,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientHttpJsonTest.java b/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientHttpJsonTest.java rename to google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientTest.java b/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientTest.java rename to google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/LivestreamServiceClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamService.java b/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamService.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamService.java rename to google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamService.java diff --git a/owl-bot-staging/v1/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamServiceImpl.java b/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamServiceImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamServiceImpl.java rename to google-cloud-live-stream/src/test/java/com/google/cloud/video/livestream/v1/MockLivestreamServiceImpl.java diff --git a/grpc-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceGrpc.java b/grpc-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceGrpc.java new file mode 100644 index 0000000..03689d2 --- /dev/null +++ b/grpc-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceGrpc.java @@ -0,0 +1,2119 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.video.livestream.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *

+ * Using Live Stream API, you can generate live streams in the various
+ * renditions and streaming formats. The streaming format include HTTP Live
+ * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
+ * a source stream in the various ways, including Real-Time Messaging
+ * Protocol (RTMP) and Secure Reliable Transport (SRT).
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/video/livestream/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class LivestreamServiceGrpc { + + private LivestreamServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.video.livestream.v1.LivestreamService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.CreateChannelRequest, + com.google.longrunning.Operation> + getCreateChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateChannel", + requestType = com.google.cloud.video.livestream.v1.CreateChannelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.CreateChannelRequest, + com.google.longrunning.Operation> + getCreateChannelMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.CreateChannelRequest, + com.google.longrunning.Operation> + getCreateChannelMethod; + if ((getCreateChannelMethod = LivestreamServiceGrpc.getCreateChannelMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getCreateChannelMethod = LivestreamServiceGrpc.getCreateChannelMethod) == null) { + LivestreamServiceGrpc.getCreateChannelMethod = + getCreateChannelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.CreateChannelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new LivestreamServiceMethodDescriptorSupplier("CreateChannel")) + .build(); + } + } + } + return getCreateChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.ListChannelsRequest, + com.google.cloud.video.livestream.v1.ListChannelsResponse> + getListChannelsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListChannels", + requestType = com.google.cloud.video.livestream.v1.ListChannelsRequest.class, + responseType = com.google.cloud.video.livestream.v1.ListChannelsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.ListChannelsRequest, + com.google.cloud.video.livestream.v1.ListChannelsResponse> + getListChannelsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.ListChannelsRequest, + com.google.cloud.video.livestream.v1.ListChannelsResponse> + getListChannelsMethod; + if ((getListChannelsMethod = LivestreamServiceGrpc.getListChannelsMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getListChannelsMethod = LivestreamServiceGrpc.getListChannelsMethod) == null) { + LivestreamServiceGrpc.getListChannelsMethod = + getListChannelsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListChannels")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.ListChannelsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.ListChannelsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new LivestreamServiceMethodDescriptorSupplier("ListChannels")) + .build(); + } + } + } + return getListChannelsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.GetChannelRequest, + com.google.cloud.video.livestream.v1.Channel> + getGetChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetChannel", + requestType = com.google.cloud.video.livestream.v1.GetChannelRequest.class, + responseType = com.google.cloud.video.livestream.v1.Channel.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.GetChannelRequest, + com.google.cloud.video.livestream.v1.Channel> + getGetChannelMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.GetChannelRequest, + com.google.cloud.video.livestream.v1.Channel> + getGetChannelMethod; + if ((getGetChannelMethod = LivestreamServiceGrpc.getGetChannelMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getGetChannelMethod = LivestreamServiceGrpc.getGetChannelMethod) == null) { + LivestreamServiceGrpc.getGetChannelMethod = + getGetChannelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.GetChannelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.Channel.getDefaultInstance())) + .setSchemaDescriptor( + new LivestreamServiceMethodDescriptorSupplier("GetChannel")) + .build(); + } + } + } + return getGetChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.DeleteChannelRequest, + com.google.longrunning.Operation> + getDeleteChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteChannel", + requestType = com.google.cloud.video.livestream.v1.DeleteChannelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.DeleteChannelRequest, + com.google.longrunning.Operation> + getDeleteChannelMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.DeleteChannelRequest, + com.google.longrunning.Operation> + getDeleteChannelMethod; + if ((getDeleteChannelMethod = LivestreamServiceGrpc.getDeleteChannelMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getDeleteChannelMethod = LivestreamServiceGrpc.getDeleteChannelMethod) == null) { + LivestreamServiceGrpc.getDeleteChannelMethod = + getDeleteChannelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.DeleteChannelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new LivestreamServiceMethodDescriptorSupplier("DeleteChannel")) + .build(); + } + } + } + return getDeleteChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.UpdateChannelRequest, + com.google.longrunning.Operation> + getUpdateChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateChannel", + requestType = com.google.cloud.video.livestream.v1.UpdateChannelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.UpdateChannelRequest, + com.google.longrunning.Operation> + getUpdateChannelMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.UpdateChannelRequest, + com.google.longrunning.Operation> + getUpdateChannelMethod; + if ((getUpdateChannelMethod = LivestreamServiceGrpc.getUpdateChannelMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getUpdateChannelMethod = LivestreamServiceGrpc.getUpdateChannelMethod) == null) { + LivestreamServiceGrpc.getUpdateChannelMethod = + getUpdateChannelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.UpdateChannelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new LivestreamServiceMethodDescriptorSupplier("UpdateChannel")) + .build(); + } + } + } + return getUpdateChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.StartChannelRequest, + com.google.longrunning.Operation> + getStartChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StartChannel", + requestType = com.google.cloud.video.livestream.v1.StartChannelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.StartChannelRequest, + com.google.longrunning.Operation> + getStartChannelMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.StartChannelRequest, + com.google.longrunning.Operation> + getStartChannelMethod; + if ((getStartChannelMethod = LivestreamServiceGrpc.getStartChannelMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getStartChannelMethod = LivestreamServiceGrpc.getStartChannelMethod) == null) { + LivestreamServiceGrpc.getStartChannelMethod = + getStartChannelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.StartChannelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new LivestreamServiceMethodDescriptorSupplier("StartChannel")) + .build(); + } + } + } + return getStartChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.StopChannelRequest, com.google.longrunning.Operation> + getStopChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StopChannel", + requestType = com.google.cloud.video.livestream.v1.StopChannelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.StopChannelRequest, com.google.longrunning.Operation> + getStopChannelMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.StopChannelRequest, + com.google.longrunning.Operation> + getStopChannelMethod; + if ((getStopChannelMethod = LivestreamServiceGrpc.getStopChannelMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getStopChannelMethod = LivestreamServiceGrpc.getStopChannelMethod) == null) { + LivestreamServiceGrpc.getStopChannelMethod = + getStopChannelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StopChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.StopChannelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new LivestreamServiceMethodDescriptorSupplier("StopChannel")) + .build(); + } + } + } + return getStopChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.CreateInputRequest, com.google.longrunning.Operation> + getCreateInputMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInput", + requestType = com.google.cloud.video.livestream.v1.CreateInputRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.CreateInputRequest, com.google.longrunning.Operation> + getCreateInputMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.CreateInputRequest, + com.google.longrunning.Operation> + getCreateInputMethod; + if ((getCreateInputMethod = LivestreamServiceGrpc.getCreateInputMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getCreateInputMethod = LivestreamServiceGrpc.getCreateInputMethod) == null) { + LivestreamServiceGrpc.getCreateInputMethod = + getCreateInputMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInput")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.CreateInputRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new LivestreamServiceMethodDescriptorSupplier("CreateInput")) + .build(); + } + } + } + return getCreateInputMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.ListInputsRequest, + com.google.cloud.video.livestream.v1.ListInputsResponse> + getListInputsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInputs", + requestType = com.google.cloud.video.livestream.v1.ListInputsRequest.class, + responseType = com.google.cloud.video.livestream.v1.ListInputsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.ListInputsRequest, + com.google.cloud.video.livestream.v1.ListInputsResponse> + getListInputsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.ListInputsRequest, + com.google.cloud.video.livestream.v1.ListInputsResponse> + getListInputsMethod; + if ((getListInputsMethod = LivestreamServiceGrpc.getListInputsMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getListInputsMethod = LivestreamServiceGrpc.getListInputsMethod) == null) { + LivestreamServiceGrpc.getListInputsMethod = + getListInputsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInputs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.ListInputsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.ListInputsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new LivestreamServiceMethodDescriptorSupplier("ListInputs")) + .build(); + } + } + } + return getListInputsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.GetInputRequest, + com.google.cloud.video.livestream.v1.Input> + getGetInputMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInput", + requestType = com.google.cloud.video.livestream.v1.GetInputRequest.class, + responseType = com.google.cloud.video.livestream.v1.Input.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.GetInputRequest, + com.google.cloud.video.livestream.v1.Input> + getGetInputMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.GetInputRequest, + com.google.cloud.video.livestream.v1.Input> + getGetInputMethod; + if ((getGetInputMethod = LivestreamServiceGrpc.getGetInputMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getGetInputMethod = LivestreamServiceGrpc.getGetInputMethod) == null) { + LivestreamServiceGrpc.getGetInputMethod = + getGetInputMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInput")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.GetInputRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.Input.getDefaultInstance())) + .setSchemaDescriptor( + new LivestreamServiceMethodDescriptorSupplier("GetInput")) + .build(); + } + } + } + return getGetInputMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.DeleteInputRequest, com.google.longrunning.Operation> + getDeleteInputMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInput", + requestType = com.google.cloud.video.livestream.v1.DeleteInputRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.DeleteInputRequest, com.google.longrunning.Operation> + getDeleteInputMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.DeleteInputRequest, + com.google.longrunning.Operation> + getDeleteInputMethod; + if ((getDeleteInputMethod = LivestreamServiceGrpc.getDeleteInputMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getDeleteInputMethod = LivestreamServiceGrpc.getDeleteInputMethod) == null) { + LivestreamServiceGrpc.getDeleteInputMethod = + getDeleteInputMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInput")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.DeleteInputRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new LivestreamServiceMethodDescriptorSupplier("DeleteInput")) + .build(); + } + } + } + return getDeleteInputMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.UpdateInputRequest, com.google.longrunning.Operation> + getUpdateInputMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInput", + requestType = com.google.cloud.video.livestream.v1.UpdateInputRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.UpdateInputRequest, com.google.longrunning.Operation> + getUpdateInputMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.UpdateInputRequest, + com.google.longrunning.Operation> + getUpdateInputMethod; + if ((getUpdateInputMethod = LivestreamServiceGrpc.getUpdateInputMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getUpdateInputMethod = LivestreamServiceGrpc.getUpdateInputMethod) == null) { + LivestreamServiceGrpc.getUpdateInputMethod = + getUpdateInputMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInput")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.UpdateInputRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new LivestreamServiceMethodDescriptorSupplier("UpdateInput")) + .build(); + } + } + } + return getUpdateInputMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.CreateEventRequest, + com.google.cloud.video.livestream.v1.Event> + getCreateEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEvent", + requestType = com.google.cloud.video.livestream.v1.CreateEventRequest.class, + responseType = com.google.cloud.video.livestream.v1.Event.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.CreateEventRequest, + com.google.cloud.video.livestream.v1.Event> + getCreateEventMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.CreateEventRequest, + com.google.cloud.video.livestream.v1.Event> + getCreateEventMethod; + if ((getCreateEventMethod = LivestreamServiceGrpc.getCreateEventMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getCreateEventMethod = LivestreamServiceGrpc.getCreateEventMethod) == null) { + LivestreamServiceGrpc.getCreateEventMethod = + getCreateEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.CreateEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.Event.getDefaultInstance())) + .setSchemaDescriptor( + new LivestreamServiceMethodDescriptorSupplier("CreateEvent")) + .build(); + } + } + } + return getCreateEventMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.ListEventsRequest, + com.google.cloud.video.livestream.v1.ListEventsResponse> + getListEventsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEvents", + requestType = com.google.cloud.video.livestream.v1.ListEventsRequest.class, + responseType = com.google.cloud.video.livestream.v1.ListEventsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.ListEventsRequest, + com.google.cloud.video.livestream.v1.ListEventsResponse> + getListEventsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.ListEventsRequest, + com.google.cloud.video.livestream.v1.ListEventsResponse> + getListEventsMethod; + if ((getListEventsMethod = LivestreamServiceGrpc.getListEventsMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getListEventsMethod = LivestreamServiceGrpc.getListEventsMethod) == null) { + LivestreamServiceGrpc.getListEventsMethod = + getListEventsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEvents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.ListEventsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.ListEventsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new LivestreamServiceMethodDescriptorSupplier("ListEvents")) + .build(); + } + } + } + return getListEventsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.GetEventRequest, + com.google.cloud.video.livestream.v1.Event> + getGetEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEvent", + requestType = com.google.cloud.video.livestream.v1.GetEventRequest.class, + responseType = com.google.cloud.video.livestream.v1.Event.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.GetEventRequest, + com.google.cloud.video.livestream.v1.Event> + getGetEventMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.GetEventRequest, + com.google.cloud.video.livestream.v1.Event> + getGetEventMethod; + if ((getGetEventMethod = LivestreamServiceGrpc.getGetEventMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getGetEventMethod = LivestreamServiceGrpc.getGetEventMethod) == null) { + LivestreamServiceGrpc.getGetEventMethod = + getGetEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.GetEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.Event.getDefaultInstance())) + .setSchemaDescriptor( + new LivestreamServiceMethodDescriptorSupplier("GetEvent")) + .build(); + } + } + } + return getGetEventMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.DeleteEventRequest, com.google.protobuf.Empty> + getDeleteEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEvent", + requestType = com.google.cloud.video.livestream.v1.DeleteEventRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.DeleteEventRequest, com.google.protobuf.Empty> + getDeleteEventMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.video.livestream.v1.DeleteEventRequest, com.google.protobuf.Empty> + getDeleteEventMethod; + if ((getDeleteEventMethod = LivestreamServiceGrpc.getDeleteEventMethod) == null) { + synchronized (LivestreamServiceGrpc.class) { + if ((getDeleteEventMethod = LivestreamServiceGrpc.getDeleteEventMethod) == null) { + LivestreamServiceGrpc.getDeleteEventMethod = + getDeleteEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.livestream.v1.DeleteEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new LivestreamServiceMethodDescriptorSupplier("DeleteEvent")) + .build(); + } + } + } + return getDeleteEventMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static LivestreamServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public LivestreamServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LivestreamServiceStub(channel, callOptions); + } + }; + return LivestreamServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static LivestreamServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public LivestreamServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LivestreamServiceBlockingStub(channel, callOptions); + } + }; + return LivestreamServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static LivestreamServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public LivestreamServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LivestreamServiceFutureStub(channel, callOptions); + } + }; + return LivestreamServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Using Live Stream API, you can generate live streams in the various
+   * renditions and streaming formats. The streaming format include HTTP Live
+   * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
+   * a source stream in the various ways, including Real-Time Messaging
+   * Protocol (RTMP) and Secure Reliable Transport (SRT).
+   * 
+ */ + public abstract static class LivestreamServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Creates a channel with the provided unique ID in the specified
+     * region.
+     * 
+ */ + public void createChannel( + com.google.cloud.video.livestream.v1.CreateChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateChannelMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns a list of all channels in the specified region.
+     * 
+ */ + public void listChannels( + com.google.cloud.video.livestream.v1.ListChannelsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListChannelsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the specified channel.
+     * 
+ */ + public void getChannel( + com.google.cloud.video.livestream.v1.GetChannelRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetChannelMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes the specified channel.
+     * 
+ */ + public void deleteChannel( + com.google.cloud.video.livestream.v1.DeleteChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteChannelMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the specified channel.
+     * 
+ */ + public void updateChannel( + com.google.cloud.video.livestream.v1.UpdateChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateChannelMethod(), responseObserver); + } + + /** + * + * + *
+     * Starts the specified channel. Part of the video pipeline will be created
+     * only when the StartChannel request is received by the server.
+     * 
+ */ + public void startChannel( + com.google.cloud.video.livestream.v1.StartChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getStartChannelMethod(), responseObserver); + } + + /** + * + * + *
+     * Stops the specified channel. Part of the video pipeline will be released
+     * when the StopChannel request is received by the server.
+     * 
+ */ + public void stopChannel( + com.google.cloud.video.livestream.v1.StopChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getStopChannelMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates an input with the provided unique ID in the specified region.
+     * 
+ */ + public void createInput( + com.google.cloud.video.livestream.v1.CreateInputRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateInputMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns a list of all inputs in the specified region.
+     * 
+ */ + public void listInputs( + com.google.cloud.video.livestream.v1.ListInputsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInputsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the specified input.
+     * 
+ */ + public void getInput( + com.google.cloud.video.livestream.v1.GetInputRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInputMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes the specified input.
+     * 
+ */ + public void deleteInput( + com.google.cloud.video.livestream.v1.DeleteInputRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteInputMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the specified input.
+     * 
+ */ + public void updateInput( + com.google.cloud.video.livestream.v1.UpdateInputRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateInputMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates an event with the provided unique ID in the specified channel.
+     * 
+ */ + public void createEvent( + com.google.cloud.video.livestream.v1.CreateEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateEventMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns a list of all events in the specified channel.
+     * 
+ */ + public void listEvents( + com.google.cloud.video.livestream.v1.ListEventsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEventsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the specified event.
+     * 
+ */ + public void getEvent( + com.google.cloud.video.livestream.v1.GetEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEventMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes the specified event.
+     * 
+ */ + public void deleteEvent( + com.google.cloud.video.livestream.v1.DeleteEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteEventMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.CreateChannelRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_CHANNEL))) + .addMethod( + getListChannelsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.ListChannelsRequest, + com.google.cloud.video.livestream.v1.ListChannelsResponse>( + this, METHODID_LIST_CHANNELS))) + .addMethod( + getGetChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.GetChannelRequest, + com.google.cloud.video.livestream.v1.Channel>(this, METHODID_GET_CHANNEL))) + .addMethod( + getDeleteChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.DeleteChannelRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_CHANNEL))) + .addMethod( + getUpdateChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.UpdateChannelRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_CHANNEL))) + .addMethod( + getStartChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.StartChannelRequest, + com.google.longrunning.Operation>(this, METHODID_START_CHANNEL))) + .addMethod( + getStopChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.StopChannelRequest, + com.google.longrunning.Operation>(this, METHODID_STOP_CHANNEL))) + .addMethod( + getCreateInputMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.CreateInputRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_INPUT))) + .addMethod( + getListInputsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.ListInputsRequest, + com.google.cloud.video.livestream.v1.ListInputsResponse>( + this, METHODID_LIST_INPUTS))) + .addMethod( + getGetInputMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.GetInputRequest, + com.google.cloud.video.livestream.v1.Input>(this, METHODID_GET_INPUT))) + .addMethod( + getDeleteInputMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.DeleteInputRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_INPUT))) + .addMethod( + getUpdateInputMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.UpdateInputRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_INPUT))) + .addMethod( + getCreateEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.CreateEventRequest, + com.google.cloud.video.livestream.v1.Event>(this, METHODID_CREATE_EVENT))) + .addMethod( + getListEventsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.ListEventsRequest, + com.google.cloud.video.livestream.v1.ListEventsResponse>( + this, METHODID_LIST_EVENTS))) + .addMethod( + getGetEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.GetEventRequest, + com.google.cloud.video.livestream.v1.Event>(this, METHODID_GET_EVENT))) + .addMethod( + getDeleteEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.livestream.v1.DeleteEventRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_EVENT))) + .build(); + } + } + + /** + * + * + *
+   * Using Live Stream API, you can generate live streams in the various
+   * renditions and streaming formats. The streaming format include HTTP Live
+   * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
+   * a source stream in the various ways, including Real-Time Messaging
+   * Protocol (RTMP) and Secure Reliable Transport (SRT).
+   * 
+ */ + public static final class LivestreamServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private LivestreamServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected LivestreamServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LivestreamServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a channel with the provided unique ID in the specified
+     * region.
+     * 
+ */ + public void createChannel( + com.google.cloud.video.livestream.v1.CreateChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateChannelMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns a list of all channels in the specified region.
+     * 
+ */ + public void listChannels( + com.google.cloud.video.livestream.v1.ListChannelsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListChannelsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns the specified channel.
+     * 
+ */ + public void getChannel( + com.google.cloud.video.livestream.v1.GetChannelRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetChannelMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes the specified channel.
+     * 
+ */ + public void deleteChannel( + com.google.cloud.video.livestream.v1.DeleteChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteChannelMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the specified channel.
+     * 
+ */ + public void updateChannel( + com.google.cloud.video.livestream.v1.UpdateChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateChannelMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Starts the specified channel. Part of the video pipeline will be created
+     * only when the StartChannel request is received by the server.
+     * 
+ */ + public void startChannel( + com.google.cloud.video.livestream.v1.StartChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStartChannelMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Stops the specified channel. Part of the video pipeline will be released
+     * when the StopChannel request is received by the server.
+     * 
+ */ + public void stopChannel( + com.google.cloud.video.livestream.v1.StopChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStopChannelMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates an input with the provided unique ID in the specified region.
+     * 
+ */ + public void createInput( + com.google.cloud.video.livestream.v1.CreateInputRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInputMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns a list of all inputs in the specified region.
+     * 
+ */ + public void listInputs( + com.google.cloud.video.livestream.v1.ListInputsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInputsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Returns the specified input.
+     * 
+ */ + public void getInput( + com.google.cloud.video.livestream.v1.GetInputRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInputMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes the specified input.
+     * 
+ */ + public void deleteInput( + com.google.cloud.video.livestream.v1.DeleteInputRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInputMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the specified input.
+     * 
+ */ + public void updateInput( + com.google.cloud.video.livestream.v1.UpdateInputRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInputMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates an event with the provided unique ID in the specified channel.
+     * 
+ */ + public void createEvent( + com.google.cloud.video.livestream.v1.CreateEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateEventMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns a list of all events in the specified channel.
+     * 
+ */ + public void listEvents( + com.google.cloud.video.livestream.v1.ListEventsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEventsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Returns the specified event.
+     * 
+ */ + public void getEvent( + com.google.cloud.video.livestream.v1.GetEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEventMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes the specified event.
+     * 
+ */ + public void deleteEvent( + com.google.cloud.video.livestream.v1.DeleteEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteEventMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Using Live Stream API, you can generate live streams in the various
+   * renditions and streaming formats. The streaming format include HTTP Live
+   * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
+   * a source stream in the various ways, including Real-Time Messaging
+   * Protocol (RTMP) and Secure Reliable Transport (SRT).
+   * 
+ */ + public static final class LivestreamServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private LivestreamServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected LivestreamServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LivestreamServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a channel with the provided unique ID in the specified
+     * region.
+     * 
+ */ + public com.google.longrunning.Operation createChannel( + com.google.cloud.video.livestream.v1.CreateChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateChannelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns a list of all channels in the specified region.
+     * 
+ */ + public com.google.cloud.video.livestream.v1.ListChannelsResponse listChannels( + com.google.cloud.video.livestream.v1.ListChannelsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListChannelsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns the specified channel.
+     * 
+ */ + public com.google.cloud.video.livestream.v1.Channel getChannel( + com.google.cloud.video.livestream.v1.GetChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetChannelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes the specified channel.
+     * 
+ */ + public com.google.longrunning.Operation deleteChannel( + com.google.cloud.video.livestream.v1.DeleteChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteChannelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the specified channel.
+     * 
+ */ + public com.google.longrunning.Operation updateChannel( + com.google.cloud.video.livestream.v1.UpdateChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateChannelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Starts the specified channel. Part of the video pipeline will be created
+     * only when the StartChannel request is received by the server.
+     * 
+ */ + public com.google.longrunning.Operation startChannel( + com.google.cloud.video.livestream.v1.StartChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartChannelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Stops the specified channel. Part of the video pipeline will be released
+     * when the StopChannel request is received by the server.
+     * 
+ */ + public com.google.longrunning.Operation stopChannel( + com.google.cloud.video.livestream.v1.StopChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStopChannelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates an input with the provided unique ID in the specified region.
+     * 
+ */ + public com.google.longrunning.Operation createInput( + com.google.cloud.video.livestream.v1.CreateInputRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInputMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns a list of all inputs in the specified region.
+     * 
+ */ + public com.google.cloud.video.livestream.v1.ListInputsResponse listInputs( + com.google.cloud.video.livestream.v1.ListInputsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInputsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns the specified input.
+     * 
+ */ + public com.google.cloud.video.livestream.v1.Input getInput( + com.google.cloud.video.livestream.v1.GetInputRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInputMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes the specified input.
+     * 
+ */ + public com.google.longrunning.Operation deleteInput( + com.google.cloud.video.livestream.v1.DeleteInputRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInputMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the specified input.
+     * 
+ */ + public com.google.longrunning.Operation updateInput( + com.google.cloud.video.livestream.v1.UpdateInputRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInputMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates an event with the provided unique ID in the specified channel.
+     * 
+ */ + public com.google.cloud.video.livestream.v1.Event createEvent( + com.google.cloud.video.livestream.v1.CreateEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateEventMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns a list of all events in the specified channel.
+     * 
+ */ + public com.google.cloud.video.livestream.v1.ListEventsResponse listEvents( + com.google.cloud.video.livestream.v1.ListEventsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEventsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns the specified event.
+     * 
+ */ + public com.google.cloud.video.livestream.v1.Event getEvent( + com.google.cloud.video.livestream.v1.GetEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEventMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes the specified event.
+     * 
+ */ + public com.google.protobuf.Empty deleteEvent( + com.google.cloud.video.livestream.v1.DeleteEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteEventMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Using Live Stream API, you can generate live streams in the various
+   * renditions and streaming formats. The streaming format include HTTP Live
+   * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
+   * a source stream in the various ways, including Real-Time Messaging
+   * Protocol (RTMP) and Secure Reliable Transport (SRT).
+   * 
+ */ + public static final class LivestreamServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private LivestreamServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected LivestreamServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LivestreamServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a channel with the provided unique ID in the specified
+     * region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createChannel(com.google.cloud.video.livestream.v1.CreateChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateChannelMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns a list of all channels in the specified region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.video.livestream.v1.ListChannelsResponse> + listChannels(com.google.cloud.video.livestream.v1.ListChannelsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListChannelsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns the specified channel.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.video.livestream.v1.Channel> + getChannel(com.google.cloud.video.livestream.v1.GetChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetChannelMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes the specified channel.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteChannel(com.google.cloud.video.livestream.v1.DeleteChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteChannelMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the specified channel.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateChannel(com.google.cloud.video.livestream.v1.UpdateChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateChannelMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Starts the specified channel. Part of the video pipeline will be created
+     * only when the StartChannel request is received by the server.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + startChannel(com.google.cloud.video.livestream.v1.StartChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStartChannelMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Stops the specified channel. Part of the video pipeline will be released
+     * when the StopChannel request is received by the server.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + stopChannel(com.google.cloud.video.livestream.v1.StopChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStopChannelMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates an input with the provided unique ID in the specified region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createInput(com.google.cloud.video.livestream.v1.CreateInputRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInputMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns a list of all inputs in the specified region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.video.livestream.v1.ListInputsResponse> + listInputs(com.google.cloud.video.livestream.v1.ListInputsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInputsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns the specified input.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.video.livestream.v1.Input> + getInput(com.google.cloud.video.livestream.v1.GetInputRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInputMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes the specified input.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteInput(com.google.cloud.video.livestream.v1.DeleteInputRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInputMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the specified input.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateInput(com.google.cloud.video.livestream.v1.UpdateInputRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInputMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates an event with the provided unique ID in the specified channel.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.video.livestream.v1.Event> + createEvent(com.google.cloud.video.livestream.v1.CreateEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateEventMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns a list of all events in the specified channel.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.video.livestream.v1.ListEventsResponse> + listEvents(com.google.cloud.video.livestream.v1.ListEventsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEventsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns the specified event.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.video.livestream.v1.Event> + getEvent(com.google.cloud.video.livestream.v1.GetEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEventMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes the specified event.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteEvent(com.google.cloud.video.livestream.v1.DeleteEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteEventMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_CHANNEL = 0; + private static final int METHODID_LIST_CHANNELS = 1; + private static final int METHODID_GET_CHANNEL = 2; + private static final int METHODID_DELETE_CHANNEL = 3; + private static final int METHODID_UPDATE_CHANNEL = 4; + private static final int METHODID_START_CHANNEL = 5; + private static final int METHODID_STOP_CHANNEL = 6; + private static final int METHODID_CREATE_INPUT = 7; + private static final int METHODID_LIST_INPUTS = 8; + private static final int METHODID_GET_INPUT = 9; + private static final int METHODID_DELETE_INPUT = 10; + private static final int METHODID_UPDATE_INPUT = 11; + private static final int METHODID_CREATE_EVENT = 12; + private static final int METHODID_LIST_EVENTS = 13; + private static final int METHODID_GET_EVENT = 14; + private static final int METHODID_DELETE_EVENT = 15; + + 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 LivestreamServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(LivestreamServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_CHANNEL: + serviceImpl.createChannel( + (com.google.cloud.video.livestream.v1.CreateChannelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CHANNELS: + serviceImpl.listChannels( + (com.google.cloud.video.livestream.v1.ListChannelsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.video.livestream.v1.ListChannelsResponse>) + responseObserver); + break; + case METHODID_GET_CHANNEL: + serviceImpl.getChannel( + (com.google.cloud.video.livestream.v1.GetChannelRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_CHANNEL: + serviceImpl.deleteChannel( + (com.google.cloud.video.livestream.v1.DeleteChannelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CHANNEL: + serviceImpl.updateChannel( + (com.google.cloud.video.livestream.v1.UpdateChannelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_START_CHANNEL: + serviceImpl.startChannel( + (com.google.cloud.video.livestream.v1.StartChannelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_STOP_CHANNEL: + serviceImpl.stopChannel( + (com.google.cloud.video.livestream.v1.StopChannelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_INPUT: + serviceImpl.createInput( + (com.google.cloud.video.livestream.v1.CreateInputRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INPUTS: + serviceImpl.listInputs( + (com.google.cloud.video.livestream.v1.ListInputsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_INPUT: + serviceImpl.getInput( + (com.google.cloud.video.livestream.v1.GetInputRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_INPUT: + serviceImpl.deleteInput( + (com.google.cloud.video.livestream.v1.DeleteInputRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_INPUT: + serviceImpl.updateInput( + (com.google.cloud.video.livestream.v1.UpdateInputRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_EVENT: + serviceImpl.createEvent( + (com.google.cloud.video.livestream.v1.CreateEventRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_EVENTS: + serviceImpl.listEvents( + (com.google.cloud.video.livestream.v1.ListEventsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_EVENT: + serviceImpl.getEvent( + (com.google.cloud.video.livestream.v1.GetEventRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_EVENT: + serviceImpl.deleteEvent( + (com.google.cloud.video.livestream.v1.DeleteEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class LivestreamServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + LivestreamServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("LivestreamService"); + } + } + + private static final class LivestreamServiceFileDescriptorSupplier + extends LivestreamServiceBaseDescriptorSupplier { + LivestreamServiceFileDescriptorSupplier() {} + } + + private static final class LivestreamServiceMethodDescriptorSupplier + extends LivestreamServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + LivestreamServiceMethodDescriptorSupplier(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 (LivestreamServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new LivestreamServiceFileDescriptorSupplier()) + .addMethod(getCreateChannelMethod()) + .addMethod(getListChannelsMethod()) + .addMethod(getGetChannelMethod()) + .addMethod(getDeleteChannelMethod()) + .addMethod(getUpdateChannelMethod()) + .addMethod(getStartChannelMethod()) + .addMethod(getStopChannelMethod()) + .addMethod(getCreateInputMethod()) + .addMethod(getListInputsMethod()) + .addMethod(getGetInputMethod()) + .addMethod(getDeleteInputMethod()) + .addMethod(getUpdateInputMethod()) + .addMethod(getCreateEventMethod()) + .addMethod(getListEventsMethod()) + .addMethod(getGetEventMethod()) + .addMethod(getDeleteEventMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/grpc-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceGrpc.java deleted file mode 100644 index bee663f..0000000 --- a/owl-bot-staging/v1/grpc-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceGrpc.java +++ /dev/null @@ -1,1625 +0,0 @@ -package com.google.cloud.video.livestream.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Using Live Stream API, you can generate live streams in the various
- * renditions and streaming formats. The streaming format include HTTP Live
- * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
- * a source stream in the various ways, including Real-Time Messaging
- * Protocol (RTMP) and Secure Reliable Transport (SRT).
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/video/livestream/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class LivestreamServiceGrpc { - - private LivestreamServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.video.livestream.v1.LivestreamService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateChannel", - requestType = com.google.cloud.video.livestream.v1.CreateChannelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateChannelMethod() { - io.grpc.MethodDescriptor getCreateChannelMethod; - if ((getCreateChannelMethod = LivestreamServiceGrpc.getCreateChannelMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getCreateChannelMethod = LivestreamServiceGrpc.getCreateChannelMethod) == null) { - LivestreamServiceGrpc.getCreateChannelMethod = getCreateChannelMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.CreateChannelRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("CreateChannel")) - .build(); - } - } - } - return getCreateChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor getListChannelsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListChannels", - requestType = com.google.cloud.video.livestream.v1.ListChannelsRequest.class, - responseType = com.google.cloud.video.livestream.v1.ListChannelsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListChannelsMethod() { - io.grpc.MethodDescriptor getListChannelsMethod; - if ((getListChannelsMethod = LivestreamServiceGrpc.getListChannelsMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getListChannelsMethod = LivestreamServiceGrpc.getListChannelsMethod) == null) { - LivestreamServiceGrpc.getListChannelsMethod = getListChannelsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListChannels")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.ListChannelsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.ListChannelsResponse.getDefaultInstance())) - .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("ListChannels")) - .build(); - } - } - } - return getListChannelsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetChannel", - requestType = com.google.cloud.video.livestream.v1.GetChannelRequest.class, - responseType = com.google.cloud.video.livestream.v1.Channel.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetChannelMethod() { - io.grpc.MethodDescriptor getGetChannelMethod; - if ((getGetChannelMethod = LivestreamServiceGrpc.getGetChannelMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getGetChannelMethod = LivestreamServiceGrpc.getGetChannelMethod) == null) { - LivestreamServiceGrpc.getGetChannelMethod = getGetChannelMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.GetChannelRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.Channel.getDefaultInstance())) - .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("GetChannel")) - .build(); - } - } - } - return getGetChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteChannel", - requestType = com.google.cloud.video.livestream.v1.DeleteChannelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteChannelMethod() { - io.grpc.MethodDescriptor getDeleteChannelMethod; - if ((getDeleteChannelMethod = LivestreamServiceGrpc.getDeleteChannelMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getDeleteChannelMethod = LivestreamServiceGrpc.getDeleteChannelMethod) == null) { - LivestreamServiceGrpc.getDeleteChannelMethod = getDeleteChannelMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.DeleteChannelRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("DeleteChannel")) - .build(); - } - } - } - return getDeleteChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateChannel", - requestType = com.google.cloud.video.livestream.v1.UpdateChannelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateChannelMethod() { - io.grpc.MethodDescriptor getUpdateChannelMethod; - if ((getUpdateChannelMethod = LivestreamServiceGrpc.getUpdateChannelMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getUpdateChannelMethod = LivestreamServiceGrpc.getUpdateChannelMethod) == null) { - LivestreamServiceGrpc.getUpdateChannelMethod = getUpdateChannelMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.UpdateChannelRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("UpdateChannel")) - .build(); - } - } - } - return getUpdateChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor getStartChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StartChannel", - requestType = com.google.cloud.video.livestream.v1.StartChannelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getStartChannelMethod() { - io.grpc.MethodDescriptor getStartChannelMethod; - if ((getStartChannelMethod = LivestreamServiceGrpc.getStartChannelMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getStartChannelMethod = LivestreamServiceGrpc.getStartChannelMethod) == null) { - LivestreamServiceGrpc.getStartChannelMethod = getStartChannelMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.StartChannelRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("StartChannel")) - .build(); - } - } - } - return getStartChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor getStopChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StopChannel", - requestType = com.google.cloud.video.livestream.v1.StopChannelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getStopChannelMethod() { - io.grpc.MethodDescriptor getStopChannelMethod; - if ((getStopChannelMethod = LivestreamServiceGrpc.getStopChannelMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getStopChannelMethod = LivestreamServiceGrpc.getStopChannelMethod) == null) { - LivestreamServiceGrpc.getStopChannelMethod = getStopChannelMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StopChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.StopChannelRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("StopChannel")) - .build(); - } - } - } - return getStopChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateInputMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInput", - requestType = com.google.cloud.video.livestream.v1.CreateInputRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateInputMethod() { - io.grpc.MethodDescriptor getCreateInputMethod; - if ((getCreateInputMethod = LivestreamServiceGrpc.getCreateInputMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getCreateInputMethod = LivestreamServiceGrpc.getCreateInputMethod) == null) { - LivestreamServiceGrpc.getCreateInputMethod = getCreateInputMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInput")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.CreateInputRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("CreateInput")) - .build(); - } - } - } - return getCreateInputMethod; - } - - private static volatile io.grpc.MethodDescriptor getListInputsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInputs", - requestType = com.google.cloud.video.livestream.v1.ListInputsRequest.class, - responseType = com.google.cloud.video.livestream.v1.ListInputsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListInputsMethod() { - io.grpc.MethodDescriptor getListInputsMethod; - if ((getListInputsMethod = LivestreamServiceGrpc.getListInputsMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getListInputsMethod = LivestreamServiceGrpc.getListInputsMethod) == null) { - LivestreamServiceGrpc.getListInputsMethod = getListInputsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInputs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.ListInputsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.ListInputsResponse.getDefaultInstance())) - .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("ListInputs")) - .build(); - } - } - } - return getListInputsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetInputMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInput", - requestType = com.google.cloud.video.livestream.v1.GetInputRequest.class, - responseType = com.google.cloud.video.livestream.v1.Input.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetInputMethod() { - io.grpc.MethodDescriptor getGetInputMethod; - if ((getGetInputMethod = LivestreamServiceGrpc.getGetInputMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getGetInputMethod = LivestreamServiceGrpc.getGetInputMethod) == null) { - LivestreamServiceGrpc.getGetInputMethod = getGetInputMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInput")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.GetInputRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.Input.getDefaultInstance())) - .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("GetInput")) - .build(); - } - } - } - return getGetInputMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteInputMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInput", - requestType = com.google.cloud.video.livestream.v1.DeleteInputRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteInputMethod() { - io.grpc.MethodDescriptor getDeleteInputMethod; - if ((getDeleteInputMethod = LivestreamServiceGrpc.getDeleteInputMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getDeleteInputMethod = LivestreamServiceGrpc.getDeleteInputMethod) == null) { - LivestreamServiceGrpc.getDeleteInputMethod = getDeleteInputMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInput")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.DeleteInputRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("DeleteInput")) - .build(); - } - } - } - return getDeleteInputMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateInputMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateInput", - requestType = com.google.cloud.video.livestream.v1.UpdateInputRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateInputMethod() { - io.grpc.MethodDescriptor getUpdateInputMethod; - if ((getUpdateInputMethod = LivestreamServiceGrpc.getUpdateInputMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getUpdateInputMethod = LivestreamServiceGrpc.getUpdateInputMethod) == null) { - LivestreamServiceGrpc.getUpdateInputMethod = getUpdateInputMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInput")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.UpdateInputRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("UpdateInput")) - .build(); - } - } - } - return getUpdateInputMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateEvent", - requestType = com.google.cloud.video.livestream.v1.CreateEventRequest.class, - responseType = com.google.cloud.video.livestream.v1.Event.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateEventMethod() { - io.grpc.MethodDescriptor getCreateEventMethod; - if ((getCreateEventMethod = LivestreamServiceGrpc.getCreateEventMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getCreateEventMethod = LivestreamServiceGrpc.getCreateEventMethod) == null) { - LivestreamServiceGrpc.getCreateEventMethod = getCreateEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.CreateEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.Event.getDefaultInstance())) - .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("CreateEvent")) - .build(); - } - } - } - return getCreateEventMethod; - } - - private static volatile io.grpc.MethodDescriptor getListEventsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEvents", - requestType = com.google.cloud.video.livestream.v1.ListEventsRequest.class, - responseType = com.google.cloud.video.livestream.v1.ListEventsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListEventsMethod() { - io.grpc.MethodDescriptor getListEventsMethod; - if ((getListEventsMethod = LivestreamServiceGrpc.getListEventsMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getListEventsMethod = LivestreamServiceGrpc.getListEventsMethod) == null) { - LivestreamServiceGrpc.getListEventsMethod = getListEventsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEvents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.ListEventsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.ListEventsResponse.getDefaultInstance())) - .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("ListEvents")) - .build(); - } - } - } - return getListEventsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEvent", - requestType = com.google.cloud.video.livestream.v1.GetEventRequest.class, - responseType = com.google.cloud.video.livestream.v1.Event.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetEventMethod() { - io.grpc.MethodDescriptor getGetEventMethod; - if ((getGetEventMethod = LivestreamServiceGrpc.getGetEventMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getGetEventMethod = LivestreamServiceGrpc.getGetEventMethod) == null) { - LivestreamServiceGrpc.getGetEventMethod = getGetEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.GetEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.Event.getDefaultInstance())) - .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("GetEvent")) - .build(); - } - } - } - return getGetEventMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteEvent", - requestType = com.google.cloud.video.livestream.v1.DeleteEventRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteEventMethod() { - io.grpc.MethodDescriptor getDeleteEventMethod; - if ((getDeleteEventMethod = LivestreamServiceGrpc.getDeleteEventMethod) == null) { - synchronized (LivestreamServiceGrpc.class) { - if ((getDeleteEventMethod = LivestreamServiceGrpc.getDeleteEventMethod) == null) { - LivestreamServiceGrpc.getDeleteEventMethod = getDeleteEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.livestream.v1.DeleteEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new LivestreamServiceMethodDescriptorSupplier("DeleteEvent")) - .build(); - } - } - } - return getDeleteEventMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static LivestreamServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public LivestreamServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LivestreamServiceStub(channel, callOptions); - } - }; - return LivestreamServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static LivestreamServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public LivestreamServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LivestreamServiceBlockingStub(channel, callOptions); - } - }; - return LivestreamServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static LivestreamServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public LivestreamServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LivestreamServiceFutureStub(channel, callOptions); - } - }; - return LivestreamServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * Using Live Stream API, you can generate live streams in the various
-   * renditions and streaming formats. The streaming format include HTTP Live
-   * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
-   * a source stream in the various ways, including Real-Time Messaging
-   * Protocol (RTMP) and Secure Reliable Transport (SRT).
-   * 
- */ - public static abstract class LivestreamServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Creates a channel with the provided unique ID in the specified
-     * region.
-     * 
- */ - public void createChannel(com.google.cloud.video.livestream.v1.CreateChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateChannelMethod(), responseObserver); - } - - /** - *
-     * Returns a list of all channels in the specified region.
-     * 
- */ - public void listChannels(com.google.cloud.video.livestream.v1.ListChannelsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListChannelsMethod(), responseObserver); - } - - /** - *
-     * Returns the specified channel.
-     * 
- */ - public void getChannel(com.google.cloud.video.livestream.v1.GetChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetChannelMethod(), responseObserver); - } - - /** - *
-     * Deletes the specified channel.
-     * 
- */ - public void deleteChannel(com.google.cloud.video.livestream.v1.DeleteChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteChannelMethod(), responseObserver); - } - - /** - *
-     * Updates the specified channel.
-     * 
- */ - public void updateChannel(com.google.cloud.video.livestream.v1.UpdateChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateChannelMethod(), responseObserver); - } - - /** - *
-     * Starts the specified channel. Part of the video pipeline will be created
-     * only when the StartChannel request is received by the server.
-     * 
- */ - public void startChannel(com.google.cloud.video.livestream.v1.StartChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartChannelMethod(), responseObserver); - } - - /** - *
-     * Stops the specified channel. Part of the video pipeline will be released
-     * when the StopChannel request is received by the server.
-     * 
- */ - public void stopChannel(com.google.cloud.video.livestream.v1.StopChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStopChannelMethod(), responseObserver); - } - - /** - *
-     * Creates an input with the provided unique ID in the specified region.
-     * 
- */ - public void createInput(com.google.cloud.video.livestream.v1.CreateInputRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInputMethod(), responseObserver); - } - - /** - *
-     * Returns a list of all inputs in the specified region.
-     * 
- */ - public void listInputs(com.google.cloud.video.livestream.v1.ListInputsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInputsMethod(), responseObserver); - } - - /** - *
-     * Returns the specified input.
-     * 
- */ - public void getInput(com.google.cloud.video.livestream.v1.GetInputRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInputMethod(), responseObserver); - } - - /** - *
-     * Deletes the specified input.
-     * 
- */ - public void deleteInput(com.google.cloud.video.livestream.v1.DeleteInputRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInputMethod(), responseObserver); - } - - /** - *
-     * Updates the specified input.
-     * 
- */ - public void updateInput(com.google.cloud.video.livestream.v1.UpdateInputRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInputMethod(), responseObserver); - } - - /** - *
-     * Creates an event with the provided unique ID in the specified channel.
-     * 
- */ - public void createEvent(com.google.cloud.video.livestream.v1.CreateEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEventMethod(), responseObserver); - } - - /** - *
-     * Returns a list of all events in the specified channel.
-     * 
- */ - public void listEvents(com.google.cloud.video.livestream.v1.ListEventsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEventsMethod(), responseObserver); - } - - /** - *
-     * Returns the specified event.
-     * 
- */ - public void getEvent(com.google.cloud.video.livestream.v1.GetEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEventMethod(), responseObserver); - } - - /** - *
-     * Deletes the specified event.
-     * 
- */ - public void deleteEvent(com.google.cloud.video.livestream.v1.DeleteEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEventMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.CreateChannelRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_CHANNEL))) - .addMethod( - getListChannelsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.ListChannelsRequest, - com.google.cloud.video.livestream.v1.ListChannelsResponse>( - this, METHODID_LIST_CHANNELS))) - .addMethod( - getGetChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.GetChannelRequest, - com.google.cloud.video.livestream.v1.Channel>( - this, METHODID_GET_CHANNEL))) - .addMethod( - getDeleteChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.DeleteChannelRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_CHANNEL))) - .addMethod( - getUpdateChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.UpdateChannelRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_CHANNEL))) - .addMethod( - getStartChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.StartChannelRequest, - com.google.longrunning.Operation>( - this, METHODID_START_CHANNEL))) - .addMethod( - getStopChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.StopChannelRequest, - com.google.longrunning.Operation>( - this, METHODID_STOP_CHANNEL))) - .addMethod( - getCreateInputMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.CreateInputRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_INPUT))) - .addMethod( - getListInputsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.ListInputsRequest, - com.google.cloud.video.livestream.v1.ListInputsResponse>( - this, METHODID_LIST_INPUTS))) - .addMethod( - getGetInputMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.GetInputRequest, - com.google.cloud.video.livestream.v1.Input>( - this, METHODID_GET_INPUT))) - .addMethod( - getDeleteInputMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.DeleteInputRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_INPUT))) - .addMethod( - getUpdateInputMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.UpdateInputRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_INPUT))) - .addMethod( - getCreateEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.CreateEventRequest, - com.google.cloud.video.livestream.v1.Event>( - this, METHODID_CREATE_EVENT))) - .addMethod( - getListEventsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.ListEventsRequest, - com.google.cloud.video.livestream.v1.ListEventsResponse>( - this, METHODID_LIST_EVENTS))) - .addMethod( - getGetEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.GetEventRequest, - com.google.cloud.video.livestream.v1.Event>( - this, METHODID_GET_EVENT))) - .addMethod( - getDeleteEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.livestream.v1.DeleteEventRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_EVENT))) - .build(); - } - } - - /** - *
-   * Using Live Stream API, you can generate live streams in the various
-   * renditions and streaming formats. The streaming format include HTTP Live
-   * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
-   * a source stream in the various ways, including Real-Time Messaging
-   * Protocol (RTMP) and Secure Reliable Transport (SRT).
-   * 
- */ - public static final class LivestreamServiceStub extends io.grpc.stub.AbstractAsyncStub { - private LivestreamServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected LivestreamServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LivestreamServiceStub(channel, callOptions); - } - - /** - *
-     * Creates a channel with the provided unique ID in the specified
-     * region.
-     * 
- */ - public void createChannel(com.google.cloud.video.livestream.v1.CreateChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateChannelMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns a list of all channels in the specified region.
-     * 
- */ - public void listChannels(com.google.cloud.video.livestream.v1.ListChannelsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListChannelsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns the specified channel.
-     * 
- */ - public void getChannel(com.google.cloud.video.livestream.v1.GetChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetChannelMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes the specified channel.
-     * 
- */ - public void deleteChannel(com.google.cloud.video.livestream.v1.DeleteChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteChannelMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the specified channel.
-     * 
- */ - public void updateChannel(com.google.cloud.video.livestream.v1.UpdateChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateChannelMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Starts the specified channel. Part of the video pipeline will be created
-     * only when the StartChannel request is received by the server.
-     * 
- */ - public void startChannel(com.google.cloud.video.livestream.v1.StartChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartChannelMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Stops the specified channel. Part of the video pipeline will be released
-     * when the StopChannel request is received by the server.
-     * 
- */ - public void stopChannel(com.google.cloud.video.livestream.v1.StopChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStopChannelMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates an input with the provided unique ID in the specified region.
-     * 
- */ - public void createInput(com.google.cloud.video.livestream.v1.CreateInputRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInputMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns a list of all inputs in the specified region.
-     * 
- */ - public void listInputs(com.google.cloud.video.livestream.v1.ListInputsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInputsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns the specified input.
-     * 
- */ - public void getInput(com.google.cloud.video.livestream.v1.GetInputRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInputMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes the specified input.
-     * 
- */ - public void deleteInput(com.google.cloud.video.livestream.v1.DeleteInputRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInputMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the specified input.
-     * 
- */ - public void updateInput(com.google.cloud.video.livestream.v1.UpdateInputRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInputMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates an event with the provided unique ID in the specified channel.
-     * 
- */ - public void createEvent(com.google.cloud.video.livestream.v1.CreateEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEventMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns a list of all events in the specified channel.
-     * 
- */ - public void listEvents(com.google.cloud.video.livestream.v1.ListEventsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEventsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns the specified event.
-     * 
- */ - public void getEvent(com.google.cloud.video.livestream.v1.GetEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEventMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes the specified event.
-     * 
- */ - public void deleteEvent(com.google.cloud.video.livestream.v1.DeleteEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEventMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Using Live Stream API, you can generate live streams in the various
-   * renditions and streaming formats. The streaming format include HTTP Live
-   * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
-   * a source stream in the various ways, including Real-Time Messaging
-   * Protocol (RTMP) and Secure Reliable Transport (SRT).
-   * 
- */ - public static final class LivestreamServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private LivestreamServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected LivestreamServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LivestreamServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a channel with the provided unique ID in the specified
-     * region.
-     * 
- */ - public com.google.longrunning.Operation createChannel(com.google.cloud.video.livestream.v1.CreateChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateChannelMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns a list of all channels in the specified region.
-     * 
- */ - public com.google.cloud.video.livestream.v1.ListChannelsResponse listChannels(com.google.cloud.video.livestream.v1.ListChannelsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListChannelsMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns the specified channel.
-     * 
- */ - public com.google.cloud.video.livestream.v1.Channel getChannel(com.google.cloud.video.livestream.v1.GetChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetChannelMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes the specified channel.
-     * 
- */ - public com.google.longrunning.Operation deleteChannel(com.google.cloud.video.livestream.v1.DeleteChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteChannelMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the specified channel.
-     * 
- */ - public com.google.longrunning.Operation updateChannel(com.google.cloud.video.livestream.v1.UpdateChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateChannelMethod(), getCallOptions(), request); - } - - /** - *
-     * Starts the specified channel. Part of the video pipeline will be created
-     * only when the StartChannel request is received by the server.
-     * 
- */ - public com.google.longrunning.Operation startChannel(com.google.cloud.video.livestream.v1.StartChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartChannelMethod(), getCallOptions(), request); - } - - /** - *
-     * Stops the specified channel. Part of the video pipeline will be released
-     * when the StopChannel request is received by the server.
-     * 
- */ - public com.google.longrunning.Operation stopChannel(com.google.cloud.video.livestream.v1.StopChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStopChannelMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates an input with the provided unique ID in the specified region.
-     * 
- */ - public com.google.longrunning.Operation createInput(com.google.cloud.video.livestream.v1.CreateInputRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInputMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns a list of all inputs in the specified region.
-     * 
- */ - public com.google.cloud.video.livestream.v1.ListInputsResponse listInputs(com.google.cloud.video.livestream.v1.ListInputsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInputsMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns the specified input.
-     * 
- */ - public com.google.cloud.video.livestream.v1.Input getInput(com.google.cloud.video.livestream.v1.GetInputRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInputMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes the specified input.
-     * 
- */ - public com.google.longrunning.Operation deleteInput(com.google.cloud.video.livestream.v1.DeleteInputRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInputMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the specified input.
-     * 
- */ - public com.google.longrunning.Operation updateInput(com.google.cloud.video.livestream.v1.UpdateInputRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInputMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates an event with the provided unique ID in the specified channel.
-     * 
- */ - public com.google.cloud.video.livestream.v1.Event createEvent(com.google.cloud.video.livestream.v1.CreateEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateEventMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns a list of all events in the specified channel.
-     * 
- */ - public com.google.cloud.video.livestream.v1.ListEventsResponse listEvents(com.google.cloud.video.livestream.v1.ListEventsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEventsMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns the specified event.
-     * 
- */ - public com.google.cloud.video.livestream.v1.Event getEvent(com.google.cloud.video.livestream.v1.GetEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEventMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes the specified event.
-     * 
- */ - public com.google.protobuf.Empty deleteEvent(com.google.cloud.video.livestream.v1.DeleteEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteEventMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Using Live Stream API, you can generate live streams in the various
-   * renditions and streaming formats. The streaming format include HTTP Live
-   * Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
-   * a source stream in the various ways, including Real-Time Messaging
-   * Protocol (RTMP) and Secure Reliable Transport (SRT).
-   * 
- */ - public static final class LivestreamServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private LivestreamServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected LivestreamServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LivestreamServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a channel with the provided unique ID in the specified
-     * region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createChannel( - com.google.cloud.video.livestream.v1.CreateChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateChannelMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns a list of all channels in the specified region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listChannels( - com.google.cloud.video.livestream.v1.ListChannelsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListChannelsMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns the specified channel.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getChannel( - com.google.cloud.video.livestream.v1.GetChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetChannelMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes the specified channel.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteChannel( - com.google.cloud.video.livestream.v1.DeleteChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteChannelMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the specified channel.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateChannel( - com.google.cloud.video.livestream.v1.UpdateChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateChannelMethod(), getCallOptions()), request); - } - - /** - *
-     * Starts the specified channel. Part of the video pipeline will be created
-     * only when the StartChannel request is received by the server.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture startChannel( - com.google.cloud.video.livestream.v1.StartChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStartChannelMethod(), getCallOptions()), request); - } - - /** - *
-     * Stops the specified channel. Part of the video pipeline will be released
-     * when the StopChannel request is received by the server.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture stopChannel( - com.google.cloud.video.livestream.v1.StopChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStopChannelMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates an input with the provided unique ID in the specified region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createInput( - com.google.cloud.video.livestream.v1.CreateInputRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInputMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns a list of all inputs in the specified region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listInputs( - com.google.cloud.video.livestream.v1.ListInputsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInputsMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns the specified input.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getInput( - com.google.cloud.video.livestream.v1.GetInputRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInputMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes the specified input.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteInput( - com.google.cloud.video.livestream.v1.DeleteInputRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInputMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the specified input.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateInput( - com.google.cloud.video.livestream.v1.UpdateInputRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateInputMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates an event with the provided unique ID in the specified channel.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createEvent( - com.google.cloud.video.livestream.v1.CreateEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateEventMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns a list of all events in the specified channel.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listEvents( - com.google.cloud.video.livestream.v1.ListEventsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEventsMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns the specified event.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getEvent( - com.google.cloud.video.livestream.v1.GetEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEventMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes the specified event.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteEvent( - com.google.cloud.video.livestream.v1.DeleteEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteEventMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_CHANNEL = 0; - private static final int METHODID_LIST_CHANNELS = 1; - private static final int METHODID_GET_CHANNEL = 2; - private static final int METHODID_DELETE_CHANNEL = 3; - private static final int METHODID_UPDATE_CHANNEL = 4; - private static final int METHODID_START_CHANNEL = 5; - private static final int METHODID_STOP_CHANNEL = 6; - private static final int METHODID_CREATE_INPUT = 7; - private static final int METHODID_LIST_INPUTS = 8; - private static final int METHODID_GET_INPUT = 9; - private static final int METHODID_DELETE_INPUT = 10; - private static final int METHODID_UPDATE_INPUT = 11; - private static final int METHODID_CREATE_EVENT = 12; - private static final int METHODID_LIST_EVENTS = 13; - private static final int METHODID_GET_EVENT = 14; - private static final int METHODID_DELETE_EVENT = 15; - - 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 LivestreamServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(LivestreamServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_CHANNEL: - serviceImpl.createChannel((com.google.cloud.video.livestream.v1.CreateChannelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CHANNELS: - serviceImpl.listChannels((com.google.cloud.video.livestream.v1.ListChannelsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CHANNEL: - serviceImpl.getChannel((com.google.cloud.video.livestream.v1.GetChannelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CHANNEL: - serviceImpl.deleteChannel((com.google.cloud.video.livestream.v1.DeleteChannelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CHANNEL: - serviceImpl.updateChannel((com.google.cloud.video.livestream.v1.UpdateChannelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_START_CHANNEL: - serviceImpl.startChannel((com.google.cloud.video.livestream.v1.StartChannelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_STOP_CHANNEL: - serviceImpl.stopChannel((com.google.cloud.video.livestream.v1.StopChannelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_INPUT: - serviceImpl.createInput((com.google.cloud.video.livestream.v1.CreateInputRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INPUTS: - serviceImpl.listInputs((com.google.cloud.video.livestream.v1.ListInputsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INPUT: - serviceImpl.getInput((com.google.cloud.video.livestream.v1.GetInputRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INPUT: - serviceImpl.deleteInput((com.google.cloud.video.livestream.v1.DeleteInputRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_INPUT: - serviceImpl.updateInput((com.google.cloud.video.livestream.v1.UpdateInputRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_EVENT: - serviceImpl.createEvent((com.google.cloud.video.livestream.v1.CreateEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_EVENTS: - serviceImpl.listEvents((com.google.cloud.video.livestream.v1.ListEventsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_EVENT: - serviceImpl.getEvent((com.google.cloud.video.livestream.v1.GetEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_EVENT: - serviceImpl.deleteEvent((com.google.cloud.video.livestream.v1.DeleteEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class LivestreamServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - LivestreamServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("LivestreamService"); - } - } - - private static final class LivestreamServiceFileDescriptorSupplier - extends LivestreamServiceBaseDescriptorSupplier { - LivestreamServiceFileDescriptorSupplier() {} - } - - private static final class LivestreamServiceMethodDescriptorSupplier - extends LivestreamServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - LivestreamServiceMethodDescriptorSupplier(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 (LivestreamServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new LivestreamServiceFileDescriptorSupplier()) - .addMethod(getCreateChannelMethod()) - .addMethod(getListChannelsMethod()) - .addMethod(getGetChannelMethod()) - .addMethod(getDeleteChannelMethod()) - .addMethod(getUpdateChannelMethod()) - .addMethod(getStartChannelMethod()) - .addMethod(getStopChannelMethod()) - .addMethod(getCreateInputMethod()) - .addMethod(getListInputsMethod()) - .addMethod(getGetInputMethod()) - .addMethod(getDeleteInputMethod()) - .addMethod(getUpdateInputMethod()) - .addMethod(getCreateEventMethod()) - .addMethod(getListEventsMethod()) - .addMethod(getGetEventMethod()) - .addMethod(getDeleteEventMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponseOrBuilder.java deleted file mode 100644 index 518125d..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/video/livestream/v1/service.proto - -package com.google.cloud.video.livestream.v1; - -public interface ChannelOperationResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ChannelOperationResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequestOrBuilder.java deleted file mode 100644 index 1cb6e14..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/video/livestream/v1/service.proto - -package com.google.cloud.video.livestream.v1; - -public interface GetChannelRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.GetChannelRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the channel resource, in the form of:
-   * `projects/{project}/locations/{location}/channels/{channelId}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the channel resource, in the form of:
-   * `projects/{project}/locations/{location}/channels/{channelId}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequestOrBuilder.java deleted file mode 100644 index a60140b..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/video/livestream/v1/service.proto - -package com.google.cloud.video.livestream.v1; - -public interface GetEventRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.GetEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the event resource, in the form of:
-   * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the event resource, in the form of:
-   * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequestOrBuilder.java deleted file mode 100644 index 5a0f901..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/video/livestream/v1/service.proto - -package com.google.cloud.video.livestream.v1; - -public interface GetInputRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.GetInputRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the input resource, in the form of:
-   * `projects/{project}/locations/{location}/inputs/{inputId}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the input resource, in the form of:
-   * `projects/{project}/locations/{location}/inputs/{inputId}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java deleted file mode 100644 index c6570d7..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java +++ /dev/null @@ -1,253 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/video/livestream/v1/outputs.proto - -package com.google.cloud.video.livestream.v1; - -public final class OutputsProto { - private OutputsProto() {} - 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_video_livestream_v1_ElementaryStream_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_ElementaryStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_MuxStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Manifest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Manifest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_SpriteSheet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_VideoStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_AudioStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_TextStream_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_TextStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_SegmentSettings_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/video/livestream/v1/outpu" + - "ts.proto\022 google.cloud.video.livestream." + - "v1\032\037google/api/field_behavior.proto\032\036goo" + - "gle/protobuf/duration.proto\"\207\002\n\020Elementa" + - "ryStream\022\013\n\003key\030\004 \001(\t\022E\n\014video_stream\030\001 " + - "\001(\0132-.google.cloud.video.livestream.v1.V" + - "ideoStreamH\000\022E\n\014audio_stream\030\002 \001(\0132-.goo" + - "gle.cloud.video.livestream.v1.AudioStrea" + - "mH\000\022C\n\013text_stream\030\003 \001(\0132,.google.cloud." + - "video.livestream.v1.TextStreamH\000B\023\n\021elem" + - "entary_stream\"\224\001\n\tMuxStream\022\013\n\003key\030\001 \001(\t" + - "\022\021\n\tcontainer\030\003 \001(\t\022\032\n\022elementary_stream" + - "s\030\004 \003(\t\022K\n\020segment_settings\030\005 \001(\01321.goog" + - "le.cloud.video.livestream.v1.SegmentSett" + - "ings\"\232\002\n\010Manifest\022\021\n\tfile_name\030\001 \001(\t\022J\n\004" + - "type\030\002 \001(\01627.google.cloud.video.livestre" + - "am.v1.Manifest.ManifestTypeB\003\340A\002\022\030\n\013mux_" + - "streams\030\003 \003(\tB\003\340A\002\022\031\n\021max_segment_count\030" + - "\004 \001(\005\0228\n\025segment_keep_duration\030\005 \001(\0132\031.g" + - "oogle.protobuf.Duration\"@\n\014ManifestType\022" + - "\035\n\031MANIFEST_TYPE_UNSPECIFIED\020\000\022\007\n\003HLS\020\001\022" + - "\010\n\004DASH\020\002\"\343\001\n\013SpriteSheet\022\016\n\006format\030\001 \001(" + - "\t\022\030\n\013file_prefix\030\002 \001(\tB\003\340A\002\022 \n\023sprite_wi" + - "dth_pixels\030\003 \001(\005B\003\340A\002\022!\n\024sprite_height_p" + - "ixels\030\004 \001(\005B\003\340A\002\022\024\n\014column_count\030\005 \001(\005\022\021" + - "\n\trow_count\030\006 \001(\005\022+\n\010interval\030\007 \001(\0132\031.go" + - "ogle.protobuf.Duration\022\017\n\007quality\030\010 \001(\005\"" + - "\342\002\n\023PreprocessingConfig\022H\n\004crop\030\002 \001(\0132:." + - "google.cloud.video.livestream.v1.Preproc" + - "essingConfig.Crop\022F\n\003pad\030\003 \001(\01329.google." + - "cloud.video.livestream.v1.PreprocessingC" + - "onfig.Pad\032\\\n\004Crop\022\022\n\ntop_pixels\030\001 \001(\005\022\025\n" + - "\rbottom_pixels\030\002 \001(\005\022\023\n\013left_pixels\030\003 \001(" + - "\005\022\024\n\014right_pixels\030\004 \001(\005\032[\n\003Pad\022\022\n\ntop_pi" + - "xels\030\001 \001(\005\022\025\n\rbottom_pixels\030\002 \001(\005\022\023\n\013lef" + - "t_pixels\030\003 \001(\005\022\024\n\014right_pixels\030\004 \001(\005\"\377\003\n" + - "\013VideoStream\022O\n\004h264\030\024 \001(\0132?.google.clou" + - "d.video.livestream.v1.VideoStream.H264Co" + - "decSettingsH\000\032\214\003\n\021H264CodecSettings\022\024\n\014w" + - "idth_pixels\030\001 \001(\005\022\025\n\rheight_pixels\030\002 \001(\005" + - "\022\027\n\nframe_rate\030\003 \001(\001B\003\340A\002\022\030\n\013bitrate_bps" + - "\030\004 \001(\005B\003\340A\002\022\026\n\016allow_open_gop\030\006 \001(\010\022\031\n\017g" + - "op_frame_count\030\007 \001(\005H\000\0221\n\014gop_duration\030\010" + - " \001(\0132\031.google.protobuf.DurationH\000\022\025\n\rvbv" + - "_size_bits\030\t \001(\005\022\031\n\021vbv_fullness_bits\030\n " + - "\001(\005\022\025\n\rentropy_coder\030\013 \001(\t\022\021\n\tb_pyramid\030" + - "\014 \001(\010\022\025\n\rb_frame_count\030\r \001(\005\022\023\n\013aq_stren" + - "gth\030\016 \001(\001\022\017\n\007profile\030\017 \001(\t\022\014\n\004tune\030\020 \001(\t" + - "B\n\n\010gop_modeB\020\n\016codec_settings\"\332\002\n\013Audio" + - "Stream\022\020\n\010transmux\030\010 \001(\010\022\r\n\005codec\030\001 \001(\t\022" + - "\030\n\013bitrate_bps\030\002 \001(\005B\003\340A\002\022\025\n\rchannel_cou" + - "nt\030\003 \001(\005\022\026\n\016channel_layout\030\004 \003(\t\022K\n\007mapp" + - "ing\030\005 \003(\0132:.google.cloud.video.livestrea" + - "m.v1.AudioStream.AudioMapping\022\031\n\021sample_" + - "rate_hertz\030\006 \001(\005\032y\n\014AudioMapping\022\026\n\tinpu" + - "t_key\030\006 \001(\tB\003\340A\002\022\030\n\013input_track\030\002 \001(\005B\003\340" + - "A\002\022\032\n\rinput_channel\030\003 \001(\005B\003\340A\002\022\033\n\016output" + - "_channel\030\004 \001(\005B\003\340A\002\" \n\nTextStream\022\022\n\005cod" + - "ec\030\001 \001(\tB\003\340A\002\"F\n\017SegmentSettings\0223\n\020segm" + - "ent_duration\030\001 \001(\0132\031.google.protobuf.Dur" + - "ationB\357\001\n$com.google.cloud.video.livestr" + - "eam.v1B\014OutputsProtoP\001ZJgoogle.golang.or" + - "g/genproto/googleapis/cloud/video/livest" + - "ream/v1;livestream\252\002 Google.Cloud.Video." + - "LiveStream.V1\312\002 Google\\Cloud\\Video\\LiveS" + - "tream\\V1\352\002$Google::Cloud::Video::LiveStr" + - "eam::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_video_livestream_v1_ElementaryStream_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor, - new java.lang.String[] { "Key", "VideoStream", "AudioStream", "TextStream", "ElementaryStream", }); - internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_video_livestream_v1_MuxStream_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor, - new java.lang.String[] { "Key", "Container", "ElementaryStreams", "SegmentSettings", }); - internal_static_google_cloud_video_livestream_v1_Manifest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_video_livestream_v1_Manifest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Manifest_descriptor, - new java.lang.String[] { "FileName", "Type", "MuxStreams", "MaxSegmentCount", "SegmentKeepDuration", }); - internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_video_livestream_v1_SpriteSheet_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor, - new java.lang.String[] { "Format", "FilePrefix", "SpriteWidthPixels", "SpriteHeightPixels", "ColumnCount", "RowCount", "Interval", "Quality", }); - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor, - new java.lang.String[] { "Crop", "Pad", }); - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor = - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor, - new java.lang.String[] { "TopPixels", "BottomPixels", "LeftPixels", "RightPixels", }); - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor = - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor, - new java.lang.String[] { "TopPixels", "BottomPixels", "LeftPixels", "RightPixels", }); - internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_video_livestream_v1_VideoStream_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor, - new java.lang.String[] { "H264", "CodecSettings", }); - internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor = - internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor, - new java.lang.String[] { "WidthPixels", "HeightPixels", "FrameRate", "BitrateBps", "AllowOpenGop", "GopFrameCount", "GopDuration", "VbvSizeBits", "VbvFullnessBits", "EntropyCoder", "BPyramid", "BFrameCount", "AqStrength", "Profile", "Tune", "GopMode", }); - internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_video_livestream_v1_AudioStream_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor, - new java.lang.String[] { "Transmux", "Codec", "BitrateBps", "ChannelCount", "ChannelLayout", "Mapping", "SampleRateHertz", }); - internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor = - internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor, - new java.lang.String[] { "InputKey", "InputTrack", "InputChannel", "OutputChannel", }); - internal_static_google_cloud_video_livestream_v1_TextStream_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_video_livestream_v1_TextStream_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_TextStream_descriptor, - new java.lang.String[] { "Codec", }); - internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_video_livestream_v1_SegmentSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor, - new java.lang.String[] { "SegmentDuration", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java deleted file mode 100644 index d82dd32..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java +++ /dev/null @@ -1,352 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/video/livestream/v1/resources.proto - -package com.google.cloud.video.livestream.v1; - -public final class ResourcesProto { - private ResourcesProto() {} - 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_video_livestream_v1_Input_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Input_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Channel_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Channel_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Channel_Output_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_LogConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_InputStreamProperty_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_VideoFormat_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_AudioFormat_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_InputAttachment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Event_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Event_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n0google/cloud/video/livestream/v1/resou" + - "rces.proto\022 google.cloud.video.livestrea" + - "m.v1\032\037google/api/field_behavior.proto\032\031g" + - "oogle/api/resource.proto\032.google/cloud/v" + - "ideo/livestream/v1/outputs.proto\032\036google" + - "/protobuf/duration.proto\032\037google/protobu" + - "f/timestamp.proto\032\027google/rpc/status.pro" + - "to\"\360\006\n\005Input\022\014\n\004name\030\001 \001(\t\0224\n\013create_tim" + - "e\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + - "\0224\n\013update_time\030\003 \001(\0132\032.google.protobuf." + - "TimestampB\003\340A\003\022C\n\006labels\030\004 \003(\01323.google." + - "cloud.video.livestream.v1.Input.LabelsEn" + - "try\022:\n\004type\030\005 \001(\0162,.google.cloud.video.l" + - "ivestream.v1.Input.Type\022:\n\004tier\030\016 \001(\0162,." + - "google.cloud.video.livestream.v1.Input.T" + - "ier\022\020\n\003uri\030\006 \001(\tB\003\340A\003\022S\n\024preprocessing_c" + - "onfig\030\t \001(\01325.google.cloud.video.livestr" + - "eam.v1.PreprocessingConfig\022L\n\016security_r" + - "ules\030\014 \001(\01324.google.cloud.video.livestre" + - "am.v1.Input.SecurityRule\022Y\n\025input_stream" + - "_property\030\017 \001(\01325.google.cloud.video.liv" + - "estream.v1.InputStreamPropertyB\003\340A\003\032!\n\014S" + - "ecurityRule\022\021\n\tip_ranges\030\001 \003(\t\032-\n\013Labels" + - "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"9\n" + - "\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\r\n\tRTMP_PUSH" + - "\020\001\022\014\n\010SRT_PUSH\020\002\"5\n\004Tier\022\024\n\020TIER_UNSPECI" + - "FIED\020\000\022\006\n\002SD\020\001\022\006\n\002HD\020\002\022\007\n\003UHD\020\003:\\\352AY\n\037li" + - "vestream.googleapis.com/Input\0226projects/" + - "{project}/locations/{location}/inputs/{i" + - "nput}\"\263\t\n\007Channel\022\014\n\004name\030\001 \001(\t\0224\n\013creat" + - "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + - "B\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.prot" + - "obuf.TimestampB\003\340A\003\022E\n\006labels\030\004 \003(\01325.go" + - "ogle.cloud.video.livestream.v1.Channel.L" + - "abelsEntry\022L\n\021input_attachments\030\020 \003(\01321." + - "google.cloud.video.livestream.v1.InputAt" + - "tachment\022\031\n\014active_input\030\006 \001(\tB\003\340A\003\022E\n\006o" + - "utput\030\t \001(\01320.google.cloud.video.livestr" + - "eam.v1.Channel.OutputB\003\340A\002\022N\n\022elementary" + - "_streams\030\n \003(\01322.google.cloud.video.live" + - "stream.v1.ElementaryStream\022@\n\013mux_stream" + - "s\030\013 \003(\0132+.google.cloud.video.livestream." + - "v1.MuxStream\022=\n\tmanifests\030\014 \003(\0132*.google" + - ".cloud.video.livestream.v1.Manifest\022D\n\rs" + - "prite_sheets\030\r \003(\0132-.google.cloud.video." + - "livestream.v1.SpriteSheet\022V\n\017streaming_s" + - "tate\030\016 \001(\01628.google.cloud.video.livestre" + - "am.v1.Channel.StreamingStateB\003\340A\003\0220\n\017str" + - "eaming_error\030\022 \001(\0132\022.google.rpc.StatusB\003" + - "\340A\003\022?\n\nlog_config\030\023 \001(\0132+.google.cloud.v" + - "ideo.livestream.v1.LogConfig\032\025\n\006Output\022\013" + - "\n\003uri\030\001 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + - "\r\n\005value\030\002 \001(\t:\0028\001\"\252\001\n\016StreamingState\022\037\n" + - "\033STREAMING_STATE_UNSPECIFIED\020\000\022\r\n\tSTREAM" + - "ING\020\001\022\022\n\016AWAITING_INPUT\020\002\022\023\n\017STREAMING_E" + - "RROR\020\004\022\026\n\022STREAMING_NO_INPUT\020\005\022\013\n\007STOPPE" + - "D\020\006\022\014\n\010STARTING\020\007\022\014\n\010STOPPING\020\010:b\352A_\n!li" + - "vestream.googleapis.com/Channel\022:project" + - "s/{project}/locations/{location}/channel" + - "s/{channel}\"\300\001\n\tLogConfig\022M\n\014log_severit" + - "y\030\001 \001(\01627.google.cloud.video.livestream." + - "v1.LogConfig.LogSeverity\"d\n\013LogSeverity\022" + - "\034\n\030LOG_SEVERITY_UNSPECIFIED\020\000\022\007\n\003OFF\020\001\022\t" + - "\n\005DEBUG\020d\022\t\n\004INFO\020\310\001\022\014\n\007WARNING\020\220\003\022\n\n\005ER" + - "ROR\020\364\003\"\352\001\n\023InputStreamProperty\0227\n\023last_e" + - "stablish_time\030\001 \001(\0132\032.google.protobuf.Ti" + - "mestamp\022L\n\rvideo_streams\030\002 \003(\01325.google." + - "cloud.video.livestream.v1.VideoStreamPro" + - "perty\022L\n\raudio_streams\030\003 \003(\01325.google.cl" + - "oud.video.livestream.v1.AudioStreamPrope" + - "rty\"i\n\023VideoStreamProperty\022\r\n\005index\030\001 \001(" + - "\005\022C\n\014video_format\030\002 \001(\0132-.google.cloud.v" + - "ideo.livestream.v1.VideoFormat\"]\n\013VideoF" + - "ormat\022\r\n\005codec\030\001 \001(\t\022\024\n\014width_pixels\030\002 \001" + - "(\005\022\025\n\rheight_pixels\030\003 \001(\005\022\022\n\nframe_rate\030" + - "\004 \001(\001\"i\n\023AudioStreamProperty\022\r\n\005index\030\001 " + - "\001(\005\022C\n\014audio_format\030\002 \001(\0132-.google.cloud" + - ".video.livestream.v1.AudioFormat\"K\n\013Audi" + - "oFormat\022\r\n\005codec\030\001 \001(\t\022\025\n\rchannel_count\030" + - "\002 \001(\005\022\026\n\016channel_layout\030\003 \003(\t\"\335\001\n\017InputA" + - "ttachment\022\013\n\003key\030\001 \001(\t\0223\n\005input\030\002 \001(\tB$\372" + - "A!\n\037livestream.googleapis.com/Input\022_\n\022a" + - "utomatic_failover\030\003 \001(\0132C.google.cloud.v" + - "ideo.livestream.v1.InputAttachment.Autom" + - "aticFailover\032\'\n\021AutomaticFailover\022\022\n\ninp" + - "ut_keys\030\001 \003(\t\"\235\006\n\005Event\022\014\n\004name\030\001 \001(\t\0224\n" + - "\013create_time\030\002 \001(\0132\032.google.protobuf.Tim" + - "estampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.googl" + - "e.protobuf.TimestampB\003\340A\003\022C\n\006labels\030\004 \003(" + - "\01323.google.cloud.video.livestream.v1.Eve" + - "nt.LabelsEntry\022L\n\010ad_break\030\006 \001(\01323.googl" + - "e.cloud.video.livestream.v1.Event.AdBrea" + - "kTaskB\003\340A\002H\000\022\023\n\013execute_now\030\t \001(\010\0222\n\016exe" + - "cution_time\030\n \001(\0132\032.google.protobuf.Time" + - "stamp\022A\n\005state\030\013 \001(\0162-.google.cloud.vide" + - "o.livestream.v1.Event.StateB\003\340A\003\022&\n\005erro" + - "r\030\014 \001(\0132\022.google.rpc.StatusB\003\340A\003\032:\n\013AdBr" + - "eakTask\022+\n\010duration\030\001 \001(\0132\031.google.proto" + - "buf.Duration\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + - "\022\r\n\005value\030\002 \001(\t:\0028\001\"o\n\005State\022\025\n\021STATE_UN" + - "SPECIFIED\020\000\022\r\n\tSCHEDULED\020\001\022\013\n\007RUNNING\020\002\022" + - "\r\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022\013\n\007PENDING\020\005\022" + - "\013\n\007STOPPED\020\006:o\352Al\n\037livestream.googleapis" + - ".com/Event\022Iprojects/{project}/locations" + - "/{location}/channels/{channel}/events/{e" + - "vent}B\006\n\004taskB\361\001\n$com.google.cloud.video" + - ".livestream.v1B\016ResourcesProtoP\001ZJgoogle" + - ".golang.org/genproto/googleapis/cloud/vi" + - "deo/livestream/v1;livestream\252\002 Google.Cl" + - "oud.Video.LiveStream.V1\312\002 Google\\Cloud\\V" + - "ideo\\LiveStream\\V1\352\002$Google::Cloud::Vide" + - "o::LiveStream::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.video.livestream.v1.OutputsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_video_livestream_v1_Input_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_video_livestream_v1_Input_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Input_descriptor, - new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "Type", "Tier", "Uri", "PreprocessingConfig", "SecurityRules", "InputStreamProperty", }); - internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor = - internal_static_google_cloud_video_livestream_v1_Input_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor, - new java.lang.String[] { "IpRanges", }); - internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_descriptor = - internal_static_google_cloud_video_livestream_v1_Input_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_video_livestream_v1_Channel_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_video_livestream_v1_Channel_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Channel_descriptor, - new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "InputAttachments", "ActiveInput", "Output", "ElementaryStreams", "MuxStreams", "Manifests", "SpriteSheets", "StreamingState", "StreamingError", "LogConfig", }); - internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor = - internal_static_google_cloud_video_livestream_v1_Channel_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_video_livestream_v1_Channel_Output_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor, - new java.lang.String[] { "Uri", }); - internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_descriptor = - internal_static_google_cloud_video_livestream_v1_Channel_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_video_livestream_v1_LogConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor, - new java.lang.String[] { "LogSeverity", }); - internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_video_livestream_v1_InputStreamProperty_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor, - new java.lang.String[] { "LastEstablishTime", "VideoStreams", "AudioStreams", }); - internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor, - new java.lang.String[] { "Index", "VideoFormat", }); - internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_video_livestream_v1_VideoFormat_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor, - new java.lang.String[] { "Codec", "WidthPixels", "HeightPixels", "FrameRate", }); - internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor, - new java.lang.String[] { "Index", "AudioFormat", }); - internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_video_livestream_v1_AudioFormat_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor, - new java.lang.String[] { "Codec", "ChannelCount", "ChannelLayout", }); - internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_video_livestream_v1_InputAttachment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor, - new java.lang.String[] { "Key", "Input", "AutomaticFailover", }); - internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor = - internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor, - new java.lang.String[] { "InputKeys", }); - internal_static_google_cloud_video_livestream_v1_Event_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_video_livestream_v1_Event_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Event_descriptor, - new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "AdBreak", "ExecuteNow", "ExecutionTime", "State", "Error", "Task", }); - internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor = - internal_static_google_cloud_video_livestream_v1_Event_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor, - new java.lang.String[] { "Duration", }); - internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_descriptor = - internal_static_google_cloud_video_livestream_v1_Event_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.video.livestream.v1.OutputsProto.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-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java deleted file mode 100644 index 903d134..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java +++ /dev/null @@ -1,460 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/video/livestream/v1/service.proto - -package com.google.cloud.video.livestream.v1; - -public final class ServiceProto { - private ServiceProto() {} - 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_video_livestream_v1_CreateChannelRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_GetChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_StartChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_StopChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_CreateInputRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_ListInputsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_ListInputsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_GetInputRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_CreateEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_ListEventsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_ListEventsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_GetEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_livestream_v1_OperationMetadata_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/video/livestream/v1/servi" + - "ce.proto\022 google.cloud.video.livestream." + - "v1\032\034google/api/annotations.proto\032\027google" + - "/api/client.proto\032\037google/api/field_beha" + - "vior.proto\032\031google/api/resource.proto\0320g" + - "oogle/cloud/video/livestream/v1/resource" + - "s.proto\032#google/longrunning/operations.p" + - "roto\032\033google/protobuf/empty.proto\032 googl" + - "e/protobuf/field_mask.proto\032\037google/prot" + - "obuf/timestamp.proto\"\277\001\n\024CreateChannelRe" + - "quest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!livestrea" + - "m.googleapis.com/Channel\022?\n\007channel\030\002 \001(" + - "\0132).google.cloud.video.livestream.v1.Cha" + - "nnelB\003\340A\002\022\027\n\nchannel_id\030\003 \001(\tB\003\340A\002\022\022\n\nre" + - "quest_id\030\004 \001(\t\"\231\001\n\023ListChannelsRequest\0229" + - "\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!livestream.googl" + - "eapis.com/Channel\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" + - "page_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010orde" + - "r_by\030\005 \001(\t\"\201\001\n\024ListChannelsResponse\022;\n\010c" + - "hannels\030\001 \003(\0132).google.cloud.video.lives" + - "tream.v1.Channel\022\027\n\017next_page_token\030\002 \001(" + - "\t\022\023\n\013unreachable\030\003 \003(\t\"L\n\021GetChannelRequ" + - "est\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!livestream.go" + - "ogleapis.com/Channel\"r\n\024DeleteChannelReq" + - "uest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!livestream.g" + - "oogleapis.com/Channel\022\022\n\nrequest_id\030\002 \001(" + - "\t\022\r\n\005force\030\003 \001(\010\"\234\001\n\024UpdateChannelReques" + - "t\022/\n\013update_mask\030\001 \001(\0132\032.google.protobuf" + - ".FieldMask\022?\n\007channel\030\002 \001(\0132).google.clo" + - "ud.video.livestream.v1.ChannelB\003\340A\002\022\022\n\nr" + - "equest_id\030\003 \001(\t\"b\n\023StartChannelRequest\0227" + - "\n\004name\030\001 \001(\tB)\340A\002\372A#\n!livestream.googlea" + - "pis.com/Channel\022\022\n\nrequest_id\030\002 \001(\t\"a\n\022S" + - "topChannelRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n" + - "!livestream.googleapis.com/Channel\022\022\n\nre" + - "quest_id\030\002 \001(\t\"\265\001\n\022CreateInputRequest\0227\n" + - "\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037livestream.google" + - "apis.com/Input\022;\n\005input\030\002 \001(\0132\'.google.c" + - "loud.video.livestream.v1.InputB\003\340A\002\022\025\n\010i" + - "nput_id\030\003 \001(\tB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"\225" + - "\001\n\021ListInputsRequest\0227\n\006parent\030\001 \001(\tB\'\340A" + - "\002\372A!\022\037livestream.googleapis.com/Input\022\021\n" + - "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006" + - "filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"{\n\022ListIn" + - "putsResponse\0227\n\006inputs\030\001 \003(\0132\'.google.cl" + - "oud.video.livestream.v1.Input\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"H\n\017G" + - "etInputRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037li" + - "vestream.googleapis.com/Input\"_\n\022DeleteI" + - "nputRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037lives" + - "tream.googleapis.com/Input\022\022\n\nrequest_id" + - "\030\002 \001(\t\"\226\001\n\022UpdateInputRequest\022/\n\013update_" + - "mask\030\001 \001(\0132\032.google.protobuf.FieldMask\022;" + - "\n\005input\030\002 \001(\0132\'.google.cloud.video.lives" + - "tream.v1.InputB\003\340A\002\022\022\n\nrequest_id\030\003 \001(\t\"" + - "\265\001\n\022CreateEventRequest\0227\n\006parent\030\001 \001(\tB\'" + - "\340A\002\372A!\022\037livestream.googleapis.com/Event\022" + - ";\n\005event\030\002 \001(\0132\'.google.cloud.video.live" + - "stream.v1.EventB\003\340A\002\022\025\n\010event_id\030\003 \001(\tB\003" + - "\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"\225\001\n\021ListEventsRe" + - "quest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037livestrea" + - "m.googleapis.com/Event\022\021\n\tpage_size\030\002 \001(" + - "\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n" + - "\010order_by\030\005 \001(\t\"{\n\022ListEventsResponse\0227\n" + - "\006events\030\001 \003(\0132\'.google.cloud.video.lives" + - "tream.v1.Event\022\027\n\017next_page_token\030\002 \001(\t\022" + - "\023\n\013unreachable\030\003 \003(\t\"H\n\017GetEventRequest\022" + - "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037livestream.google" + - "apis.com/Event\"_\n\022DeleteEventRequest\0225\n\004" + - "name\030\001 \001(\tB\'\340A\002\372A!\n\037livestream.googleapi" + - "s.com/Event\022\022\n\nrequest_id\030\002 \001(\t\"\032\n\030Chann" + - "elOperationResponse\"\343\001\n\021OperationMetadat" + - "a\0224\n\013create_time\030\001 \001(\0132\032.google.protobuf" + - ".TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.goog" + - "le.protobuf.TimestampB\003\340A\003\022\023\n\006target\030\003 \001" + - "(\tB\003\340A\003\022\021\n\004verb\030\004 \001(\tB\003\340A\003\022#\n\026requested_" + - "cancellation\030\005 \001(\010B\003\340A\003\022\030\n\013api_version\030\006" + - " \001(\tB\003\340A\0032\325\031\n\021LivestreamService\022\340\001\n\rCrea" + - "teChannel\0226.google.cloud.video.livestrea" + - "m.v1.CreateChannelRequest\032\035.google.longr" + - "unning.Operation\"x\202\323\344\223\0027\",/v1/{parent=pr" + - "ojects/*/locations/*}/channels:\007channel\332" + - "A\031parent,channel,channel_id\312A\034\n\007Channel\022" + - "\021OperationMetadata\022\274\001\n\014ListChannels\0225.go" + - "ogle.cloud.video.livestream.v1.ListChann" + - "elsRequest\0326.google.cloud.video.livestre" + - "am.v1.ListChannelsResponse\"=\202\323\344\223\002.\022,/v1/" + - "{parent=projects/*/locations/*}/channels" + - "\332A\006parent\022\251\001\n\nGetChannel\0223.google.cloud." + - "video.livestream.v1.GetChannelRequest\032)." + - "google.cloud.video.livestream.v1.Channel" + - "\";\202\323\344\223\002.\022,/v1/{name=projects/*/locations" + - "/*/channels/*}\332A\004name\022\320\001\n\rDeleteChannel\022" + - "6.google.cloud.video.livestream.v1.Delet" + - "eChannelRequest\032\035.google.longrunning.Ope" + - "ration\"h\202\323\344\223\002.*,/v1/{name=projects/*/loc" + - "ations/*/channels/*}\332A\004name\312A*\n\025google.p" + - "rotobuf.Empty\022\021OperationMetadata\022\342\001\n\rUpd" + - "ateChannel\0226.google.cloud.video.livestre" + - "am.v1.UpdateChannelRequest\032\035.google.long" + - "running.Operation\"z\202\323\344\223\002?24/v1/{channel." + - "name=projects/*/locations/*/channels/*}:" + - "\007channel\332A\023channel,update_mask\312A\034\n\007Chann" + - "el\022\021OperationMetadata\022\332\001\n\014StartChannel\0225" + - ".google.cloud.video.livestream.v1.StartC" + - "hannelRequest\032\035.google.longrunning.Opera" + - "tion\"t\202\323\344\223\0027\"2/v1/{name=projects/*/locat" + - "ions/*/channels/*}:start:\001*\332A\004name\312A-\n\030C" + - "hannelOperationResponse\022\021OperationMetada" + - "ta\022\327\001\n\013StopChannel\0224.google.cloud.video." + - "livestream.v1.StopChannelRequest\032\035.googl" + - "e.longrunning.Operation\"s\202\323\344\223\0026\"1/v1/{na" + - "me=projects/*/locations/*/channels/*}:st" + - "op:\001*\332A\004name\312A-\n\030ChannelOperationRespons" + - "e\022\021OperationMetadata\022\322\001\n\013CreateInput\0224.g" + - "oogle.cloud.video.livestream.v1.CreateIn" + - "putRequest\032\035.google.longrunning.Operatio" + - "n\"n\202\323\344\223\0023\"*/v1/{parent=projects/*/locati" + - "ons/*}/inputs:\005input\332A\025parent,input,inpu" + - "t_id\312A\032\n\005Input\022\021OperationMetadata\022\264\001\n\nLi" + - "stInputs\0223.google.cloud.video.livestream" + - ".v1.ListInputsRequest\0324.google.cloud.vid" + - "eo.livestream.v1.ListInputsResponse\";\202\323\344" + - "\223\002,\022*/v1/{parent=projects/*/locations/*}" + - "/inputs\332A\006parent\022\241\001\n\010GetInput\0221.google.c" + - "loud.video.livestream.v1.GetInputRequest" + - "\032\'.google.cloud.video.livestream.v1.Inpu" + - "t\"9\202\323\344\223\002,\022*/v1/{name=projects/*/location" + - "s/*/inputs/*}\332A\004name\022\312\001\n\013DeleteInput\0224.g" + - "oogle.cloud.video.livestream.v1.DeleteIn" + - "putRequest\032\035.google.longrunning.Operatio" + - "n\"f\202\323\344\223\002,**/v1/{name=projects/*/location" + - "s/*/inputs/*}\332A\004name\312A*\n\025google.protobuf" + - ".Empty\022\021OperationMetadata\022\324\001\n\013UpdateInpu" + - "t\0224.google.cloud.video.livestream.v1.Upd" + - "ateInputRequest\032\035.google.longrunning.Ope" + - "ration\"p\202\323\344\223\002920/v1/{input.name=projects" + - "/*/locations/*/inputs/*}:\005input\332A\021input," + - "update_mask\312A\032\n\005Input\022\021OperationMetadata" + - "\022\312\001\n\013CreateEvent\0224.google.cloud.video.li" + - "vestream.v1.CreateEventRequest\032\'.google." + - "cloud.video.livestream.v1.Event\"\\\202\323\344\223\002>\"" + - "5/v1/{parent=projects/*/locations/*/chan" + - "nels/*}/events:\005event\332A\025parent,event,eve" + - "nt_id\022\277\001\n\nListEvents\0223.google.cloud.vide" + - "o.livestream.v1.ListEventsRequest\0324.goog" + - "le.cloud.video.livestream.v1.ListEventsR" + - "esponse\"F\202\323\344\223\0027\0225/v1/{parent=projects/*/" + - "locations/*/channels/*}/events\332A\006parent\022" + - "\254\001\n\010GetEvent\0221.google.cloud.video.livest" + - "ream.v1.GetEventRequest\032\'.google.cloud.v" + - "ideo.livestream.v1.Event\"D\202\323\344\223\0027\0225/v1/{n" + - "ame=projects/*/locations/*/channels/*/ev" + - "ents/*}\332A\004name\022\241\001\n\013DeleteEvent\0224.google." + - "cloud.video.livestream.v1.DeleteEventReq" + - "uest\032\026.google.protobuf.Empty\"D\202\323\344\223\0027*5/v" + - "1/{name=projects/*/locations/*/channels/" + - "*/events/*}\332A\004name\032M\312A\031livestream.google" + - "apis.com\322A.https://www.googleapis.com/au" + - "th/cloud-platformB\357\001\n$com.google.cloud.v" + - "ideo.livestream.v1B\014ServiceProtoP\001ZJgoog" + - "le.golang.org/genproto/googleapis/cloud/" + - "video/livestream/v1;livestream\252\002 Google." + - "Cloud.Video.LiveStream.V1\312\002 Google\\Cloud" + - "\\Video\\LiveStream\\V1\352\002$Google::Cloud::Vi" + - "deo::LiveStream::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.api.ResourceProto.getDescriptor(), - com.google.cloud.video.livestream.v1.ResourcesProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor, - new java.lang.String[] { "Parent", "Channel", "ChannelId", "RequestId", }); - internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor, - new java.lang.String[] { "Channels", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_video_livestream_v1_GetChannelRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "Force", }); - internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Channel", "RequestId", }); - internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_video_livestream_v1_StartChannelRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", }); - internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_video_livestream_v1_StopChannelRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", }); - internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_video_livestream_v1_CreateInputRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor, - new java.lang.String[] { "Parent", "Input", "InputId", "RequestId", }); - internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_video_livestream_v1_ListInputsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_video_livestream_v1_ListInputsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor, - new java.lang.String[] { "Inputs", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_video_livestream_v1_GetInputRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", }); - internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Input", "RequestId", }); - internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_video_livestream_v1_CreateEventRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor, - new java.lang.String[] { "Parent", "Event", "EventId", "RequestId", }); - internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_video_livestream_v1_ListEventsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_video_livestream_v1_ListEventsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor, - new java.lang.String[] { "Events", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_video_livestream_v1_GetEventRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", }); - internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_video_livestream_v1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "RequestedCancellation", "ApiVersion", }); - 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.api.ResourceProto.resourceReference); - 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.api.ResourceProto.getDescriptor(); - com.google.cloud.video.livestream.v1.ResourcesProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormat.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormat.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormat.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormat.java index ea5a412..d05f0b8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormat.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormat.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/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Properties of the audio format.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.AudioFormat} */ -public final class AudioFormat extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AudioFormat extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.AudioFormat) AudioFormatOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AudioFormat.newBuilder() to construct. private AudioFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AudioFormat() { codec_ = ""; channelLayout_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,16 +44,15 @@ private AudioFormat() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AudioFormat(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AudioFormat( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,33 +72,35 @@ private AudioFormat( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - codec_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - channelCount_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - channelLayout_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + codec_ = s; + break; } - channelLayout_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + channelCount_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + channelLayout_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + channelLayout_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -89,8 +108,7 @@ private AudioFormat( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { channelLayout_ = channelLayout_.getUnmodifiableView(); @@ -99,27 +117,33 @@ private AudioFormat( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioFormat_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_AudioFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.AudioFormat.class, com.google.cloud.video.livestream.v1.AudioFormat.Builder.class); + com.google.cloud.video.livestream.v1.AudioFormat.class, + com.google.cloud.video.livestream.v1.AudioFormat.Builder.class); } public static final int CODEC_FIELD_NUMBER = 1; private volatile java.lang.Object codec_; /** + * + * *
    * Audio codec used in this audio stream.
    * 
* * string codec = 1; + * * @return The codec. */ @java.lang.Override @@ -128,29 +152,29 @@ public java.lang.String getCodec() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; } } /** + * + * *
    * Audio codec used in this audio stream.
    * 
* * string codec = 1; + * * @return The bytes for codec. */ @java.lang.Override - public com.google.protobuf.ByteString - getCodecBytes() { + public com.google.protobuf.ByteString getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); codec_ = b; return b; } else { @@ -161,11 +185,14 @@ public java.lang.String getCodec() { public static final int CHANNEL_COUNT_FIELD_NUMBER = 2; private int channelCount_; /** + * + * *
    * The number of audio channels.
    * 
* * int32 channel_count = 2; + * * @return The channelCount. */ @java.lang.Override @@ -176,34 +203,42 @@ public int getChannelCount() { public static final int CHANNEL_LAYOUT_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList channelLayout_; /** + * + * *
    * A list of channel names specifying the layout of the audio channels.
    * 
* * repeated string channel_layout = 3; + * * @return A list containing the channelLayout. */ - public com.google.protobuf.ProtocolStringList - getChannelLayoutList() { + public com.google.protobuf.ProtocolStringList getChannelLayoutList() { return channelLayout_; } /** + * + * *
    * A list of channel names specifying the layout of the audio channels.
    * 
* * repeated string channel_layout = 3; + * * @return The count of channelLayout. */ public int getChannelLayoutCount() { return channelLayout_.size(); } /** + * + * *
    * A list of channel names specifying the layout of the audio channels.
    * 
* * repeated string channel_layout = 3; + * * @param index The index of the element to return. * @return The channelLayout at the given index. */ @@ -211,20 +246,23 @@ public java.lang.String getChannelLayout(int index) { return channelLayout_.get(index); } /** + * + * *
    * A list of channel names specifying the layout of the audio channels.
    * 
* * repeated string channel_layout = 3; + * * @param index The index of the value to return. * @return The bytes of the channelLayout at the given index. */ - public com.google.protobuf.ByteString - getChannelLayoutBytes(int index) { + public com.google.protobuf.ByteString getChannelLayoutBytes(int index) { return channelLayout_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +274,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(codec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, codec_); } @@ -260,8 +297,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, codec_); } if (channelCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, channelCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, channelCount_); } { int dataSize = 0; @@ -279,19 +315,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.AudioFormat)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.AudioFormat other = (com.google.cloud.video.livestream.v1.AudioFormat) obj; + com.google.cloud.video.livestream.v1.AudioFormat other = + (com.google.cloud.video.livestream.v1.AudioFormat) obj; - if (!getCodec() - .equals(other.getCodec())) return false; - if (getChannelCount() - != other.getChannelCount()) return false; - if (!getChannelLayoutList() - .equals(other.getChannelLayoutList())) return false; + if (!getCodec().equals(other.getCodec())) return false; + if (getChannelCount() != other.getChannelCount()) return false; + if (!getChannelLayoutList().equals(other.getChannelLayoutList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -316,118 +350,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioFormat parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.AudioFormat parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.AudioFormat parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.AudioFormat parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.video.livestream.v1.AudioFormat prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Properties of the audio format.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.AudioFormat} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.AudioFormat) com.google.cloud.video.livestream.v1.AudioFormatOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioFormat_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_AudioFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.AudioFormat.class, com.google.cloud.video.livestream.v1.AudioFormat.Builder.class); + com.google.cloud.video.livestream.v1.AudioFormat.class, + com.google.cloud.video.livestream.v1.AudioFormat.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.AudioFormat.newBuilder() @@ -435,16 +478,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(); @@ -458,9 +500,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor; } @java.lang.Override @@ -479,7 +521,8 @@ public com.google.cloud.video.livestream.v1.AudioFormat build() { @java.lang.Override public com.google.cloud.video.livestream.v1.AudioFormat buildPartial() { - com.google.cloud.video.livestream.v1.AudioFormat result = new com.google.cloud.video.livestream.v1.AudioFormat(this); + com.google.cloud.video.livestream.v1.AudioFormat result = + new com.google.cloud.video.livestream.v1.AudioFormat(this); int from_bitField0_ = bitField0_; result.codec_ = codec_; result.channelCount_ = channelCount_; @@ -496,38 +539,39 @@ public com.google.cloud.video.livestream.v1.AudioFormat buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.AudioFormat) { - return mergeFrom((com.google.cloud.video.livestream.v1.AudioFormat)other); + return mergeFrom((com.google.cloud.video.livestream.v1.AudioFormat) other); } else { super.mergeFrom(other); return this; @@ -535,7 +579,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.AudioFormat other) { - if (other == com.google.cloud.video.livestream.v1.AudioFormat.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.AudioFormat.getDefaultInstance()) + return this; if (!other.getCodec().isEmpty()) { codec_ = other.codec_; onChanged(); @@ -581,22 +626,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object codec_ = ""; /** + * + * *
      * Audio codec used in this audio stream.
      * 
* * string codec = 1; + * * @return The codec. */ public java.lang.String getCodec() { java.lang.Object ref = codec_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; @@ -605,20 +653,21 @@ public java.lang.String getCodec() { } } /** + * + * *
      * Audio codec used in this audio stream.
      * 
* * string codec = 1; + * * @return The bytes for codec. */ - public com.google.protobuf.ByteString - getCodecBytes() { + public com.google.protobuf.ByteString getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); codec_ = b; return b; } else { @@ -626,66 +675,76 @@ public java.lang.String getCodec() { } } /** + * + * *
      * Audio codec used in this audio stream.
      * 
* * string codec = 1; + * * @param value The codec to set. * @return This builder for chaining. */ - public Builder setCodec( - java.lang.String value) { + public Builder setCodec(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + codec_ = value; onChanged(); return this; } /** + * + * *
      * Audio codec used in this audio stream.
      * 
* * string codec = 1; + * * @return This builder for chaining. */ public Builder clearCodec() { - + codec_ = getDefaultInstance().getCodec(); onChanged(); return this; } /** + * + * *
      * Audio codec used in this audio stream.
      * 
* * string codec = 1; + * * @param value The bytes for codec to set. * @return This builder for chaining. */ - public Builder setCodecBytes( - com.google.protobuf.ByteString value) { + public Builder setCodecBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + codec_ = value; onChanged(); return this; } - private int channelCount_ ; + private int channelCount_; /** + * + * *
      * The number of audio channels.
      * 
* * int32 channel_count = 2; + * * @return The channelCount. */ @java.lang.Override @@ -693,71 +752,87 @@ public int getChannelCount() { return channelCount_; } /** + * + * *
      * The number of audio channels.
      * 
* * int32 channel_count = 2; + * * @param value The channelCount to set. * @return This builder for chaining. */ public Builder setChannelCount(int value) { - + channelCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of audio channels.
      * 
* * int32 channel_count = 2; + * * @return This builder for chaining. */ public Builder clearChannelCount() { - + channelCount_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList channelLayout_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList channelLayout_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureChannelLayoutIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { channelLayout_ = new com.google.protobuf.LazyStringArrayList(channelLayout_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; + * * @return A list containing the channelLayout. */ - public com.google.protobuf.ProtocolStringList - getChannelLayoutList() { + public com.google.protobuf.ProtocolStringList getChannelLayoutList() { return channelLayout_.getUnmodifiableView(); } /** + * + * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; + * * @return The count of channelLayout. */ public int getChannelLayoutCount() { return channelLayout_.size(); } /** + * + * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; + * * @param index The index of the element to return. * @return The channelLayout at the given index. */ @@ -765,80 +840,90 @@ public java.lang.String getChannelLayout(int index) { return channelLayout_.get(index); } /** + * + * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; + * * @param index The index of the value to return. * @return The bytes of the channelLayout at the given index. */ - public com.google.protobuf.ByteString - getChannelLayoutBytes(int index) { + public com.google.protobuf.ByteString getChannelLayoutBytes(int index) { return channelLayout_.getByteString(index); } /** + * + * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; + * * @param index The index to set the value at. * @param value The channelLayout to set. * @return This builder for chaining. */ - public Builder setChannelLayout( - int index, java.lang.String value) { + public Builder setChannelLayout(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChannelLayoutIsMutable(); + throw new NullPointerException(); + } + ensureChannelLayoutIsMutable(); channelLayout_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; + * * @param value The channelLayout to add. * @return This builder for chaining. */ - public Builder addChannelLayout( - java.lang.String value) { + public Builder addChannelLayout(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChannelLayoutIsMutable(); + throw new NullPointerException(); + } + ensureChannelLayoutIsMutable(); channelLayout_.add(value); onChanged(); return this; } /** + * + * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; + * * @param values The channelLayout to add. * @return This builder for chaining. */ - public Builder addAllChannelLayout( - java.lang.Iterable values) { + public Builder addAllChannelLayout(java.lang.Iterable values) { ensureChannelLayoutIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, channelLayout_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, channelLayout_); onChanged(); return this; } /** + * + * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; + * * @return This builder for chaining. */ public Builder clearChannelLayout() { @@ -848,28 +933,30 @@ public Builder clearChannelLayout() { return this; } /** + * + * *
      * A list of channel names specifying the layout of the audio channels.
      * 
* * repeated string channel_layout = 3; + * * @param value The bytes of the channelLayout to add. * @return This builder for chaining. */ - public Builder addChannelLayoutBytes( - com.google.protobuf.ByteString value) { + public Builder addChannelLayoutBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureChannelLayoutIsMutable(); channelLayout_.add(value); onChanged(); 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); } @@ -879,12 +966,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.AudioFormat) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.AudioFormat) private static final com.google.cloud.video.livestream.v1.AudioFormat DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.AudioFormat(); } @@ -893,16 +980,16 @@ public static com.google.cloud.video.livestream.v1.AudioFormat getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudioFormat parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AudioFormat(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudioFormat parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AudioFormat(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -917,6 +1004,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.AudioFormat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormatOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormatOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormatOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormatOrBuilder.java index 6411176..5454070 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormatOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioFormatOrBuilder.java @@ -1,80 +1,114 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface AudioFormatOrBuilder extends +public interface AudioFormatOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.AudioFormat) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Audio codec used in this audio stream.
    * 
* * string codec = 1; + * * @return The codec. */ java.lang.String getCodec(); /** + * + * *
    * Audio codec used in this audio stream.
    * 
* * string codec = 1; + * * @return The bytes for codec. */ - com.google.protobuf.ByteString - getCodecBytes(); + com.google.protobuf.ByteString getCodecBytes(); /** + * + * *
    * The number of audio channels.
    * 
* * int32 channel_count = 2; + * * @return The channelCount. */ int getChannelCount(); /** + * + * *
    * A list of channel names specifying the layout of the audio channels.
    * 
* * repeated string channel_layout = 3; + * * @return A list containing the channelLayout. */ - java.util.List - getChannelLayoutList(); + java.util.List getChannelLayoutList(); /** + * + * *
    * A list of channel names specifying the layout of the audio channels.
    * 
* * repeated string channel_layout = 3; + * * @return The count of channelLayout. */ int getChannelLayoutCount(); /** + * + * *
    * A list of channel names specifying the layout of the audio channels.
    * 
* * repeated string channel_layout = 3; + * * @param index The index of the element to return. * @return The channelLayout at the given index. */ java.lang.String getChannelLayout(int index); /** + * + * *
    * A list of channel names specifying the layout of the audio channels.
    * 
* * repeated string channel_layout = 3; + * * @param index The index of the value to return. * @return The bytes of the channelLayout at the given index. */ - com.google.protobuf.ByteString - getChannelLayoutBytes(int index); + com.google.protobuf.ByteString getChannelLayoutBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStream.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStream.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStream.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStream.java index cdfc5e1..32a1808 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStream.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStream.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/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Audio stream resource.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.AudioStream} */ -public final class AudioStream extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AudioStream extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.AudioStream) AudioStreamOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AudioStream.newBuilder() to construct. private AudioStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AudioStream() { codec_ = ""; channelLayout_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -27,16 +45,15 @@ private AudioStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AudioStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AudioStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,57 +73,64 @@ private AudioStream( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - codec_ = s; - break; - } - case 16: { - - bitrateBps_ = input.readInt32(); - break; - } - case 24: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - channelCount_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - channelLayout_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + codec_ = s; + break; } - channelLayout_.add(s); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - mapping_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 16: + { + bitrateBps_ = input.readInt32(); + break; } - mapping_.add( - input.readMessage(com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.parser(), extensionRegistry)); - break; - } - case 48: { - - sampleRateHertz_ = input.readInt32(); - break; - } - case 64: { - - transmux_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 24: + { + channelCount_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + channelLayout_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + channelLayout_.add(s); + break; + } + case 42: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + mapping_ = + new java.util.ArrayList< + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping>(); + mutable_bitField0_ |= 0x00000002; + } + mapping_.add( + input.readMessage( + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.parser(), + extensionRegistry)); + break; + } + case 48: + { + sampleRateHertz_ = input.readInt32(); + break; + } + case 64: + { + transmux_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,8 +138,7 @@ private AudioStream( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { channelLayout_ = channelLayout_.getUnmodifiableView(); @@ -127,24 +150,30 @@ private AudioStream( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_AudioStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.AudioStream.class, com.google.cloud.video.livestream.v1.AudioStream.Builder.class); + com.google.cloud.video.livestream.v1.AudioStream.class, + com.google.cloud.video.livestream.v1.AudioStream.Builder.class); } - public interface AudioMappingOrBuilder extends + public interface AudioMappingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.AudioStream.AudioMapping) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
      * audio mapping applies to. If an active input doesn't have an audio
@@ -152,10 +181,13 @@ public interface AudioMappingOrBuilder extends
      * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputKey. */ java.lang.String getInputKey(); /** + * + * *
      * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
      * audio mapping applies to. If an active input doesn't have an audio
@@ -163,12 +195,14 @@ public interface AudioMappingOrBuilder extends
      * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for inputKey. */ - com.google.protobuf.ByteString - getInputKeyBytes(); + com.google.protobuf.ByteString getInputKeyBytes(); /** + * + * *
      * Required. The zero-based index of the track in the input stream.
      * All [mapping][google.cloud.video.livestream.v1.AudioStream.mapping]s in the same [AudioStream][google.cloud.video.livestream.v1.AudioStream]
@@ -176,63 +210,72 @@ public interface AudioMappingOrBuilder extends
      * 
* * int32 input_track = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputTrack. */ int getInputTrack(); /** + * + * *
      * Required. The zero-based index of the channel in the input stream.
      * 
* * int32 input_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputChannel. */ int getInputChannel(); /** + * + * *
      * Required. The zero-based index of the channel in the output audio stream.
      * Must be consistent with the [input_channel][google.cloud.video.livestream.v1.AudioStream.AudioMapping.input_channel].
      * 
* * int32 output_channel = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The outputChannel. */ int getOutputChannel(); } /** + * + * *
    * The mapping for the input streams and audio channels.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.AudioStream.AudioMapping} */ - public static final class AudioMapping extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AudioMapping extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.AudioStream.AudioMapping) AudioMappingOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AudioMapping.newBuilder() to construct. private AudioMapping(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AudioMapping() { inputKey_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AudioMapping(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AudioMapping( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -251,34 +294,35 @@ private AudioMapping( case 0: done = true; break; - case 16: { - - inputTrack_ = input.readInt32(); - break; - } - case 24: { - - inputChannel_ = input.readInt32(); - break; - } - case 32: { - - outputChannel_ = input.readInt32(); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + case 16: + { + inputTrack_ = input.readInt32(); + break; + } + case 24: + { + inputChannel_ = input.readInt32(); + break; + } + case 32: + { + outputChannel_ = input.readInt32(); + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - inputKey_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + inputKey_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -286,29 +330,33 @@ private AudioMapping( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.class, com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder.class); + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.class, + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder.class); } public static final int INPUT_KEY_FIELD_NUMBER = 6; private volatile java.lang.Object inputKey_; /** + * + * *
      * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
      * audio mapping applies to. If an active input doesn't have an audio
@@ -316,6 +364,7 @@ private AudioMapping(
      * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputKey. */ @java.lang.Override @@ -324,14 +373,15 @@ public java.lang.String getInputKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputKey_ = s; return s; } } /** + * + * *
      * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
      * audio mapping applies to. If an active input doesn't have an audio
@@ -339,16 +389,15 @@ public java.lang.String getInputKey() {
      * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for inputKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getInputKeyBytes() { + public com.google.protobuf.ByteString getInputKeyBytes() { java.lang.Object ref = inputKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inputKey_ = b; return b; } else { @@ -359,6 +408,8 @@ public java.lang.String getInputKey() { public static final int INPUT_TRACK_FIELD_NUMBER = 2; private int inputTrack_; /** + * + * *
      * Required. The zero-based index of the track in the input stream.
      * All [mapping][google.cloud.video.livestream.v1.AudioStream.mapping]s in the same [AudioStream][google.cloud.video.livestream.v1.AudioStream]
@@ -366,6 +417,7 @@ public java.lang.String getInputKey() {
      * 
* * int32 input_track = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputTrack. */ @java.lang.Override @@ -376,11 +428,14 @@ public int getInputTrack() { public static final int INPUT_CHANNEL_FIELD_NUMBER = 3; private int inputChannel_; /** + * + * *
      * Required. The zero-based index of the channel in the input stream.
      * 
* * int32 input_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputChannel. */ @java.lang.Override @@ -391,12 +446,15 @@ public int getInputChannel() { public static final int OUTPUT_CHANNEL_FIELD_NUMBER = 4; private int outputChannel_; /** + * + * *
      * Required. The zero-based index of the channel in the output audio stream.
      * Must be consistent with the [input_channel][google.cloud.video.livestream.v1.AudioStream.AudioMapping.input_channel].
      * 
* * int32 output_channel = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The outputChannel. */ @java.lang.Override @@ -405,6 +463,7 @@ public int getOutputChannel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -416,8 +475,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 (inputTrack_ != 0) { output.writeInt32(2, inputTrack_); } @@ -440,16 +498,13 @@ public int getSerializedSize() { size = 0; if (inputTrack_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, inputTrack_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, inputTrack_); } if (inputChannel_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, inputChannel_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, inputChannel_); } if (outputChannel_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, outputChannel_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, outputChannel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, inputKey_); @@ -462,21 +517,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.AudioStream.AudioMapping)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping other = (com.google.cloud.video.livestream.v1.AudioStream.AudioMapping) obj; + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping other = + (com.google.cloud.video.livestream.v1.AudioStream.AudioMapping) obj; - if (!getInputKey() - .equals(other.getInputKey())) return false; - if (getInputTrack() - != other.getInputTrack()) return false; - if (getInputChannel() - != other.getInputChannel()) return false; - if (getOutputChannel() - != other.getOutputChannel()) return false; + if (!getInputKey().equals(other.getInputKey())) return false; + if (getInputTrack() != other.getInputTrack()) return false; + if (getInputChannel() != other.getInputChannel()) return false; + if (getOutputChannel() != other.getOutputChannel()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -502,87 +554,94 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.AudioStream.AudioMapping prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -592,27 +651,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
* * Protobuf type {@code google.cloud.video.livestream.v1.AudioStream.AudioMapping} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.AudioStream.AudioMapping) com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.class, com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder.class); + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.class, + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.newBuilder() @@ -620,16 +684,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(); @@ -645,13 +708,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor; } @java.lang.Override - public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping getDefaultInstanceForType() { + public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping + getDefaultInstanceForType() { return com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.getDefaultInstance(); } @@ -666,7 +730,8 @@ public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping build() { @java.lang.Override public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping buildPartial() { - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping result = new com.google.cloud.video.livestream.v1.AudioStream.AudioMapping(this); + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping result = + new com.google.cloud.video.livestream.v1.AudioStream.AudioMapping(this); result.inputKey_ = inputKey_; result.inputTrack_ = inputTrack_; result.inputChannel_ = inputChannel_; @@ -679,46 +744,52 @@ public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.AudioStream.AudioMapping) { - return mergeFrom((com.google.cloud.video.livestream.v1.AudioStream.AudioMapping)other); + return mergeFrom((com.google.cloud.video.livestream.v1.AudioStream.AudioMapping) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.video.livestream.v1.AudioStream.AudioMapping other) { - if (other == com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping other) { + if (other + == com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.getDefaultInstance()) + return this; if (!other.getInputKey().isEmpty()) { inputKey_ = other.inputKey_; onChanged(); @@ -751,7 +822,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.AudioStream.AudioMapping) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.AudioStream.AudioMapping) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -763,6 +836,8 @@ public Builder mergeFrom( private java.lang.Object inputKey_ = ""; /** + * + * *
        * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
        * audio mapping applies to. If an active input doesn't have an audio
@@ -770,13 +845,13 @@ public Builder mergeFrom(
        * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputKey. */ public java.lang.String getInputKey() { java.lang.Object ref = inputKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputKey_ = s; return s; @@ -785,6 +860,8 @@ public java.lang.String getInputKey() { } } /** + * + * *
        * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
        * audio mapping applies to. If an active input doesn't have an audio
@@ -792,15 +869,14 @@ public java.lang.String getInputKey() {
        * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for inputKey. */ - public com.google.protobuf.ByteString - getInputKeyBytes() { + public com.google.protobuf.ByteString getInputKeyBytes() { java.lang.Object ref = inputKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inputKey_ = b; return b; } else { @@ -808,6 +884,8 @@ public java.lang.String getInputKey() { } } /** + * + * *
        * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
        * audio mapping applies to. If an active input doesn't have an audio
@@ -815,20 +893,22 @@ public java.lang.String getInputKey() {
        * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The inputKey to set. * @return This builder for chaining. */ - public Builder setInputKey( - java.lang.String value) { + public Builder setInputKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputKey_ = value; onChanged(); return this; } /** + * + * *
        * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
        * audio mapping applies to. If an active input doesn't have an audio
@@ -836,15 +916,18 @@ public Builder setInputKey(
        * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInputKey() { - + inputKey_ = getDefaultInstance().getInputKey(); onChanged(); return this; } /** + * + * *
        * Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this
        * audio mapping applies to. If an active input doesn't have an audio
@@ -852,23 +935,25 @@ public Builder clearInputKey() {
        * 
* * string input_key = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for inputKey to set. * @return This builder for chaining. */ - public Builder setInputKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setInputKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputKey_ = value; onChanged(); return this; } - private int inputTrack_ ; + private int inputTrack_; /** + * + * *
        * Required. The zero-based index of the track in the input stream.
        * All [mapping][google.cloud.video.livestream.v1.AudioStream.mapping]s in the same [AudioStream][google.cloud.video.livestream.v1.AudioStream]
@@ -876,6 +961,7 @@ public Builder setInputKeyBytes(
        * 
* * int32 input_track = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputTrack. */ @java.lang.Override @@ -883,6 +969,8 @@ public int getInputTrack() { return inputTrack_; } /** + * + * *
        * Required. The zero-based index of the track in the input stream.
        * All [mapping][google.cloud.video.livestream.v1.AudioStream.mapping]s in the same [AudioStream][google.cloud.video.livestream.v1.AudioStream]
@@ -890,16 +978,19 @@ public int getInputTrack() {
        * 
* * int32 input_track = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The inputTrack to set. * @return This builder for chaining. */ public Builder setInputTrack(int value) { - + inputTrack_ = value; onChanged(); return this; } /** + * + * *
        * Required. The zero-based index of the track in the input stream.
        * All [mapping][google.cloud.video.livestream.v1.AudioStream.mapping]s in the same [AudioStream][google.cloud.video.livestream.v1.AudioStream]
@@ -907,22 +998,26 @@ public Builder setInputTrack(int value) {
        * 
* * int32 input_track = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInputTrack() { - + inputTrack_ = 0; onChanged(); return this; } - private int inputChannel_ ; + private int inputChannel_; /** + * + * *
        * Required. The zero-based index of the channel in the input stream.
        * 
* * int32 input_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputChannel. */ @java.lang.Override @@ -930,43 +1025,52 @@ public int getInputChannel() { return inputChannel_; } /** + * + * *
        * Required. The zero-based index of the channel in the input stream.
        * 
* * int32 input_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The inputChannel to set. * @return This builder for chaining. */ public Builder setInputChannel(int value) { - + inputChannel_ = value; onChanged(); return this; } /** + * + * *
        * Required. The zero-based index of the channel in the input stream.
        * 
* * int32 input_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInputChannel() { - + inputChannel_ = 0; onChanged(); return this; } - private int outputChannel_ ; + private int outputChannel_; /** + * + * *
        * Required. The zero-based index of the channel in the output audio stream.
        * Must be consistent with the [input_channel][google.cloud.video.livestream.v1.AudioStream.AudioMapping.input_channel].
        * 
* * int32 output_channel = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The outputChannel. */ @java.lang.Override @@ -974,36 +1078,43 @@ public int getOutputChannel() { return outputChannel_; } /** + * + * *
        * Required. The zero-based index of the channel in the output audio stream.
        * Must be consistent with the [input_channel][google.cloud.video.livestream.v1.AudioStream.AudioMapping.input_channel].
        * 
* * int32 output_channel = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The outputChannel to set. * @return This builder for chaining. */ public Builder setOutputChannel(int value) { - + outputChannel_ = value; onChanged(); return this; } /** + * + * *
        * Required. The zero-based index of the channel in the output audio stream.
        * Must be consistent with the [input_channel][google.cloud.video.livestream.v1.AudioStream.AudioMapping.input_channel].
        * 
* * int32 output_channel = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearOutputChannel() { - + outputChannel_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1016,30 +1127,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.AudioStream.AudioMapping) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.AudioStream.AudioMapping) - private static final com.google.cloud.video.livestream.v1.AudioStream.AudioMapping DEFAULT_INSTANCE; + private static final com.google.cloud.video.livestream.v1.AudioStream.AudioMapping + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.AudioStream.AudioMapping(); } - public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping getDefaultInstance() { + public static com.google.cloud.video.livestream.v1.AudioStream.AudioMapping + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudioMapping parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AudioMapping(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudioMapping parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AudioMapping(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1051,15 +1164,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping getDefaultInstanceForType() { + public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int TRANSMUX_FIELD_NUMBER = 8; private boolean transmux_; /** + * + * *
    * Specifies whether pass through (transmuxing) is enabled or not.
    * If set to `true`, the rest of the settings, other than `mapping`, will be
@@ -1067,6 +1182,7 @@ public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping getDefaultI
    * 
* * bool transmux = 8; + * * @return The transmux. */ @java.lang.Override @@ -1077,6 +1193,8 @@ public boolean getTransmux() { public static final int CODEC_FIELD_NUMBER = 1; private volatile java.lang.Object codec_; /** + * + * *
    * The codec for this audio stream. The default is `aac`.
    * Supported audio codecs:
@@ -1084,6 +1202,7 @@ public boolean getTransmux() {
    * 
* * string codec = 1; + * * @return The codec. */ @java.lang.Override @@ -1092,14 +1211,15 @@ public java.lang.String getCodec() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; } } /** + * + * *
    * The codec for this audio stream. The default is `aac`.
    * Supported audio codecs:
@@ -1107,16 +1227,15 @@ public java.lang.String getCodec() {
    * 
* * string codec = 1; + * * @return The bytes for codec. */ @java.lang.Override - public com.google.protobuf.ByteString - getCodecBytes() { + public com.google.protobuf.ByteString getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); codec_ = b; return b; } else { @@ -1127,11 +1246,14 @@ public java.lang.String getCodec() { public static final int BITRATE_BPS_FIELD_NUMBER = 2; private int bitrateBps_; /** + * + * *
    * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
    * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bitrateBps. */ @java.lang.Override @@ -1142,11 +1264,14 @@ public int getBitrateBps() { public static final int CHANNEL_COUNT_FIELD_NUMBER = 3; private int channelCount_; /** + * + * *
    * Number of audio channels. Must be between 1 and 6. The default is 2.
    * 
* * int32 channel_count = 3; + * * @return The channelCount. */ @java.lang.Override @@ -1157,6 +1282,8 @@ public int getChannelCount() { public static final int CHANNEL_LAYOUT_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList channelLayout_; /** + * + * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -1171,13 +1298,15 @@ public int getChannelCount() {
    * 
* * repeated string channel_layout = 4; + * * @return A list containing the channelLayout. */ - public com.google.protobuf.ProtocolStringList - getChannelLayoutList() { + public com.google.protobuf.ProtocolStringList getChannelLayoutList() { return channelLayout_; } /** + * + * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -1192,12 +1321,15 @@ public int getChannelCount() {
    * 
* * repeated string channel_layout = 4; + * * @return The count of channelLayout. */ public int getChannelLayoutCount() { return channelLayout_.size(); } /** + * + * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -1212,6 +1344,7 @@ public int getChannelLayoutCount() {
    * 
* * repeated string channel_layout = 4; + * * @param index The index of the element to return. * @return The channelLayout at the given index. */ @@ -1219,6 +1352,8 @@ public java.lang.String getChannelLayout(int index) { return channelLayout_.get(index); } /** + * + * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -1233,17 +1368,19 @@ public java.lang.String getChannelLayout(int index) {
    * 
* * repeated string channel_layout = 4; + * * @param index The index of the value to return. * @return The bytes of the channelLayout at the given index. */ - public com.google.protobuf.ByteString - getChannelLayoutBytes(int index) { + public com.google.protobuf.ByteString getChannelLayoutBytes(int index) { return channelLayout_.getByteString(index); } public static final int MAPPING_FIELD_NUMBER = 5; private java.util.List mapping_; /** + * + * *
    * The mapping for the input streams and audio channels.
    * 
@@ -1251,10 +1388,13 @@ public java.lang.String getChannelLayout(int index) { * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ @java.lang.Override - public java.util.List getMappingList() { + public java.util.List + getMappingList() { return mapping_; } /** + * + * *
    * The mapping for the input streams and audio channels.
    * 
@@ -1262,11 +1402,14 @@ public java.util.Listrepeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder> getMappingOrBuilderList() { return mapping_; } /** + * + * *
    * The mapping for the input streams and audio channels.
    * 
@@ -1278,6 +1421,8 @@ public int getMappingCount() { return mapping_.size(); } /** + * + * *
    * The mapping for the input streams and audio channels.
    * 
@@ -1289,6 +1434,8 @@ public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping getMapping( return mapping_.get(index); } /** + * + * *
    * The mapping for the input streams and audio channels.
    * 
@@ -1304,11 +1451,14 @@ public com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder ge public static final int SAMPLE_RATE_HERTZ_FIELD_NUMBER = 6; private int sampleRateHertz_; /** + * + * *
    * The audio sample rate in Hertz. The default is 48000 Hertz.
    * 
* * int32 sample_rate_hertz = 6; + * * @return The sampleRateHertz. */ @java.lang.Override @@ -1317,6 +1467,7 @@ public int getSampleRateHertz() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1328,8 +1479,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(codec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, codec_); } @@ -1364,12 +1514,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, codec_); } if (bitrateBps_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, bitrateBps_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, bitrateBps_); } if (channelCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, channelCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, channelCount_); } { int dataSize = 0; @@ -1380,16 +1528,13 @@ public int getSerializedSize() { size += 1 * getChannelLayoutList().size(); } for (int i = 0; i < mapping_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, mapping_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, mapping_.get(i)); } if (sampleRateHertz_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, sampleRateHertz_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, sampleRateHertz_); } if (transmux_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(8, transmux_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, transmux_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1399,27 +1544,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.AudioStream)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.AudioStream other = (com.google.cloud.video.livestream.v1.AudioStream) obj; - - if (getTransmux() - != other.getTransmux()) return false; - if (!getCodec() - .equals(other.getCodec())) return false; - if (getBitrateBps() - != other.getBitrateBps()) return false; - if (getChannelCount() - != other.getChannelCount()) return false; - if (!getChannelLayoutList() - .equals(other.getChannelLayoutList())) return false; - if (!getMappingList() - .equals(other.getMappingList())) return false; - if (getSampleRateHertz() - != other.getSampleRateHertz()) return false; + com.google.cloud.video.livestream.v1.AudioStream other = + (com.google.cloud.video.livestream.v1.AudioStream) obj; + + if (getTransmux() != other.getTransmux()) return false; + if (!getCodec().equals(other.getCodec())) return false; + if (getBitrateBps() != other.getBitrateBps()) return false; + if (getChannelCount() != other.getChannelCount()) return false; + if (!getChannelLayoutList().equals(other.getChannelLayoutList())) return false; + if (!getMappingList().equals(other.getMappingList())) return false; + if (getSampleRateHertz() != other.getSampleRateHertz()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1432,8 +1571,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TRANSMUX_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getTransmux()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getTransmux()); hash = (37 * hash) + CODEC_FIELD_NUMBER; hash = (53 * hash) + getCodec().hashCode(); hash = (37 * hash) + BITRATE_BPS_FIELD_NUMBER; @@ -1455,118 +1593,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.AudioStream parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.AudioStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioStream parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioStream parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.AudioStream parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.AudioStream parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.AudioStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.video.livestream.v1.AudioStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Audio stream resource.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.AudioStream} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.AudioStream) com.google.cloud.video.livestream.v1.AudioStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_AudioStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.AudioStream.class, com.google.cloud.video.livestream.v1.AudioStream.Builder.class); + com.google.cloud.video.livestream.v1.AudioStream.class, + com.google.cloud.video.livestream.v1.AudioStream.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.AudioStream.newBuilder() @@ -1574,17 +1721,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMappingFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1610,9 +1757,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor; } @java.lang.Override @@ -1631,7 +1778,8 @@ public com.google.cloud.video.livestream.v1.AudioStream build() { @java.lang.Override public com.google.cloud.video.livestream.v1.AudioStream buildPartial() { - com.google.cloud.video.livestream.v1.AudioStream result = new com.google.cloud.video.livestream.v1.AudioStream(this); + com.google.cloud.video.livestream.v1.AudioStream result = + new com.google.cloud.video.livestream.v1.AudioStream(this); int from_bitField0_ = bitField0_; result.transmux_ = transmux_; result.codec_ = codec_; @@ -1660,38 +1808,39 @@ public com.google.cloud.video.livestream.v1.AudioStream buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.AudioStream) { - return mergeFrom((com.google.cloud.video.livestream.v1.AudioStream)other); + return mergeFrom((com.google.cloud.video.livestream.v1.AudioStream) other); } else { super.mergeFrom(other); return this; @@ -1699,7 +1848,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.AudioStream other) { - if (other == com.google.cloud.video.livestream.v1.AudioStream.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.AudioStream.getDefaultInstance()) + return this; if (other.getTransmux() != false) { setTransmux(other.getTransmux()); } @@ -1741,9 +1891,10 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.AudioStream other) mappingBuilder_ = null; mapping_ = other.mapping_; bitField0_ = (bitField0_ & ~0x00000002); - mappingBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMappingFieldBuilder() : null; + mappingBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMappingFieldBuilder() + : null; } else { mappingBuilder_.addAllMessages(other.mapping_); } @@ -1780,10 +1931,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private boolean transmux_ ; + private boolean transmux_; /** + * + * *
      * Specifies whether pass through (transmuxing) is enabled or not.
      * If set to `true`, the rest of the settings, other than `mapping`, will be
@@ -1791,6 +1945,7 @@ public Builder mergeFrom(
      * 
* * bool transmux = 8; + * * @return The transmux. */ @java.lang.Override @@ -1798,6 +1953,8 @@ public boolean getTransmux() { return transmux_; } /** + * + * *
      * Specifies whether pass through (transmuxing) is enabled or not.
      * If set to `true`, the rest of the settings, other than `mapping`, will be
@@ -1805,16 +1962,19 @@ public boolean getTransmux() {
      * 
* * bool transmux = 8; + * * @param value The transmux to set. * @return This builder for chaining. */ public Builder setTransmux(boolean value) { - + transmux_ = value; onChanged(); return this; } /** + * + * *
      * Specifies whether pass through (transmuxing) is enabled or not.
      * If set to `true`, the rest of the settings, other than `mapping`, will be
@@ -1822,10 +1982,11 @@ public Builder setTransmux(boolean value) {
      * 
* * bool transmux = 8; + * * @return This builder for chaining. */ public Builder clearTransmux() { - + transmux_ = false; onChanged(); return this; @@ -1833,6 +1994,8 @@ public Builder clearTransmux() { private java.lang.Object codec_ = ""; /** + * + * *
      * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
@@ -1840,13 +2003,13 @@ public Builder clearTransmux() {
      * 
* * string codec = 1; + * * @return The codec. */ public java.lang.String getCodec() { java.lang.Object ref = codec_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; @@ -1855,6 +2018,8 @@ public java.lang.String getCodec() { } } /** + * + * *
      * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
@@ -1862,15 +2027,14 @@ public java.lang.String getCodec() {
      * 
* * string codec = 1; + * * @return The bytes for codec. */ - public com.google.protobuf.ByteString - getCodecBytes() { + public com.google.protobuf.ByteString getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); codec_ = b; return b; } else { @@ -1878,6 +2042,8 @@ public java.lang.String getCodec() { } } /** + * + * *
      * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
@@ -1885,20 +2051,22 @@ public java.lang.String getCodec() {
      * 
* * string codec = 1; + * * @param value The codec to set. * @return This builder for chaining. */ - public Builder setCodec( - java.lang.String value) { + public Builder setCodec(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + codec_ = value; onChanged(); return this; } /** + * + * *
      * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
@@ -1906,15 +2074,18 @@ public Builder setCodec(
      * 
* * string codec = 1; + * * @return This builder for chaining. */ public Builder clearCodec() { - + codec_ = getDefaultInstance().getCodec(); onChanged(); return this; } /** + * + * *
      * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
@@ -1922,28 +2093,31 @@ public Builder clearCodec() {
      * 
* * string codec = 1; + * * @param value The bytes for codec to set. * @return This builder for chaining. */ - public Builder setCodecBytes( - com.google.protobuf.ByteString value) { + public Builder setCodecBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + codec_ = value; onChanged(); return this; } - private int bitrateBps_ ; + private int bitrateBps_; /** + * + * *
      * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
      * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bitrateBps. */ @java.lang.Override @@ -1951,42 +2125,51 @@ public int getBitrateBps() { return bitrateBps_; } /** + * + * *
      * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
      * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bitrateBps to set. * @return This builder for chaining. */ public Builder setBitrateBps(int value) { - + bitrateBps_ = value; onChanged(); return this; } /** + * + * *
      * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
      * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBitrateBps() { - + bitrateBps_ = 0; onChanged(); return this; } - private int channelCount_ ; + private int channelCount_; /** + * + * *
      * Number of audio channels. Must be between 1 and 6. The default is 2.
      * 
* * int32 channel_count = 3; + * * @return The channelCount. */ @java.lang.Override @@ -1994,43 +2177,53 @@ public int getChannelCount() { return channelCount_; } /** + * + * *
      * Number of audio channels. Must be between 1 and 6. The default is 2.
      * 
* * int32 channel_count = 3; + * * @param value The channelCount to set. * @return This builder for chaining. */ public Builder setChannelCount(int value) { - + channelCount_ = value; onChanged(); return this; } /** + * + * *
      * Number of audio channels. Must be between 1 and 6. The default is 2.
      * 
* * int32 channel_count = 3; + * * @return This builder for chaining. */ public Builder clearChannelCount() { - + channelCount_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList channelLayout_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList channelLayout_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureChannelLayoutIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { channelLayout_ = new com.google.protobuf.LazyStringArrayList(channelLayout_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2045,13 +2238,15 @@ private void ensureChannelLayoutIsMutable() {
      * 
* * repeated string channel_layout = 4; + * * @return A list containing the channelLayout. */ - public com.google.protobuf.ProtocolStringList - getChannelLayoutList() { + public com.google.protobuf.ProtocolStringList getChannelLayoutList() { return channelLayout_.getUnmodifiableView(); } /** + * + * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2066,12 +2261,15 @@ private void ensureChannelLayoutIsMutable() {
      * 
* * repeated string channel_layout = 4; + * * @return The count of channelLayout. */ public int getChannelLayoutCount() { return channelLayout_.size(); } /** + * + * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2086,6 +2284,7 @@ public int getChannelLayoutCount() {
      * 
* * repeated string channel_layout = 4; + * * @param index The index of the element to return. * @return The channelLayout at the given index. */ @@ -2093,6 +2292,8 @@ public java.lang.String getChannelLayout(int index) { return channelLayout_.get(index); } /** + * + * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2107,14 +2308,16 @@ public java.lang.String getChannelLayout(int index) {
      * 
* * repeated string channel_layout = 4; + * * @param index The index of the value to return. * @return The bytes of the channelLayout at the given index. */ - public com.google.protobuf.ByteString - getChannelLayoutBytes(int index) { + public com.google.protobuf.ByteString getChannelLayoutBytes(int index) { return channelLayout_.getByteString(index); } /** + * + * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2129,21 +2332,23 @@ public java.lang.String getChannelLayout(int index) {
      * 
* * repeated string channel_layout = 4; + * * @param index The index to set the value at. * @param value The channelLayout to set. * @return This builder for chaining. */ - public Builder setChannelLayout( - int index, java.lang.String value) { + public Builder setChannelLayout(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChannelLayoutIsMutable(); + throw new NullPointerException(); + } + ensureChannelLayoutIsMutable(); channelLayout_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2158,20 +2363,22 @@ public Builder setChannelLayout(
      * 
* * repeated string channel_layout = 4; + * * @param value The channelLayout to add. * @return This builder for chaining. */ - public Builder addChannelLayout( - java.lang.String value) { + public Builder addChannelLayout(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChannelLayoutIsMutable(); + throw new NullPointerException(); + } + ensureChannelLayoutIsMutable(); channelLayout_.add(value); onChanged(); return this; } /** + * + * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2186,18 +2393,19 @@ public Builder addChannelLayout(
      * 
* * repeated string channel_layout = 4; + * * @param values The channelLayout to add. * @return This builder for chaining. */ - public Builder addAllChannelLayout( - java.lang.Iterable values) { + public Builder addAllChannelLayout(java.lang.Iterable values) { ensureChannelLayoutIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, channelLayout_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, channelLayout_); onChanged(); return this; } /** + * + * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2212,6 +2420,7 @@ public Builder addAllChannelLayout(
      * 
* * repeated string channel_layout = 4; + * * @return This builder for chaining. */ public Builder clearChannelLayout() { @@ -2221,6 +2430,8 @@ public Builder clearChannelLayout() { return this; } /** + * + * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2235,15 +2446,15 @@ public Builder clearChannelLayout() {
      * 
* * repeated string channel_layout = 4; + * * @param value The bytes of the channelLayout to add. * @return This builder for chaining. */ - public Builder addChannelLayoutBytes( - com.google.protobuf.ByteString value) { + public Builder addChannelLayoutBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureChannelLayoutIsMutable(); channelLayout_.add(value); onChanged(); @@ -2251,25 +2462,34 @@ public Builder addChannelLayoutBytes( } private java.util.List mapping_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMappingIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - mapping_ = new java.util.ArrayList(mapping_); + mapping_ = + new java.util.ArrayList( + mapping_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping, com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder, com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder> mappingBuilder_; + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping, + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder, + com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder> + mappingBuilder_; /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
* * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ - public java.util.List getMappingList() { + public java.util.List + getMappingList() { if (mappingBuilder_ == null) { return java.util.Collections.unmodifiableList(mapping_); } else { @@ -2277,6 +2497,8 @@ public java.util.List * The mapping for the input streams and audio channels. *
@@ -2291,6 +2513,8 @@ public int getMappingCount() { } } /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2305,6 +2529,8 @@ public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping getMapping( } } /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2326,6 +2552,8 @@ public Builder setMapping( return this; } /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2333,7 +2561,8 @@ public Builder setMapping( * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ public Builder setMapping( - int index, com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder builderForValue) { + int index, + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder builderForValue) { if (mappingBuilder_ == null) { ensureMappingIsMutable(); mapping_.set(index, builderForValue.build()); @@ -2344,6 +2573,8 @@ public Builder setMapping( return this; } /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2364,6 +2595,8 @@ public Builder addMapping(com.google.cloud.video.livestream.v1.AudioStream.Audio return this; } /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2385,6 +2618,8 @@ public Builder addMapping( return this; } /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2403,6 +2638,8 @@ public Builder addMapping( return this; } /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2410,7 +2647,8 @@ public Builder addMapping( * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ public Builder addMapping( - int index, com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder builderForValue) { + int index, + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder builderForValue) { if (mappingBuilder_ == null) { ensureMappingIsMutable(); mapping_.add(index, builderForValue.build()); @@ -2421,6 +2659,8 @@ public Builder addMapping( return this; } /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2428,11 +2668,11 @@ public Builder addMapping( * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ public Builder addAllMapping( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (mappingBuilder_ == null) { ensureMappingIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, mapping_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mapping_); onChanged(); } else { mappingBuilder_.addAllMessages(values); @@ -2440,6 +2680,8 @@ public Builder addAllMapping( return this; } /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2457,6 +2699,8 @@ public Builder clearMapping() { return this; } /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2474,6 +2718,8 @@ public Builder removeMapping(int index) { return this; } /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2485,28 +2731,34 @@ public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder get return getMappingFieldBuilder().getBuilder(index); } /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
* * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ - public com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder getMappingOrBuilder( - int index) { + public com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder + getMappingOrBuilder(int index) { if (mappingBuilder_ == null) { - return mapping_.get(index); } else { + return mapping_.get(index); + } else { return mappingBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
* * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ - public java.util.List - getMappingOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder> + getMappingOrBuilderList() { if (mappingBuilder_ != null) { return mappingBuilder_.getMessageOrBuilderList(); } else { @@ -2514,17 +2766,23 @@ public com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder ge } } /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
* * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ - public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder addMappingBuilder() { - return getMappingFieldBuilder().addBuilder( - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder + addMappingBuilder() { + return getMappingFieldBuilder() + .addBuilder( + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.getDefaultInstance()); } /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
@@ -2533,42 +2791,52 @@ public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder add */ public com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder addMappingBuilder( int index) { - return getMappingFieldBuilder().addBuilder( - index, com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.getDefaultInstance()); + return getMappingFieldBuilder() + .addBuilder( + index, + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.getDefaultInstance()); } /** + * + * *
      * The mapping for the input streams and audio channels.
      * 
* * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ - public java.util.List - getMappingBuilderList() { + public java.util.List + getMappingBuilderList() { return getMappingFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping, com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder, com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder> + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping, + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder, + com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder> getMappingFieldBuilder() { if (mappingBuilder_ == null) { - mappingBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStream.AudioMapping, com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder, com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder>( - mapping_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + mappingBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping, + com.google.cloud.video.livestream.v1.AudioStream.AudioMapping.Builder, + com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder>( + mapping_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); mapping_ = null; } return mappingBuilder_; } - private int sampleRateHertz_ ; + private int sampleRateHertz_; /** + * + * *
      * The audio sample rate in Hertz. The default is 48000 Hertz.
      * 
* * int32 sample_rate_hertz = 6; + * * @return The sampleRateHertz. */ @java.lang.Override @@ -2576,37 +2844,43 @@ public int getSampleRateHertz() { return sampleRateHertz_; } /** + * + * *
      * The audio sample rate in Hertz. The default is 48000 Hertz.
      * 
* * int32 sample_rate_hertz = 6; + * * @param value The sampleRateHertz to set. * @return This builder for chaining. */ public Builder setSampleRateHertz(int value) { - + sampleRateHertz_ = value; onChanged(); return this; } /** + * + * *
      * The audio sample rate in Hertz. The default is 48000 Hertz.
      * 
* * int32 sample_rate_hertz = 6; + * * @return This builder for chaining. */ public Builder clearSampleRateHertz() { - + sampleRateHertz_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2616,12 +2890,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.AudioStream) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.AudioStream) private static final com.google.cloud.video.livestream.v1.AudioStream DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.AudioStream(); } @@ -2630,16 +2904,16 @@ public static com.google.cloud.video.livestream.v1.AudioStream getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudioStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AudioStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudioStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AudioStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2654,6 +2928,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.AudioStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamOrBuilder.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamOrBuilder.java index 1410959..76b521f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamOrBuilder.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/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; -public interface AudioStreamOrBuilder extends +public interface AudioStreamOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.AudioStream) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Specifies whether pass through (transmuxing) is enabled or not.
    * If set to `true`, the rest of the settings, other than `mapping`, will be
@@ -15,11 +33,14 @@ public interface AudioStreamOrBuilder extends
    * 
* * bool transmux = 8; + * * @return The transmux. */ boolean getTransmux(); /** + * + * *
    * The codec for this audio stream. The default is `aac`.
    * Supported audio codecs:
@@ -27,10 +48,13 @@ public interface AudioStreamOrBuilder extends
    * 
* * string codec = 1; + * * @return The codec. */ java.lang.String getCodec(); /** + * + * *
    * The codec for this audio stream. The default is `aac`.
    * Supported audio codecs:
@@ -38,32 +62,40 @@ public interface AudioStreamOrBuilder extends
    * 
* * string codec = 1; + * * @return The bytes for codec. */ - com.google.protobuf.ByteString - getCodecBytes(); + com.google.protobuf.ByteString getCodecBytes(); /** + * + * *
    * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
    * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bitrateBps. */ int getBitrateBps(); /** + * + * *
    * Number of audio channels. Must be between 1 and 6. The default is 2.
    * 
* * int32 channel_count = 3; + * * @return The channelCount. */ int getChannelCount(); /** + * + * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -78,11 +110,13 @@ public interface AudioStreamOrBuilder extends
    * 
* * repeated string channel_layout = 4; + * * @return A list containing the channelLayout. */ - java.util.List - getChannelLayoutList(); + java.util.List getChannelLayoutList(); /** + * + * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -97,10 +131,13 @@ public interface AudioStreamOrBuilder extends
    * 
* * repeated string channel_layout = 4; + * * @return The count of channelLayout. */ int getChannelLayoutCount(); /** + * + * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -115,11 +152,14 @@ public interface AudioStreamOrBuilder extends
    * 
* * repeated string channel_layout = 4; + * * @param index The index of the element to return. * @return The channelLayout at the given index. */ java.lang.String getChannelLayout(int index); /** + * + * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -134,22 +174,25 @@ public interface AudioStreamOrBuilder extends
    * 
* * repeated string channel_layout = 4; + * * @param index The index of the value to return. * @return The bytes of the channelLayout at the given index. */ - com.google.protobuf.ByteString - getChannelLayoutBytes(int index); + com.google.protobuf.ByteString getChannelLayoutBytes(int index); /** + * + * *
    * The mapping for the input streams and audio channels.
    * 
* * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ - java.util.List - getMappingList(); + java.util.List getMappingList(); /** + * + * *
    * The mapping for the input streams and audio channels.
    * 
@@ -158,6 +201,8 @@ public interface AudioStreamOrBuilder extends */ com.google.cloud.video.livestream.v1.AudioStream.AudioMapping getMapping(int index); /** + * + * *
    * The mapping for the input streams and audio channels.
    * 
@@ -166,15 +211,19 @@ public interface AudioStreamOrBuilder extends */ int getMappingCount(); /** + * + * *
    * The mapping for the input streams and audio channels.
    * 
* * repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5; */ - java.util.List + java.util.List getMappingOrBuilderList(); /** + * + * *
    * The mapping for the input streams and audio channels.
    * 
@@ -185,11 +234,14 @@ com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder getMappin int index); /** + * + * *
    * The audio sample rate in Hertz. The default is 48000 Hertz.
    * 
* * int32 sample_rate_hertz = 6; + * * @return The sampleRateHertz. */ int getSampleRateHertz(); diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamProperty.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamProperty.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamProperty.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamProperty.java index c50ed68..34aef18 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamProperty.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamProperty.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/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Properties of the audio stream.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.AudioStreamProperty} */ -public final class AudioStreamProperty extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AudioStreamProperty extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.AudioStreamProperty) AudioStreamPropertyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AudioStreamProperty.newBuilder() to construct. private AudioStreamProperty(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AudioStreamProperty() { - } + + private AudioStreamProperty() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AudioStreamProperty(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AudioStreamProperty( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,34 @@ private AudioStreamProperty( case 0: done = true; break; - case 8: { - - index_ = input.readInt32(); - break; - } - case 18: { - com.google.cloud.video.livestream.v1.AudioFormat.Builder subBuilder = null; - if (audioFormat_ != null) { - subBuilder = audioFormat_.toBuilder(); + case 8: + { + index_ = input.readInt32(); + break; } - audioFormat_ = input.readMessage(com.google.cloud.video.livestream.v1.AudioFormat.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(audioFormat_); - audioFormat_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.video.livestream.v1.AudioFormat.Builder subBuilder = null; + if (audioFormat_ != null) { + subBuilder = audioFormat_.toBuilder(); + } + audioFormat_ = + input.readMessage( + com.google.cloud.video.livestream.v1.AudioFormat.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(audioFormat_); + audioFormat_ = 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) { @@ -84,34 +103,39 @@ private AudioStreamProperty( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.AudioStreamProperty.class, com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder.class); + com.google.cloud.video.livestream.v1.AudioStreamProperty.class, + com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder.class); } public static final int INDEX_FIELD_NUMBER = 1; private int index_; /** + * + * *
    * Index of this audio stream.
    * 
* * int32 index = 1; + * * @return The index. */ @java.lang.Override @@ -122,11 +146,14 @@ public int getIndex() { public static final int AUDIO_FORMAT_FIELD_NUMBER = 2; private com.google.cloud.video.livestream.v1.AudioFormat audioFormat_; /** + * + * *
    * Properties of the audio format.
    * 
* * .google.cloud.video.livestream.v1.AudioFormat audio_format = 2; + * * @return Whether the audioFormat field is set. */ @java.lang.Override @@ -134,18 +161,25 @@ public boolean hasAudioFormat() { return audioFormat_ != null; } /** + * + * *
    * Properties of the audio format.
    * 
* * .google.cloud.video.livestream.v1.AudioFormat audio_format = 2; + * * @return The audioFormat. */ @java.lang.Override public com.google.cloud.video.livestream.v1.AudioFormat getAudioFormat() { - return audioFormat_ == null ? com.google.cloud.video.livestream.v1.AudioFormat.getDefaultInstance() : audioFormat_; + return audioFormat_ == null + ? com.google.cloud.video.livestream.v1.AudioFormat.getDefaultInstance() + : audioFormat_; } /** + * + * *
    * Properties of the audio format.
    * 
@@ -158,6 +192,7 @@ public com.google.cloud.video.livestream.v1.AudioFormatOrBuilder getAudioFormatO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,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 (index_ != 0) { output.writeInt32(1, index_); } @@ -187,12 +221,10 @@ public int getSerializedSize() { size = 0; if (index_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, index_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, index_); } if (audioFormat_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAudioFormat()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAudioFormat()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -202,19 +234,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.AudioStreamProperty)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.AudioStreamProperty other = (com.google.cloud.video.livestream.v1.AudioStreamProperty) obj; + com.google.cloud.video.livestream.v1.AudioStreamProperty other = + (com.google.cloud.video.livestream.v1.AudioStreamProperty) obj; - if (getIndex() - != other.getIndex()) return false; + if (getIndex() != other.getIndex()) return false; if (hasAudioFormat() != other.hasAudioFormat()) return false; if (hasAudioFormat()) { - if (!getAudioFormat() - .equals(other.getAudioFormat())) return false; + if (!getAudioFormat().equals(other.getAudioFormat())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -239,117 +270,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.AudioStreamProperty parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.AudioStreamProperty prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.AudioStreamProperty prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Properties of the audio stream.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.AudioStreamProperty} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.AudioStreamProperty) com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.AudioStreamProperty.class, com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder.class); + com.google.cloud.video.livestream.v1.AudioStreamProperty.class, + com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.AudioStreamProperty.newBuilder() @@ -357,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(); @@ -382,9 +422,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor; } @java.lang.Override @@ -403,7 +443,8 @@ public com.google.cloud.video.livestream.v1.AudioStreamProperty build() { @java.lang.Override public com.google.cloud.video.livestream.v1.AudioStreamProperty buildPartial() { - com.google.cloud.video.livestream.v1.AudioStreamProperty result = new com.google.cloud.video.livestream.v1.AudioStreamProperty(this); + com.google.cloud.video.livestream.v1.AudioStreamProperty result = + new com.google.cloud.video.livestream.v1.AudioStreamProperty(this); result.index_ = index_; if (audioFormatBuilder_ == null) { result.audioFormat_ = audioFormat_; @@ -418,38 +459,39 @@ public com.google.cloud.video.livestream.v1.AudioStreamProperty buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.AudioStreamProperty) { - return mergeFrom((com.google.cloud.video.livestream.v1.AudioStreamProperty)other); + return mergeFrom((com.google.cloud.video.livestream.v1.AudioStreamProperty) other); } else { super.mergeFrom(other); return this; @@ -457,7 +499,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.AudioStreamProperty other) { - if (other == com.google.cloud.video.livestream.v1.AudioStreamProperty.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.AudioStreamProperty.getDefaultInstance()) + return this; if (other.getIndex() != 0) { setIndex(other.getIndex()); } @@ -483,7 +526,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.AudioStreamProperty) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.AudioStreamProperty) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,13 +537,16 @@ public Builder mergeFrom( return this; } - private int index_ ; + private int index_; /** + * + * *
      * Index of this audio stream.
      * 
* * int32 index = 1; + * * @return The index. */ @java.lang.Override @@ -507,30 +554,36 @@ public int getIndex() { return index_; } /** + * + * *
      * Index of this audio stream.
      * 
* * int32 index = 1; + * * @param value The index to set. * @return This builder for chaining. */ public Builder setIndex(int value) { - + index_ = value; onChanged(); return this; } /** + * + * *
      * Index of this audio stream.
      * 
* * int32 index = 1; + * * @return This builder for chaining. */ public Builder clearIndex() { - + index_ = 0; onChanged(); return this; @@ -538,34 +591,47 @@ public Builder clearIndex() { private com.google.cloud.video.livestream.v1.AudioFormat audioFormat_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioFormat, com.google.cloud.video.livestream.v1.AudioFormat.Builder, com.google.cloud.video.livestream.v1.AudioFormatOrBuilder> audioFormatBuilder_; + com.google.cloud.video.livestream.v1.AudioFormat, + com.google.cloud.video.livestream.v1.AudioFormat.Builder, + com.google.cloud.video.livestream.v1.AudioFormatOrBuilder> + audioFormatBuilder_; /** + * + * *
      * Properties of the audio format.
      * 
* * .google.cloud.video.livestream.v1.AudioFormat audio_format = 2; + * * @return Whether the audioFormat field is set. */ public boolean hasAudioFormat() { return audioFormatBuilder_ != null || audioFormat_ != null; } /** + * + * *
      * Properties of the audio format.
      * 
* * .google.cloud.video.livestream.v1.AudioFormat audio_format = 2; + * * @return The audioFormat. */ public com.google.cloud.video.livestream.v1.AudioFormat getAudioFormat() { if (audioFormatBuilder_ == null) { - return audioFormat_ == null ? com.google.cloud.video.livestream.v1.AudioFormat.getDefaultInstance() : audioFormat_; + return audioFormat_ == null + ? com.google.cloud.video.livestream.v1.AudioFormat.getDefaultInstance() + : audioFormat_; } else { return audioFormatBuilder_.getMessage(); } } /** + * + * *
      * Properties of the audio format.
      * 
@@ -586,6 +652,8 @@ public Builder setAudioFormat(com.google.cloud.video.livestream.v1.AudioFormat v return this; } /** + * + * *
      * Properties of the audio format.
      * 
@@ -604,6 +672,8 @@ public Builder setAudioFormat( return this; } /** + * + * *
      * Properties of the audio format.
      * 
@@ -614,7 +684,9 @@ public Builder mergeAudioFormat(com.google.cloud.video.livestream.v1.AudioFormat if (audioFormatBuilder_ == null) { if (audioFormat_ != null) { audioFormat_ = - com.google.cloud.video.livestream.v1.AudioFormat.newBuilder(audioFormat_).mergeFrom(value).buildPartial(); + com.google.cloud.video.livestream.v1.AudioFormat.newBuilder(audioFormat_) + .mergeFrom(value) + .buildPartial(); } else { audioFormat_ = value; } @@ -626,6 +698,8 @@ public Builder mergeAudioFormat(com.google.cloud.video.livestream.v1.AudioFormat return this; } /** + * + * *
      * Properties of the audio format.
      * 
@@ -644,6 +718,8 @@ public Builder clearAudioFormat() { return this; } /** + * + * *
      * Properties of the audio format.
      * 
@@ -651,11 +727,13 @@ public Builder clearAudioFormat() { * .google.cloud.video.livestream.v1.AudioFormat audio_format = 2; */ public com.google.cloud.video.livestream.v1.AudioFormat.Builder getAudioFormatBuilder() { - + onChanged(); return getAudioFormatFieldBuilder().getBuilder(); } /** + * + * *
      * Properties of the audio format.
      * 
@@ -666,11 +744,14 @@ public com.google.cloud.video.livestream.v1.AudioFormatOrBuilder getAudioFormatO if (audioFormatBuilder_ != null) { return audioFormatBuilder_.getMessageOrBuilder(); } else { - return audioFormat_ == null ? - com.google.cloud.video.livestream.v1.AudioFormat.getDefaultInstance() : audioFormat_; + return audioFormat_ == null + ? com.google.cloud.video.livestream.v1.AudioFormat.getDefaultInstance() + : audioFormat_; } } /** + * + * *
      * Properties of the audio format.
      * 
@@ -678,21 +759,24 @@ public com.google.cloud.video.livestream.v1.AudioFormatOrBuilder getAudioFormatO * .google.cloud.video.livestream.v1.AudioFormat audio_format = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioFormat, com.google.cloud.video.livestream.v1.AudioFormat.Builder, com.google.cloud.video.livestream.v1.AudioFormatOrBuilder> + com.google.cloud.video.livestream.v1.AudioFormat, + com.google.cloud.video.livestream.v1.AudioFormat.Builder, + com.google.cloud.video.livestream.v1.AudioFormatOrBuilder> getAudioFormatFieldBuilder() { if (audioFormatBuilder_ == null) { - audioFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioFormat, com.google.cloud.video.livestream.v1.AudioFormat.Builder, com.google.cloud.video.livestream.v1.AudioFormatOrBuilder>( - getAudioFormat(), - getParentForChildren(), - isClean()); + audioFormatBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.AudioFormat, + com.google.cloud.video.livestream.v1.AudioFormat.Builder, + com.google.cloud.video.livestream.v1.AudioFormatOrBuilder>( + getAudioFormat(), getParentForChildren(), isClean()); audioFormat_ = null; } return audioFormatBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -702,12 +786,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.AudioStreamProperty) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.AudioStreamProperty) private static final com.google.cloud.video.livestream.v1.AudioStreamProperty DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.AudioStreamProperty(); } @@ -716,16 +800,16 @@ public static com.google.cloud.video.livestream.v1.AudioStreamProperty getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudioStreamProperty parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AudioStreamProperty(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudioStreamProperty parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AudioStreamProperty(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -740,6 +824,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.AudioStreamProperty getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamPropertyOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamPropertyOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamPropertyOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamPropertyOrBuilder.java index ca56630..1cc4454 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamPropertyOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/AudioStreamPropertyOrBuilder.java @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface AudioStreamPropertyOrBuilder extends +public interface AudioStreamPropertyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.AudioStreamProperty) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Index of this audio stream.
    * 
* * int32 index = 1; + * * @return The index. */ int getIndex(); /** + * + * *
    * Properties of the audio format.
    * 
* * .google.cloud.video.livestream.v1.AudioFormat audio_format = 2; + * * @return Whether the audioFormat field is set. */ boolean hasAudioFormat(); /** + * + * *
    * Properties of the audio format.
    * 
* * .google.cloud.video.livestream.v1.AudioFormat audio_format = 2; + * * @return The audioFormat. */ com.google.cloud.video.livestream.v1.AudioFormat getAudioFormat(); /** + * + * *
    * Properties of the audio format.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Channel.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Channel.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Channel.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Channel.java index 1905d11..2c46d52 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Channel.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Channel.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/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Channel resource represents the processor that does a user-defined
  * "streaming" operation, which includes getting an input stream through an
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.cloud.video.livestream.v1.Channel}
  */
-public final class Channel extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Channel extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.Channel)
     ChannelOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Channel.newBuilder() to construct.
   private Channel(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Channel() {
     name_ = "";
     inputAttachments_ = java.util.Collections.emptyList();
@@ -36,16 +54,15 @@ private Channel() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Channel();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Channel(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -65,154 +82,189 @@ private Channel(
           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.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+              name_ = s;
+              break;
             }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              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 26: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                labels_ =
+                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry labels__ =
+                  input.readMessage(
+                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+              break;
             }
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              activeInput_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 74:
+            {
+              com.google.cloud.video.livestream.v1.Channel.Output.Builder subBuilder = null;
+              if (output_ != null) {
+                subBuilder = output_.toBuilder();
+              }
+              output_ =
+                  input.readMessage(
+                      com.google.cloud.video.livestream.v1.Channel.Output.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(output_);
+                output_ = subBuilder.buildPartial();
+              }
 
-            activeInput_ = s;
-            break;
-          }
-          case 74: {
-            com.google.cloud.video.livestream.v1.Channel.Output.Builder subBuilder = null;
-            if (output_ != null) {
-              subBuilder = output_.toBuilder();
-            }
-            output_ = input.readMessage(com.google.cloud.video.livestream.v1.Channel.Output.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(output_);
-              output_ = subBuilder.buildPartial();
+              break;
             }
-
-            break;
-          }
-          case 82: {
-            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-              elementaryStreams_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000004;
+          case 82:
+            {
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                elementaryStreams_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.video.livestream.v1.ElementaryStream>();
+                mutable_bitField0_ |= 0x00000004;
+              }
+              elementaryStreams_.add(
+                  input.readMessage(
+                      com.google.cloud.video.livestream.v1.ElementaryStream.parser(),
+                      extensionRegistry));
+              break;
             }
-            elementaryStreams_.add(
-                input.readMessage(com.google.cloud.video.livestream.v1.ElementaryStream.parser(), extensionRegistry));
-            break;
-          }
-          case 90: {
-            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-              muxStreams_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000008;
+          case 90:
+            {
+              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+                muxStreams_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000008;
+              }
+              muxStreams_.add(
+                  input.readMessage(
+                      com.google.cloud.video.livestream.v1.MuxStream.parser(), extensionRegistry));
+              break;
             }
-            muxStreams_.add(
-                input.readMessage(com.google.cloud.video.livestream.v1.MuxStream.parser(), extensionRegistry));
-            break;
-          }
-          case 98: {
-            if (!((mutable_bitField0_ & 0x00000010) != 0)) {
-              manifests_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000010;
+          case 98:
+            {
+              if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+                manifests_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000010;
+              }
+              manifests_.add(
+                  input.readMessage(
+                      com.google.cloud.video.livestream.v1.Manifest.parser(), extensionRegistry));
+              break;
             }
-            manifests_.add(
-                input.readMessage(com.google.cloud.video.livestream.v1.Manifest.parser(), extensionRegistry));
-            break;
-          }
-          case 106: {
-            if (!((mutable_bitField0_ & 0x00000020) != 0)) {
-              spriteSheets_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000020;
+          case 106:
+            {
+              if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+                spriteSheets_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000020;
+              }
+              spriteSheets_.add(
+                  input.readMessage(
+                      com.google.cloud.video.livestream.v1.SpriteSheet.parser(),
+                      extensionRegistry));
+              break;
             }
-            spriteSheets_.add(
-                input.readMessage(com.google.cloud.video.livestream.v1.SpriteSheet.parser(), extensionRegistry));
-            break;
-          }
-          case 112: {
-            int rawValue = input.readEnum();
+          case 112:
+            {
+              int rawValue = input.readEnum();
 
-            streamingState_ = rawValue;
-            break;
-          }
-          case 130: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              inputAttachments_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
-            }
-            inputAttachments_.add(
-                input.readMessage(com.google.cloud.video.livestream.v1.InputAttachment.parser(), extensionRegistry));
-            break;
-          }
-          case 146: {
-            com.google.rpc.Status.Builder subBuilder = null;
-            if (streamingError_ != null) {
-              subBuilder = streamingError_.toBuilder();
+              streamingState_ = rawValue;
+              break;
             }
-            streamingError_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(streamingError_);
-              streamingError_ = subBuilder.buildPartial();
+          case 130:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                inputAttachments_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              inputAttachments_.add(
+                  input.readMessage(
+                      com.google.cloud.video.livestream.v1.InputAttachment.parser(),
+                      extensionRegistry));
+              break;
             }
+          case 146:
+            {
+              com.google.rpc.Status.Builder subBuilder = null;
+              if (streamingError_ != null) {
+                subBuilder = streamingError_.toBuilder();
+              }
+              streamingError_ =
+                  input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(streamingError_);
+                streamingError_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 154: {
-            com.google.cloud.video.livestream.v1.LogConfig.Builder subBuilder = null;
-            if (logConfig_ != null) {
-              subBuilder = logConfig_.toBuilder();
-            }
-            logConfig_ = input.readMessage(com.google.cloud.video.livestream.v1.LogConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(logConfig_);
-              logConfig_ = subBuilder.buildPartial();
+              break;
             }
+          case 154:
+            {
+              com.google.cloud.video.livestream.v1.LogConfig.Builder subBuilder = null;
+              if (logConfig_ != null) {
+                subBuilder = logConfig_.toBuilder();
+              }
+              logConfig_ =
+                  input.readMessage(
+                      com.google.cloud.video.livestream.v1.LogConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(logConfig_);
+                logConfig_ = 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) {
@@ -220,8 +272,7 @@ private Channel(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_ & 0x00000004) != 0)) {
         elementaryStreams_ = java.util.Collections.unmodifiableList(elementaryStreams_);
@@ -242,41 +293,46 @@ private Channel(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.video.livestream.v1.ResourcesProto
+        .internal_static_google_cloud_video_livestream_v1_Channel_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_fieldAccessorTable
+    return com.google.cloud.video.livestream.v1.ResourcesProto
+        .internal_static_google_cloud_video_livestream_v1_Channel_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.video.livestream.v1.Channel.class, com.google.cloud.video.livestream.v1.Channel.Builder.class);
+            com.google.cloud.video.livestream.v1.Channel.class,
+            com.google.cloud.video.livestream.v1.Channel.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State of streaming operation that the channel is running.
    * 
* * Protobuf enum {@code google.cloud.video.livestream.v1.Channel.StreamingState} */ - public enum StreamingState - implements com.google.protobuf.ProtocolMessageEnum { + public enum StreamingState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Streaming state is not specified.
      * 
@@ -285,6 +341,8 @@ public enum StreamingState */ STREAMING_STATE_UNSPECIFIED(0), /** + * + * *
      * Channel is getting the input stream, generating the live streams to the
      * specified output location.
@@ -294,6 +352,8 @@ public enum StreamingState
      */
     STREAMING(1),
     /**
+     *
+     *
      * 
      * Channel is waiting for the input stream through the input.
      * 
@@ -302,6 +362,8 @@ public enum StreamingState */ AWAITING_INPUT(2), /** + * + * *
      * Channel is running, but has trouble publishing the live streams onto the
      * specified output location (for example, the specified Cloud Storage
@@ -312,6 +374,8 @@ public enum StreamingState
      */
     STREAMING_ERROR(4),
     /**
+     *
+     *
      * 
      * Channel is generating live streams with no input stream. Live streams are
      * filled out with black screen, while input stream is missing.
@@ -322,6 +386,8 @@ public enum StreamingState
      */
     STREAMING_NO_INPUT(5),
     /**
+     *
+     *
      * 
      * Channel is stopped, finishing live streams.
      * 
@@ -330,6 +396,8 @@ public enum StreamingState */ STOPPED(6), /** + * + * *
      * Channel is starting.
      * 
@@ -338,6 +406,8 @@ public enum StreamingState */ STARTING(7), /** + * + * *
      * Channel is stopping.
      * 
@@ -349,6 +419,8 @@ public enum StreamingState ; /** + * + * *
      * Streaming state is not specified.
      * 
@@ -357,6 +429,8 @@ public enum StreamingState */ public static final int STREAMING_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Channel is getting the input stream, generating the live streams to the
      * specified output location.
@@ -366,6 +440,8 @@ public enum StreamingState
      */
     public static final int STREAMING_VALUE = 1;
     /**
+     *
+     *
      * 
      * Channel is waiting for the input stream through the input.
      * 
@@ -374,6 +450,8 @@ public enum StreamingState */ public static final int AWAITING_INPUT_VALUE = 2; /** + * + * *
      * Channel is running, but has trouble publishing the live streams onto the
      * specified output location (for example, the specified Cloud Storage
@@ -384,6 +462,8 @@ public enum StreamingState
      */
     public static final int STREAMING_ERROR_VALUE = 4;
     /**
+     *
+     *
      * 
      * Channel is generating live streams with no input stream. Live streams are
      * filled out with black screen, while input stream is missing.
@@ -394,6 +474,8 @@ public enum StreamingState
      */
     public static final int STREAMING_NO_INPUT_VALUE = 5;
     /**
+     *
+     *
      * 
      * Channel is stopped, finishing live streams.
      * 
@@ -402,6 +484,8 @@ public enum StreamingState */ public static final int STOPPED_VALUE = 6; /** + * + * *
      * Channel is starting.
      * 
@@ -410,6 +494,8 @@ public enum StreamingState */ public static final int STARTING_VALUE = 7; /** + * + * *
      * Channel is stopping.
      * 
@@ -418,7 +504,6 @@ public enum StreamingState */ public static final int STOPPING_VALUE = 8; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -443,54 +528,59 @@ public static StreamingState valueOf(int value) { */ public static StreamingState forNumber(int value) { switch (value) { - case 0: return STREAMING_STATE_UNSPECIFIED; - case 1: return STREAMING; - case 2: return AWAITING_INPUT; - case 4: return STREAMING_ERROR; - case 5: return STREAMING_NO_INPUT; - case 6: return STOPPED; - case 7: return STARTING; - case 8: return STOPPING; - default: return null; + case 0: + return STREAMING_STATE_UNSPECIFIED; + case 1: + return STREAMING; + case 2: + return AWAITING_INPUT; + case 4: + return STREAMING_ERROR; + case 5: + return STREAMING_NO_INPUT; + case 6: + return STOPPED; + case 7: + return STARTING; + case 8: + return STOPPING; + 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< - StreamingState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public StreamingState findValueByNumber(int number) { - return StreamingState.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 StreamingState findValueByNumber(int number) { + return StreamingState.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.video.livestream.v1.Channel.getDescriptor().getEnumTypes().get(0); } private static final StreamingState[] VALUES = values(); - public static StreamingState valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static StreamingState 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; @@ -507,62 +597,70 @@ private StreamingState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.video.livestream.v1.Channel.StreamingState) } - public interface OutputOrBuilder extends + public interface OutputOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.Channel.Output) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
      * 
* * string uri = 1; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
      * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
      * 
* * string uri = 1; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); } /** + * + * *
    * Location of output file(s) in a Google Cloud Storage bucket.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.Channel.Output} */ - public static final class Output extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Output extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.Channel.Output) OutputOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Output.newBuilder() to construct. private Output(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Output() { uri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Output(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Output( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -581,19 +679,20 @@ private Output( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + uri_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -601,34 +700,39 @@ private Output( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_Output_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_Channel_Output_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.Channel.Output.class, com.google.cloud.video.livestream.v1.Channel.Output.Builder.class); + com.google.cloud.video.livestream.v1.Channel.Output.class, + com.google.cloud.video.livestream.v1.Channel.Output.Builder.class); } public static final int URI_FIELD_NUMBER = 1; private volatile java.lang.Object uri_; /** + * + * *
      * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
      * 
* * string uri = 1; + * * @return The uri. */ @java.lang.Override @@ -637,29 +741,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
      * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
      * 
* * string uri = 1; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -668,6 +772,7 @@ public java.lang.String getUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -679,8 +784,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(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -704,15 +808,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.Channel.Output)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.Channel.Output other = (com.google.cloud.video.livestream.v1.Channel.Output) obj; + com.google.cloud.video.livestream.v1.Channel.Output other = + (com.google.cloud.video.livestream.v1.Channel.Output) obj; - if (!getUri() - .equals(other.getUri())) return false; + if (!getUri().equals(other.getUri())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -732,87 +836,94 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Channel.Output parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.Channel.Output parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.Channel.Output parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.Channel.Output parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.Channel.Output prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.Channel.Output prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -822,27 +933,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Location of output file(s) in a Google Cloud Storage bucket.
      * 
* * Protobuf type {@code google.cloud.video.livestream.v1.Channel.Output} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.Channel.Output) com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_Output_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_Channel_Output_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.Channel.Output.class, com.google.cloud.video.livestream.v1.Channel.Output.Builder.class); + com.google.cloud.video.livestream.v1.Channel.Output.class, + com.google.cloud.video.livestream.v1.Channel.Output.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.Channel.Output.newBuilder() @@ -850,16 +966,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(); @@ -869,9 +984,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor; } @java.lang.Override @@ -890,7 +1005,8 @@ public com.google.cloud.video.livestream.v1.Channel.Output build() { @java.lang.Override public com.google.cloud.video.livestream.v1.Channel.Output buildPartial() { - com.google.cloud.video.livestream.v1.Channel.Output result = new com.google.cloud.video.livestream.v1.Channel.Output(this); + com.google.cloud.video.livestream.v1.Channel.Output result = + new com.google.cloud.video.livestream.v1.Channel.Output(this); result.uri_ = uri_; onBuilt(); return result; @@ -900,38 +1016,41 @@ public com.google.cloud.video.livestream.v1.Channel.Output buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.Channel.Output) { - return mergeFrom((com.google.cloud.video.livestream.v1.Channel.Output)other); + return mergeFrom((com.google.cloud.video.livestream.v1.Channel.Output) other); } else { super.mergeFrom(other); return this; @@ -939,7 +1058,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.Channel.Output other) { - if (other == com.google.cloud.video.livestream.v1.Channel.Output.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.Channel.Output.getDefaultInstance()) + return this; if (!other.getUri().isEmpty()) { uri_ = other.uri_; onChanged(); @@ -963,7 +1083,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.Channel.Output) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.Channel.Output) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -975,18 +1096,20 @@ public Builder mergeFrom( private java.lang.Object uri_ = ""; /** + * + * *
        * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
        * 
* * string uri = 1; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -995,20 +1118,21 @@ public java.lang.String getUri() { } } /** + * + * *
        * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
        * 
* * string uri = 1; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1016,58 +1140,66 @@ public java.lang.String getUri() { } } /** + * + * *
        * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
        * 
* * string uri = 1; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
        * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
        * 
* * string uri = 1; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** + * + * *
        * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
        * 
* * string uri = 1; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1080,12 +1212,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.Channel.Output) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.Channel.Output) private static final com.google.cloud.video.livestream.v1.Channel.Output DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.Channel.Output(); } @@ -1094,16 +1226,16 @@ public static com.google.cloud.video.livestream.v1.Channel.Output getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Output parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Output(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Output parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Output(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1118,18 +1250,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.Channel.Output getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The resource name of the channel, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1138,30 +1272,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the channel, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* * 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 { @@ -1172,11 +1306,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1184,11 +1322,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -1196,11 +1338,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1210,11 +1355,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1222,11 +1371,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -1234,11 +1387,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1246,24 +1402,23 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -1272,28 +1427,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * User-defined key/value metadata.
    * 
@@ -1301,11 +1458,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * User-defined key/value metadata.
    * 
@@ -1313,16 +1471,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * User-defined key/value metadata.
    * 
@@ -1330,12 +1488,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1345,6 +1502,8 @@ public java.lang.String getLabelsOrThrow( public static final int INPUT_ATTACHMENTS_FIELD_NUMBER = 16; private java.util.List inputAttachments_; /** + * + * *
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -1354,10 +1513,13 @@ public java.lang.String getLabelsOrThrow(
    * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;
    */
   @java.lang.Override
-  public java.util.List getInputAttachmentsList() {
+  public java.util.List
+      getInputAttachmentsList() {
     return inputAttachments_;
   }
   /**
+   *
+   *
    * 
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -1367,11 +1529,13 @@ public java.util.List getI
    * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getInputAttachmentsOrBuilderList() {
     return inputAttachments_;
   }
   /**
+   *
+   *
    * 
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -1385,6 +1549,8 @@ public int getInputAttachmentsCount() {
     return inputAttachments_.size();
   }
   /**
+   *
+   *
    * 
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -1398,6 +1564,8 @@ public com.google.cloud.video.livestream.v1.InputAttachment getInputAttachments(
     return inputAttachments_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -1415,12 +1583,15 @@ public com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder getInputAtt
   public static final int ACTIVE_INPUT_FIELD_NUMBER = 6;
   private volatile java.lang.Object activeInput_;
   /**
+   *
+   *
    * 
    * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
    * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
    * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The activeInput. */ @java.lang.Override @@ -1429,30 +1600,30 @@ public java.lang.String getActiveInput() { 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(); activeInput_ = s; return s; } } /** + * + * *
    * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
    * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
    * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for activeInput. */ @java.lang.Override - public com.google.protobuf.ByteString - getActiveInputBytes() { + public com.google.protobuf.ByteString getActiveInputBytes() { java.lang.Object ref = activeInput_; 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); activeInput_ = b; return b; } else { @@ -1463,12 +1634,17 @@ public java.lang.String getActiveInput() { public static final int OUTPUT_FIELD_NUMBER = 9; private com.google.cloud.video.livestream.v1.Channel.Output output_; /** + * + * *
    * Required. Information about the output (that is, the Cloud Storage bucket to store
    * the generated live stream).
    * 
* - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the output field is set. */ @java.lang.Override @@ -1476,25 +1652,36 @@ public boolean hasOutput() { return output_ != null; } /** + * + * *
    * Required. Information about the output (that is, the Cloud Storage bucket to store
    * the generated live stream).
    * 
* - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The output. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Channel.Output getOutput() { - return output_ == null ? com.google.cloud.video.livestream.v1.Channel.Output.getDefaultInstance() : output_; + return output_ == null + ? com.google.cloud.video.livestream.v1.Channel.Output.getDefaultInstance() + : output_; } /** + * + * *
    * Required. Information about the output (that is, the Cloud Storage bucket to store
    * the generated live stream).
    * 
* - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder getOutputOrBuilder() { @@ -1504,66 +1691,84 @@ public com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder getOutputOrB public static final int ELEMENTARY_STREAMS_FIELD_NUMBER = 10; private java.util.List elementaryStreams_; /** + * + * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ @java.lang.Override - public java.util.List getElementaryStreamsList() { + public java.util.List + getElementaryStreamsList() { return elementaryStreams_; } /** + * + * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ @java.lang.Override - public java.util.List + public java.util.List getElementaryStreamsOrBuilderList() { return elementaryStreams_; } /** + * + * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ @java.lang.Override public int getElementaryStreamsCount() { return elementaryStreams_.size(); } /** + * + * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ @java.lang.Override public com.google.cloud.video.livestream.v1.ElementaryStream getElementaryStreams(int index) { return elementaryStreams_.get(index); } /** + * + * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ @java.lang.Override - public com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder getElementaryStreamsOrBuilder( - int index) { + public com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder + getElementaryStreamsOrBuilder(int index) { return elementaryStreams_.get(index); } public static final int MUX_STREAMS_FIELD_NUMBER = 11; private java.util.List muxStreams_; /** + * + * *
    * List of multiplexing settings for output streams.
    * 
@@ -1575,6 +1780,8 @@ public java.util.List getMuxStre return muxStreams_; } /** + * + * *
    * List of multiplexing settings for output streams.
    * 
@@ -1582,11 +1789,13 @@ public java.util.List getMuxStre * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ @java.lang.Override - public java.util.List + public java.util.List getMuxStreamsOrBuilderList() { return muxStreams_; } /** + * + * *
    * List of multiplexing settings for output streams.
    * 
@@ -1598,6 +1807,8 @@ public int getMuxStreamsCount() { return muxStreams_.size(); } /** + * + * *
    * List of multiplexing settings for output streams.
    * 
@@ -1609,6 +1820,8 @@ public com.google.cloud.video.livestream.v1.MuxStream getMuxStreams(int index) { return muxStreams_.get(index); } /** + * + * *
    * List of multiplexing settings for output streams.
    * 
@@ -1616,14 +1829,15 @@ public com.google.cloud.video.livestream.v1.MuxStream getMuxStreams(int index) { * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder( - int index) { + public com.google.cloud.video.livestream.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder(int index) { return muxStreams_.get(index); } public static final int MANIFESTS_FIELD_NUMBER = 12; private java.util.List manifests_; /** + * + * *
    * List of output manifests.
    * 
@@ -1635,6 +1849,8 @@ public java.util.List getManifest return manifests_; } /** + * + * *
    * List of output manifests.
    * 
@@ -1642,11 +1858,13 @@ public java.util.List getManifest * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ @java.lang.Override - public java.util.List + public java.util.List getManifestsOrBuilderList() { return manifests_; } /** + * + * *
    * List of output manifests.
    * 
@@ -1658,6 +1876,8 @@ public int getManifestsCount() { return manifests_.size(); } /** + * + * *
    * List of output manifests.
    * 
@@ -1669,6 +1889,8 @@ public com.google.cloud.video.livestream.v1.Manifest getManifests(int index) { return manifests_.get(index); } /** + * + * *
    * List of output manifests.
    * 
@@ -1676,14 +1898,15 @@ public com.google.cloud.video.livestream.v1.Manifest getManifests(int index) { * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuilder( - int index) { + public com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuilder(int index) { return manifests_.get(index); } public static final int SPRITE_SHEETS_FIELD_NUMBER = 13; private java.util.List spriteSheets_; /** + * + * *
    * List of output sprite sheets.
    * 
@@ -1695,6 +1918,8 @@ public java.util.List getSprit return spriteSheets_; } /** + * + * *
    * List of output sprite sheets.
    * 
@@ -1702,11 +1927,13 @@ public java.util.List getSprit * repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13; */ @java.lang.Override - public java.util.List + public java.util.List getSpriteSheetsOrBuilderList() { return spriteSheets_; } /** + * + * *
    * List of output sprite sheets.
    * 
@@ -1718,6 +1945,8 @@ public int getSpriteSheetsCount() { return spriteSheets_.size(); } /** + * + * *
    * List of output sprite sheets.
    * 
@@ -1729,6 +1958,8 @@ public com.google.cloud.video.livestream.v1.SpriteSheet getSpriteSheets(int inde return spriteSheets_.get(index); } /** + * + * *
    * List of output sprite sheets.
    * 
@@ -1744,40 +1975,59 @@ public com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder getSpriteSheets public static final int STREAMING_STATE_FIELD_NUMBER = 14; private int streamingState_; /** + * + * *
    * Output only. State of the streaming operation.
    * 
* - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for streamingState. */ - @java.lang.Override public int getStreamingStateValue() { + @java.lang.Override + public int getStreamingStateValue() { return streamingState_; } /** + * + * *
    * Output only. State of the streaming operation.
    * 
* - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The streamingState. */ - @java.lang.Override public com.google.cloud.video.livestream.v1.Channel.StreamingState getStreamingState() { + @java.lang.Override + public com.google.cloud.video.livestream.v1.Channel.StreamingState getStreamingState() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Channel.StreamingState result = com.google.cloud.video.livestream.v1.Channel.StreamingState.valueOf(streamingState_); - return result == null ? com.google.cloud.video.livestream.v1.Channel.StreamingState.UNRECOGNIZED : result; + com.google.cloud.video.livestream.v1.Channel.StreamingState result = + com.google.cloud.video.livestream.v1.Channel.StreamingState.valueOf(streamingState_); + return result == null + ? com.google.cloud.video.livestream.v1.Channel.StreamingState.UNRECOGNIZED + : result; } public static final int STREAMING_ERROR_FIELD_NUMBER = 18; private com.google.rpc.Status streamingError_; /** + * + * *
    * Output only. A description of the reason for the streaming error. This property is
    * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
    * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
    * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the streamingError field is set. */ @java.lang.Override @@ -1785,13 +2035,17 @@ public boolean hasStreamingError() { return streamingError_ != null; } /** + * + * *
    * Output only. A description of the reason for the streaming error. This property is
    * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
    * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
    * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The streamingError. */ @java.lang.Override @@ -1799,13 +2053,16 @@ public com.google.rpc.Status getStreamingError() { return streamingError_ == null ? com.google.rpc.Status.getDefaultInstance() : streamingError_; } /** + * + * *
    * Output only. A description of the reason for the streaming error. This property is
    * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
    * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
    * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.rpc.StatusOrBuilder getStreamingErrorOrBuilder() { @@ -1815,11 +2072,14 @@ public com.google.rpc.StatusOrBuilder getStreamingErrorOrBuilder() { public static final int LOG_CONFIG_FIELD_NUMBER = 19; private com.google.cloud.video.livestream.v1.LogConfig logConfig_; /** + * + * *
    * Configuration of platform logs for this channel.
    * 
* * .google.cloud.video.livestream.v1.LogConfig log_config = 19; + * * @return Whether the logConfig field is set. */ @java.lang.Override @@ -1827,18 +2087,25 @@ public boolean hasLogConfig() { return logConfig_ != null; } /** + * + * *
    * Configuration of platform logs for this channel.
    * 
* * .google.cloud.video.livestream.v1.LogConfig log_config = 19; + * * @return The logConfig. */ @java.lang.Override public com.google.cloud.video.livestream.v1.LogConfig getLogConfig() { - return logConfig_ == null ? com.google.cloud.video.livestream.v1.LogConfig.getDefaultInstance() : logConfig_; + return logConfig_ == null + ? com.google.cloud.video.livestream.v1.LogConfig.getDefaultInstance() + : logConfig_; } /** + * + * *
    * Configuration of platform logs for this channel.
    * 
@@ -1851,6 +2118,7 @@ public com.google.cloud.video.livestream.v1.LogConfigOrBuilder getLogConfigOrBui } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1862,8 +2130,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_); } @@ -1873,12 +2140,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(activeInput_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, activeInput_); } @@ -1897,7 +2160,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < spriteSheets_.size(); i++) { output.writeMessage(13, spriteSheets_.get(i)); } - if (streamingState_ != com.google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_STATE_UNSPECIFIED.getNumber()) { + if (streamingState_ + != com.google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(14, streamingState_); } for (int i = 0; i < inputAttachments_.size(); i++) { @@ -1922,61 +2187,54 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(activeInput_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, activeInput_); } if (output_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getOutput()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getOutput()); } for (int i = 0; i < elementaryStreams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, elementaryStreams_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(10, elementaryStreams_.get(i)); } for (int i = 0; i < muxStreams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, muxStreams_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, muxStreams_.get(i)); } for (int i = 0; i < manifests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, manifests_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, manifests_.get(i)); } for (int i = 0; i < spriteSheets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, spriteSheets_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, spriteSheets_.get(i)); } - if (streamingState_ != com.google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(14, streamingState_); + if (streamingState_ + != com.google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, streamingState_); } for (int i = 0; i < inputAttachments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, inputAttachments_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(16, inputAttachments_.get(i)); } if (streamingError_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, getStreamingError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getStreamingError()); } if (logConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getLogConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getLogConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1986,54 +2244,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.Channel)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.Channel other = (com.google.cloud.video.livestream.v1.Channel) obj; + com.google.cloud.video.livestream.v1.Channel other = + (com.google.cloud.video.livestream.v1.Channel) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; - } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getInputAttachmentsList() - .equals(other.getInputAttachmentsList())) return false; - if (!getActiveInput() - .equals(other.getActiveInput())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getInputAttachmentsList().equals(other.getInputAttachmentsList())) return false; + if (!getActiveInput().equals(other.getActiveInput())) return false; if (hasOutput() != other.hasOutput()) return false; if (hasOutput()) { - if (!getOutput() - .equals(other.getOutput())) return false; - } - if (!getElementaryStreamsList() - .equals(other.getElementaryStreamsList())) return false; - if (!getMuxStreamsList() - .equals(other.getMuxStreamsList())) return false; - if (!getManifestsList() - .equals(other.getManifestsList())) return false; - if (!getSpriteSheetsList() - .equals(other.getSpriteSheetsList())) return false; + if (!getOutput().equals(other.getOutput())) return false; + } + if (!getElementaryStreamsList().equals(other.getElementaryStreamsList())) return false; + if (!getMuxStreamsList().equals(other.getMuxStreamsList())) return false; + if (!getManifestsList().equals(other.getManifestsList())) return false; + if (!getSpriteSheetsList().equals(other.getSpriteSheetsList())) return false; if (streamingState_ != other.streamingState_) return false; if (hasStreamingError() != other.hasStreamingError()) return false; if (hasStreamingError()) { - if (!getStreamingError() - .equals(other.getStreamingError())) return false; + if (!getStreamingError().equals(other.getStreamingError())) return false; } if (hasLogConfig() != other.hasLogConfig()) return false; if (hasLogConfig()) { - if (!getLogConfig() - .equals(other.getLogConfig())) return false; + if (!getLogConfig().equals(other.getLogConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2101,97 +2347,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.Channel parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.Channel parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.Channel parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.Channel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.Channel parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.Channel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.Channel parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.Channel parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.Channel parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Channel parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.Channel parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.Channel parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.Channel parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.Channel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.video.livestream.v1.Channel prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Channel resource represents the processor that does a user-defined
    * "streaming" operation, which includes getting an input stream through an
@@ -2202,43 +2455,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.video.livestream.v1.Channel}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.Channel)
       com.google.cloud.video.livestream.v1.ChannelOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto
+          .internal_static_google_cloud_video_livestream_v1_Channel_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_fieldAccessorTable
+      return com.google.cloud.video.livestream.v1.ResourcesProto
+          .internal_static_google_cloud_video_livestream_v1_Channel_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.livestream.v1.Channel.class, com.google.cloud.video.livestream.v1.Channel.Builder.class);
+              com.google.cloud.video.livestream.v1.Channel.class,
+              com.google.cloud.video.livestream.v1.Channel.Builder.class);
     }
 
     // Construct using com.google.cloud.video.livestream.v1.Channel.newBuilder()
@@ -2246,14 +2499,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) {
         getInputAttachmentsFieldBuilder();
         getElementaryStreamsFieldBuilder();
         getMuxStreamsFieldBuilder();
@@ -2261,6 +2513,7 @@ private void maybeForceBuilderInitialization() {
         getSpriteSheetsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2335,9 +2588,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Channel_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto
+          .internal_static_google_cloud_video_livestream_v1_Channel_descriptor;
     }
 
     @java.lang.Override
@@ -2356,7 +2609,8 @@ public com.google.cloud.video.livestream.v1.Channel build() {
 
     @java.lang.Override
     public com.google.cloud.video.livestream.v1.Channel buildPartial() {
-      com.google.cloud.video.livestream.v1.Channel result = new com.google.cloud.video.livestream.v1.Channel(this);
+      com.google.cloud.video.livestream.v1.Channel result =
+          new com.google.cloud.video.livestream.v1.Channel(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (createTimeBuilder_ == null) {
@@ -2441,38 +2695,39 @@ public com.google.cloud.video.livestream.v1.Channel buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.video.livestream.v1.Channel) {
-        return mergeFrom((com.google.cloud.video.livestream.v1.Channel)other);
+        return mergeFrom((com.google.cloud.video.livestream.v1.Channel) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2491,8 +2746,7 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Channel other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       if (inputAttachmentsBuilder_ == null) {
         if (!other.inputAttachments_.isEmpty()) {
           if (inputAttachments_.isEmpty()) {
@@ -2511,9 +2765,10 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Channel other) {
             inputAttachmentsBuilder_ = null;
             inputAttachments_ = other.inputAttachments_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            inputAttachmentsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getInputAttachmentsFieldBuilder() : null;
+            inputAttachmentsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getInputAttachmentsFieldBuilder()
+                    : null;
           } else {
             inputAttachmentsBuilder_.addAllMessages(other.inputAttachments_);
           }
@@ -2544,9 +2799,10 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Channel other) {
             elementaryStreamsBuilder_ = null;
             elementaryStreams_ = other.elementaryStreams_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            elementaryStreamsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getElementaryStreamsFieldBuilder() : null;
+            elementaryStreamsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getElementaryStreamsFieldBuilder()
+                    : null;
           } else {
             elementaryStreamsBuilder_.addAllMessages(other.elementaryStreams_);
           }
@@ -2570,9 +2826,10 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Channel other) {
             muxStreamsBuilder_ = null;
             muxStreams_ = other.muxStreams_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            muxStreamsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getMuxStreamsFieldBuilder() : null;
+            muxStreamsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getMuxStreamsFieldBuilder()
+                    : null;
           } else {
             muxStreamsBuilder_.addAllMessages(other.muxStreams_);
           }
@@ -2596,9 +2853,10 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Channel other) {
             manifestsBuilder_ = null;
             manifests_ = other.manifests_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            manifestsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getManifestsFieldBuilder() : null;
+            manifestsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getManifestsFieldBuilder()
+                    : null;
           } else {
             manifestsBuilder_.addAllMessages(other.manifests_);
           }
@@ -2622,9 +2880,10 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Channel other) {
             spriteSheetsBuilder_ = null;
             spriteSheets_ = other.spriteSheets_;
             bitField0_ = (bitField0_ & ~0x00000020);
-            spriteSheetsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSpriteSheetsFieldBuilder() : null;
+            spriteSheetsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSpriteSheetsFieldBuilder()
+                    : null;
           } else {
             spriteSheetsBuilder_.addAllMessages(other.spriteSheets_);
           }
@@ -2667,23 +2926,26 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the channel, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* * 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; @@ -2692,21 +2954,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the channel, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* * 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 { @@ -2714,57 +2977,64 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the channel, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* * 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 channel, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The resource name of the channel, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* * 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; @@ -2772,39 +3042,58 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2820,14 +3109,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2838,17 +3130,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2860,11 +3156,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2878,48 +3178,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2927,39 +3243,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2975,14 +3310,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - 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(); @@ -2993,17 +3331,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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; } @@ -3015,11 +3357,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -3033,69 +3379,84 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3107,28 +3468,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * User-defined key/value metadata.
      * 
@@ -3136,11 +3499,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * User-defined key/value metadata.
      * 
@@ -3148,16 +3512,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * User-defined key/value metadata.
      * 
@@ -3165,12 +3530,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3178,89 +3542,96 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } private java.util.List inputAttachments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInputAttachmentsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - inputAttachments_ = new java.util.ArrayList(inputAttachments_); + inputAttachments_ = + new java.util.ArrayList( + inputAttachments_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputAttachment, com.google.cloud.video.livestream.v1.InputAttachment.Builder, com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder> inputAttachmentsBuilder_; + com.google.cloud.video.livestream.v1.InputAttachment, + com.google.cloud.video.livestream.v1.InputAttachment.Builder, + com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder> + inputAttachmentsBuilder_; /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ - public java.util.List getInputAttachmentsList() { + public java.util.List + getInputAttachmentsList() { if (inputAttachmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(inputAttachments_); } else { @@ -3268,13 +3639,16 @@ public java.util.List getI } } /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ public int getInputAttachmentsCount() { if (inputAttachmentsBuilder_ == null) { @@ -3284,13 +3658,16 @@ public int getInputAttachmentsCount() { } } /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ public com.google.cloud.video.livestream.v1.InputAttachment getInputAttachments(int index) { if (inputAttachmentsBuilder_ == null) { @@ -3300,13 +3677,16 @@ public com.google.cloud.video.livestream.v1.InputAttachment getInputAttachments( } } /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ public Builder setInputAttachments( int index, com.google.cloud.video.livestream.v1.InputAttachment value) { @@ -3323,13 +3703,16 @@ public Builder setInputAttachments( return this; } /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ public Builder setInputAttachments( int index, com.google.cloud.video.livestream.v1.InputAttachment.Builder builderForValue) { @@ -3343,13 +3726,16 @@ public Builder setInputAttachments( return this; } /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ public Builder addInputAttachments(com.google.cloud.video.livestream.v1.InputAttachment value) { if (inputAttachmentsBuilder_ == null) { @@ -3365,13 +3751,16 @@ public Builder addInputAttachments(com.google.cloud.video.livestream.v1.InputAtt return this; } /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ public Builder addInputAttachments( int index, com.google.cloud.video.livestream.v1.InputAttachment value) { @@ -3388,13 +3777,16 @@ public Builder addInputAttachments( return this; } /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ public Builder addInputAttachments( com.google.cloud.video.livestream.v1.InputAttachment.Builder builderForValue) { @@ -3408,13 +3800,16 @@ public Builder addInputAttachments( return this; } /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ public Builder addInputAttachments( int index, com.google.cloud.video.livestream.v1.InputAttachment.Builder builderForValue) { @@ -3428,20 +3823,22 @@ public Builder addInputAttachments( return this; } /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ public Builder addAllInputAttachments( java.lang.Iterable values) { if (inputAttachmentsBuilder_ == null) { ensureInputAttachmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, inputAttachments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inputAttachments_); onChanged(); } else { inputAttachmentsBuilder_.addAllMessages(values); @@ -3449,13 +3846,16 @@ public Builder addAllInputAttachments( return this; } /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ public Builder clearInputAttachments() { if (inputAttachmentsBuilder_ == null) { @@ -3468,13 +3868,16 @@ public Builder clearInputAttachments() { return this; } /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ public Builder removeInputAttachments(int index) { if (inputAttachmentsBuilder_ == null) { @@ -3487,45 +3890,55 @@ public Builder removeInputAttachments(int index) { return this; } /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ public com.google.cloud.video.livestream.v1.InputAttachment.Builder getInputAttachmentsBuilder( int index) { return getInputAttachmentsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ - public com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder getInputAttachmentsOrBuilder( - int index) { + public com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder + getInputAttachmentsOrBuilder(int index) { if (inputAttachmentsBuilder_ == null) { - return inputAttachments_.get(index); } else { + return inputAttachments_.get(index); + } else { return inputAttachmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ - public java.util.List - getInputAttachmentsOrBuilderList() { + public java.util.List + getInputAttachmentsOrBuilderList() { if (inputAttachmentsBuilder_ != null) { return inputAttachmentsBuilder_.getMessageOrBuilderList(); } else { @@ -3533,51 +3946,68 @@ public com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder getInputAtt } } /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ - public com.google.cloud.video.livestream.v1.InputAttachment.Builder addInputAttachmentsBuilder() { - return getInputAttachmentsFieldBuilder().addBuilder( - com.google.cloud.video.livestream.v1.InputAttachment.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.InputAttachment.Builder + addInputAttachmentsBuilder() { + return getInputAttachmentsFieldBuilder() + .addBuilder(com.google.cloud.video.livestream.v1.InputAttachment.getDefaultInstance()); } /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ public com.google.cloud.video.livestream.v1.InputAttachment.Builder addInputAttachmentsBuilder( int index) { - return getInputAttachmentsFieldBuilder().addBuilder( - index, com.google.cloud.video.livestream.v1.InputAttachment.getDefaultInstance()); + return getInputAttachmentsFieldBuilder() + .addBuilder( + index, com.google.cloud.video.livestream.v1.InputAttachment.getDefaultInstance()); } /** + * + * *
      * A list of input attachments that this channel uses.
      * One channel can have multiple inputs as the input sources. Only one
      * input can be selected as the input source at one time.
      * 
* - * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16; + * */ - public java.util.List - getInputAttachmentsBuilderList() { + public java.util.List + getInputAttachmentsBuilderList() { return getInputAttachmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputAttachment, com.google.cloud.video.livestream.v1.InputAttachment.Builder, com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder> + com.google.cloud.video.livestream.v1.InputAttachment, + com.google.cloud.video.livestream.v1.InputAttachment.Builder, + com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder> getInputAttachmentsFieldBuilder() { if (inputAttachmentsBuilder_ == null) { - inputAttachmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputAttachment, com.google.cloud.video.livestream.v1.InputAttachment.Builder, com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder>( + inputAttachmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.InputAttachment, + com.google.cloud.video.livestream.v1.InputAttachment.Builder, + com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder>( inputAttachments_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -3589,19 +4019,21 @@ public com.google.cloud.video.livestream.v1.InputAttachment.Builder addInputAtta private java.lang.Object activeInput_ = ""; /** + * + * *
      * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
      * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
      * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The activeInput. */ public java.lang.String getActiveInput() { java.lang.Object ref = activeInput_; 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(); activeInput_ = s; return s; @@ -3610,21 +4042,22 @@ public java.lang.String getActiveInput() { } } /** + * + * *
      * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
      * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
      * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for activeInput. */ - public com.google.protobuf.ByteString - getActiveInputBytes() { + public com.google.protobuf.ByteString getActiveInputBytes() { java.lang.Object ref = activeInput_; 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); activeInput_ = b; return b; } else { @@ -3632,57 +4065,64 @@ public java.lang.String getActiveInput() { } } /** + * + * *
      * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
      * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
      * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The activeInput to set. * @return This builder for chaining. */ - public Builder setActiveInput( - java.lang.String value) { + public Builder setActiveInput(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + activeInput_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
      * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
      * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearActiveInput() { - + activeInput_ = getDefaultInstance().getActiveInput(); onChanged(); return this; } /** + * + * *
      * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
      * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
      * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for activeInput to set. * @return This builder for chaining. */ - public Builder setActiveInputBytes( - com.google.protobuf.ByteString value) { + public Builder setActiveInputBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + activeInput_ = value; onChanged(); return this; @@ -3690,42 +4130,61 @@ public Builder setActiveInputBytes( private com.google.cloud.video.livestream.v1.Channel.Output output_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel.Output, com.google.cloud.video.livestream.v1.Channel.Output.Builder, com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder> outputBuilder_; + com.google.cloud.video.livestream.v1.Channel.Output, + com.google.cloud.video.livestream.v1.Channel.Output.Builder, + com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder> + outputBuilder_; /** + * + * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the output field is set. */ public boolean hasOutput() { return outputBuilder_ != null || output_ != null; } /** + * + * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The output. */ public com.google.cloud.video.livestream.v1.Channel.Output getOutput() { if (outputBuilder_ == null) { - return output_ == null ? com.google.cloud.video.livestream.v1.Channel.Output.getDefaultInstance() : output_; + return output_ == null + ? com.google.cloud.video.livestream.v1.Channel.Output.getDefaultInstance() + : output_; } else { return outputBuilder_.getMessage(); } } /** + * + * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutput(com.google.cloud.video.livestream.v1.Channel.Output value) { if (outputBuilder_ == null) { @@ -3741,12 +4200,16 @@ public Builder setOutput(com.google.cloud.video.livestream.v1.Channel.Output val return this; } /** + * + * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutput( com.google.cloud.video.livestream.v1.Channel.Output.Builder builderForValue) { @@ -3760,18 +4223,24 @@ public Builder setOutput( return this; } /** + * + * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeOutput(com.google.cloud.video.livestream.v1.Channel.Output value) { if (outputBuilder_ == null) { if (output_ != null) { output_ = - com.google.cloud.video.livestream.v1.Channel.Output.newBuilder(output_).mergeFrom(value).buildPartial(); + com.google.cloud.video.livestream.v1.Channel.Output.newBuilder(output_) + .mergeFrom(value) + .buildPartial(); } else { output_ = value; } @@ -3783,12 +4252,16 @@ public Builder mergeOutput(com.google.cloud.video.livestream.v1.Channel.Output v return this; } /** + * + * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOutput() { if (outputBuilder_ == null) { @@ -3802,76 +4275,102 @@ public Builder clearOutput() { return this; } /** + * + * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.video.livestream.v1.Channel.Output.Builder getOutputBuilder() { - + onChanged(); return getOutputFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder getOutputOrBuilder() { if (outputBuilder_ != null) { return outputBuilder_.getMessageOrBuilder(); } else { - return output_ == null ? - com.google.cloud.video.livestream.v1.Channel.Output.getDefaultInstance() : output_; + return output_ == null + ? com.google.cloud.video.livestream.v1.Channel.Output.getDefaultInstance() + : output_; } } /** + * + * *
      * Required. Information about the output (that is, the Cloud Storage bucket to store
      * the generated live stream).
      * 
* - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel.Output, com.google.cloud.video.livestream.v1.Channel.Output.Builder, com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder> + com.google.cloud.video.livestream.v1.Channel.Output, + com.google.cloud.video.livestream.v1.Channel.Output.Builder, + com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder> getOutputFieldBuilder() { if (outputBuilder_ == null) { - outputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel.Output, com.google.cloud.video.livestream.v1.Channel.Output.Builder, com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder>( - getOutput(), - getParentForChildren(), - isClean()); + outputBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.Channel.Output, + com.google.cloud.video.livestream.v1.Channel.Output.Builder, + com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder>( + getOutput(), getParentForChildren(), isClean()); output_ = null; } return outputBuilder_; } - private java.util.List elementaryStreams_ = - java.util.Collections.emptyList(); + private java.util.List + elementaryStreams_ = java.util.Collections.emptyList(); + private void ensureElementaryStreamsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - elementaryStreams_ = new java.util.ArrayList(elementaryStreams_); + elementaryStreams_ = + new java.util.ArrayList( + elementaryStreams_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.ElementaryStream, com.google.cloud.video.livestream.v1.ElementaryStream.Builder, com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder> elementaryStreamsBuilder_; + com.google.cloud.video.livestream.v1.ElementaryStream, + com.google.cloud.video.livestream.v1.ElementaryStream.Builder, + com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder> + elementaryStreamsBuilder_; /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ - public java.util.List getElementaryStreamsList() { + public java.util.List + getElementaryStreamsList() { if (elementaryStreamsBuilder_ == null) { return java.util.Collections.unmodifiableList(elementaryStreams_); } else { @@ -3879,11 +4378,14 @@ public java.util.List get } } /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ public int getElementaryStreamsCount() { if (elementaryStreamsBuilder_ == null) { @@ -3893,11 +4395,14 @@ public int getElementaryStreamsCount() { } } /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ public com.google.cloud.video.livestream.v1.ElementaryStream getElementaryStreams(int index) { if (elementaryStreamsBuilder_ == null) { @@ -3907,11 +4412,14 @@ public com.google.cloud.video.livestream.v1.ElementaryStream getElementaryStream } } /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ public Builder setElementaryStreams( int index, com.google.cloud.video.livestream.v1.ElementaryStream value) { @@ -3928,11 +4436,14 @@ public Builder setElementaryStreams( return this; } /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ public Builder setElementaryStreams( int index, com.google.cloud.video.livestream.v1.ElementaryStream.Builder builderForValue) { @@ -3946,13 +4457,17 @@ public Builder setElementaryStreams( return this; } /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ - public Builder addElementaryStreams(com.google.cloud.video.livestream.v1.ElementaryStream value) { + public Builder addElementaryStreams( + com.google.cloud.video.livestream.v1.ElementaryStream value) { if (elementaryStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3966,11 +4481,14 @@ public Builder addElementaryStreams(com.google.cloud.video.livestream.v1.Element return this; } /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ public Builder addElementaryStreams( int index, com.google.cloud.video.livestream.v1.ElementaryStream value) { @@ -3987,11 +4505,14 @@ public Builder addElementaryStreams( return this; } /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ public Builder addElementaryStreams( com.google.cloud.video.livestream.v1.ElementaryStream.Builder builderForValue) { @@ -4005,11 +4526,14 @@ public Builder addElementaryStreams( return this; } /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ public Builder addElementaryStreams( int index, com.google.cloud.video.livestream.v1.ElementaryStream.Builder builderForValue) { @@ -4023,18 +4547,21 @@ public Builder addElementaryStreams( return this; } /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ public Builder addAllElementaryStreams( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (elementaryStreamsBuilder_ == null) { ensureElementaryStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, elementaryStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, elementaryStreams_); onChanged(); } else { elementaryStreamsBuilder_.addAllMessages(values); @@ -4042,11 +4569,14 @@ public Builder addAllElementaryStreams( return this; } /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ public Builder clearElementaryStreams() { if (elementaryStreamsBuilder_ == null) { @@ -4059,11 +4589,14 @@ public Builder clearElementaryStreams() { return this; } /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ public Builder removeElementaryStreams(int index) { if (elementaryStreamsBuilder_ == null) { @@ -4076,39 +4609,49 @@ public Builder removeElementaryStreams(int index) { return this; } /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ - public com.google.cloud.video.livestream.v1.ElementaryStream.Builder getElementaryStreamsBuilder( - int index) { + public com.google.cloud.video.livestream.v1.ElementaryStream.Builder + getElementaryStreamsBuilder(int index) { return getElementaryStreamsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ - public com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder getElementaryStreamsOrBuilder( - int index) { + public com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder + getElementaryStreamsOrBuilder(int index) { if (elementaryStreamsBuilder_ == null) { - return elementaryStreams_.get(index); } else { + return elementaryStreams_.get(index); + } else { return elementaryStreamsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ - public java.util.List - getElementaryStreamsOrBuilderList() { + public java.util.List + getElementaryStreamsOrBuilderList() { if (elementaryStreamsBuilder_ != null) { return elementaryStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -4116,45 +4659,62 @@ public com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder getElement } } /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ - public com.google.cloud.video.livestream.v1.ElementaryStream.Builder addElementaryStreamsBuilder() { - return getElementaryStreamsFieldBuilder().addBuilder( - com.google.cloud.video.livestream.v1.ElementaryStream.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.ElementaryStream.Builder + addElementaryStreamsBuilder() { + return getElementaryStreamsFieldBuilder() + .addBuilder(com.google.cloud.video.livestream.v1.ElementaryStream.getDefaultInstance()); } /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ - public com.google.cloud.video.livestream.v1.ElementaryStream.Builder addElementaryStreamsBuilder( - int index) { - return getElementaryStreamsFieldBuilder().addBuilder( - index, com.google.cloud.video.livestream.v1.ElementaryStream.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.ElementaryStream.Builder + addElementaryStreamsBuilder(int index) { + return getElementaryStreamsFieldBuilder() + .addBuilder( + index, com.google.cloud.video.livestream.v1.ElementaryStream.getDefaultInstance()); } /** + * + * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ - public java.util.List - getElementaryStreamsBuilderList() { + public java.util.List + getElementaryStreamsBuilderList() { return getElementaryStreamsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.ElementaryStream, com.google.cloud.video.livestream.v1.ElementaryStream.Builder, com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder> + com.google.cloud.video.livestream.v1.ElementaryStream, + com.google.cloud.video.livestream.v1.ElementaryStream.Builder, + com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder> getElementaryStreamsFieldBuilder() { if (elementaryStreamsBuilder_ == null) { - elementaryStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.ElementaryStream, com.google.cloud.video.livestream.v1.ElementaryStream.Builder, com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder>( + elementaryStreamsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.ElementaryStream, + com.google.cloud.video.livestream.v1.ElementaryStream.Builder, + com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder>( elementaryStreams_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -4165,18 +4725,25 @@ public com.google.cloud.video.livestream.v1.ElementaryStream.Builder addElementa } private java.util.List muxStreams_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMuxStreamsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - muxStreams_ = new java.util.ArrayList(muxStreams_); + muxStreams_ = + new java.util.ArrayList(muxStreams_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.MuxStream, com.google.cloud.video.livestream.v1.MuxStream.Builder, com.google.cloud.video.livestream.v1.MuxStreamOrBuilder> muxStreamsBuilder_; + com.google.cloud.video.livestream.v1.MuxStream, + com.google.cloud.video.livestream.v1.MuxStream.Builder, + com.google.cloud.video.livestream.v1.MuxStreamOrBuilder> + muxStreamsBuilder_; /** + * + * *
      * List of multiplexing settings for output streams.
      * 
@@ -4191,6 +4758,8 @@ public java.util.List getMuxStre } } /** + * + * *
      * List of multiplexing settings for output streams.
      * 
@@ -4205,6 +4774,8 @@ public int getMuxStreamsCount() { } } /** + * + * *
      * List of multiplexing settings for output streams.
      * 
@@ -4219,14 +4790,15 @@ public com.google.cloud.video.livestream.v1.MuxStream getMuxStreams(int index) { } } /** + * + * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - public Builder setMuxStreams( - int index, com.google.cloud.video.livestream.v1.MuxStream value) { + public Builder setMuxStreams(int index, com.google.cloud.video.livestream.v1.MuxStream value) { if (muxStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4240,6 +4812,8 @@ public Builder setMuxStreams( return this; } /** + * + * *
      * List of multiplexing settings for output streams.
      * 
@@ -4258,6 +4832,8 @@ public Builder setMuxStreams( return this; } /** + * + * *
      * List of multiplexing settings for output streams.
      * 
@@ -4278,14 +4854,15 @@ public Builder addMuxStreams(com.google.cloud.video.livestream.v1.MuxStream valu return this; } /** + * + * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - public Builder addMuxStreams( - int index, com.google.cloud.video.livestream.v1.MuxStream value) { + public Builder addMuxStreams(int index, com.google.cloud.video.livestream.v1.MuxStream value) { if (muxStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4299,6 +4876,8 @@ public Builder addMuxStreams( return this; } /** + * + * *
      * List of multiplexing settings for output streams.
      * 
@@ -4317,6 +4896,8 @@ public Builder addMuxStreams( return this; } /** + * + * *
      * List of multiplexing settings for output streams.
      * 
@@ -4335,6 +4916,8 @@ public Builder addMuxStreams( return this; } /** + * + * *
      * List of multiplexing settings for output streams.
      * 
@@ -4345,8 +4928,7 @@ public Builder addAllMuxStreams( java.lang.Iterable values) { if (muxStreamsBuilder_ == null) { ensureMuxStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, muxStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, muxStreams_); onChanged(); } else { muxStreamsBuilder_.addAllMessages(values); @@ -4354,6 +4936,8 @@ public Builder addAllMuxStreams( return this; } /** + * + * *
      * List of multiplexing settings for output streams.
      * 
@@ -4371,6 +4955,8 @@ public Builder clearMuxStreams() { return this; } /** + * + * *
      * List of multiplexing settings for output streams.
      * 
@@ -4388,17 +4974,20 @@ public Builder removeMuxStreams(int index) { return this; } /** + * + * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - public com.google.cloud.video.livestream.v1.MuxStream.Builder getMuxStreamsBuilder( - int index) { + public com.google.cloud.video.livestream.v1.MuxStream.Builder getMuxStreamsBuilder(int index) { return getMuxStreamsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of multiplexing settings for output streams.
      * 
@@ -4408,19 +4997,22 @@ public com.google.cloud.video.livestream.v1.MuxStream.Builder getMuxStreamsBuild public com.google.cloud.video.livestream.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder( int index) { if (muxStreamsBuilder_ == null) { - return muxStreams_.get(index); } else { + return muxStreams_.get(index); + } else { return muxStreamsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - public java.util.List - getMuxStreamsOrBuilderList() { + public java.util.List + getMuxStreamsOrBuilderList() { if (muxStreamsBuilder_ != null) { return muxStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -4428,6 +5020,8 @@ public com.google.cloud.video.livestream.v1.MuxStreamOrBuilder getMuxStreamsOrBu } } /** + * + * *
      * List of multiplexing settings for output streams.
      * 
@@ -4435,60 +5029,73 @@ public com.google.cloud.video.livestream.v1.MuxStreamOrBuilder getMuxStreamsOrBu * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ public com.google.cloud.video.livestream.v1.MuxStream.Builder addMuxStreamsBuilder() { - return getMuxStreamsFieldBuilder().addBuilder( - com.google.cloud.video.livestream.v1.MuxStream.getDefaultInstance()); + return getMuxStreamsFieldBuilder() + .addBuilder(com.google.cloud.video.livestream.v1.MuxStream.getDefaultInstance()); } /** + * + * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - public com.google.cloud.video.livestream.v1.MuxStream.Builder addMuxStreamsBuilder( - int index) { - return getMuxStreamsFieldBuilder().addBuilder( - index, com.google.cloud.video.livestream.v1.MuxStream.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.MuxStream.Builder addMuxStreamsBuilder(int index) { + return getMuxStreamsFieldBuilder() + .addBuilder(index, com.google.cloud.video.livestream.v1.MuxStream.getDefaultInstance()); } /** + * + * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - public java.util.List - getMuxStreamsBuilderList() { + public java.util.List + getMuxStreamsBuilderList() { return getMuxStreamsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.MuxStream, com.google.cloud.video.livestream.v1.MuxStream.Builder, com.google.cloud.video.livestream.v1.MuxStreamOrBuilder> + com.google.cloud.video.livestream.v1.MuxStream, + com.google.cloud.video.livestream.v1.MuxStream.Builder, + com.google.cloud.video.livestream.v1.MuxStreamOrBuilder> getMuxStreamsFieldBuilder() { if (muxStreamsBuilder_ == null) { - muxStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.MuxStream, com.google.cloud.video.livestream.v1.MuxStream.Builder, com.google.cloud.video.livestream.v1.MuxStreamOrBuilder>( - muxStreams_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + muxStreamsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.MuxStream, + com.google.cloud.video.livestream.v1.MuxStream.Builder, + com.google.cloud.video.livestream.v1.MuxStreamOrBuilder>( + muxStreams_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); muxStreams_ = null; } return muxStreamsBuilder_; } private java.util.List manifests_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureManifestsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - manifests_ = new java.util.ArrayList(manifests_); + manifests_ = + new java.util.ArrayList(manifests_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Manifest, com.google.cloud.video.livestream.v1.Manifest.Builder, com.google.cloud.video.livestream.v1.ManifestOrBuilder> manifestsBuilder_; + com.google.cloud.video.livestream.v1.Manifest, + com.google.cloud.video.livestream.v1.Manifest.Builder, + com.google.cloud.video.livestream.v1.ManifestOrBuilder> + manifestsBuilder_; /** + * + * *
      * List of output manifests.
      * 
@@ -4503,6 +5110,8 @@ public java.util.List getManifest } } /** + * + * *
      * List of output manifests.
      * 
@@ -4517,6 +5126,8 @@ public int getManifestsCount() { } } /** + * + * *
      * List of output manifests.
      * 
@@ -4531,14 +5142,15 @@ public com.google.cloud.video.livestream.v1.Manifest getManifests(int index) { } } /** + * + * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - public Builder setManifests( - int index, com.google.cloud.video.livestream.v1.Manifest value) { + public Builder setManifests(int index, com.google.cloud.video.livestream.v1.Manifest value) { if (manifestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4552,6 +5164,8 @@ public Builder setManifests( return this; } /** + * + * *
      * List of output manifests.
      * 
@@ -4570,6 +5184,8 @@ public Builder setManifests( return this; } /** + * + * *
      * List of output manifests.
      * 
@@ -4590,14 +5206,15 @@ public Builder addManifests(com.google.cloud.video.livestream.v1.Manifest value) return this; } /** + * + * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - public Builder addManifests( - int index, com.google.cloud.video.livestream.v1.Manifest value) { + public Builder addManifests(int index, com.google.cloud.video.livestream.v1.Manifest value) { if (manifestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4611,6 +5228,8 @@ public Builder addManifests( return this; } /** + * + * *
      * List of output manifests.
      * 
@@ -4629,6 +5248,8 @@ public Builder addManifests( return this; } /** + * + * *
      * List of output manifests.
      * 
@@ -4647,6 +5268,8 @@ public Builder addManifests( return this; } /** + * + * *
      * List of output manifests.
      * 
@@ -4657,8 +5280,7 @@ public Builder addAllManifests( java.lang.Iterable values) { if (manifestsBuilder_ == null) { ensureManifestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, manifests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, manifests_); onChanged(); } else { manifestsBuilder_.addAllMessages(values); @@ -4666,6 +5288,8 @@ public Builder addAllManifests( return this; } /** + * + * *
      * List of output manifests.
      * 
@@ -4683,6 +5307,8 @@ public Builder clearManifests() { return this; } /** + * + * *
      * List of output manifests.
      * 
@@ -4700,39 +5326,44 @@ public Builder removeManifests(int index) { return this; } /** + * + * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - public com.google.cloud.video.livestream.v1.Manifest.Builder getManifestsBuilder( - int index) { + public com.google.cloud.video.livestream.v1.Manifest.Builder getManifestsBuilder(int index) { return getManifestsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - public com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuilder( - int index) { + public com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuilder(int index) { if (manifestsBuilder_ == null) { - return manifests_.get(index); } else { + return manifests_.get(index); + } else { return manifestsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - public java.util.List - getManifestsOrBuilderList() { + public java.util.List + getManifestsOrBuilderList() { if (manifestsBuilder_ != null) { return manifestsBuilder_.getMessageOrBuilderList(); } else { @@ -4740,6 +5371,8 @@ public com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuil } } /** + * + * *
      * List of output manifests.
      * 
@@ -4747,60 +5380,74 @@ public com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuil * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ public com.google.cloud.video.livestream.v1.Manifest.Builder addManifestsBuilder() { - return getManifestsFieldBuilder().addBuilder( - com.google.cloud.video.livestream.v1.Manifest.getDefaultInstance()); + return getManifestsFieldBuilder() + .addBuilder(com.google.cloud.video.livestream.v1.Manifest.getDefaultInstance()); } /** + * + * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - public com.google.cloud.video.livestream.v1.Manifest.Builder addManifestsBuilder( - int index) { - return getManifestsFieldBuilder().addBuilder( - index, com.google.cloud.video.livestream.v1.Manifest.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.Manifest.Builder addManifestsBuilder(int index) { + return getManifestsFieldBuilder() + .addBuilder(index, com.google.cloud.video.livestream.v1.Manifest.getDefaultInstance()); } /** + * + * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - public java.util.List - getManifestsBuilderList() { + public java.util.List + getManifestsBuilderList() { return getManifestsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Manifest, com.google.cloud.video.livestream.v1.Manifest.Builder, com.google.cloud.video.livestream.v1.ManifestOrBuilder> + com.google.cloud.video.livestream.v1.Manifest, + com.google.cloud.video.livestream.v1.Manifest.Builder, + com.google.cloud.video.livestream.v1.ManifestOrBuilder> getManifestsFieldBuilder() { if (manifestsBuilder_ == null) { - manifestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Manifest, com.google.cloud.video.livestream.v1.Manifest.Builder, com.google.cloud.video.livestream.v1.ManifestOrBuilder>( - manifests_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); + manifestsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.Manifest, + com.google.cloud.video.livestream.v1.Manifest.Builder, + com.google.cloud.video.livestream.v1.ManifestOrBuilder>( + manifests_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); manifests_ = null; } return manifestsBuilder_; } private java.util.List spriteSheets_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSpriteSheetsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - spriteSheets_ = new java.util.ArrayList(spriteSheets_); + spriteSheets_ = + new java.util.ArrayList( + spriteSheets_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.SpriteSheet, com.google.cloud.video.livestream.v1.SpriteSheet.Builder, com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder> spriteSheetsBuilder_; + com.google.cloud.video.livestream.v1.SpriteSheet, + com.google.cloud.video.livestream.v1.SpriteSheet.Builder, + com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder> + spriteSheetsBuilder_; /** + * + * *
      * List of output sprite sheets.
      * 
@@ -4815,6 +5462,8 @@ public java.util.List getSprit } } /** + * + * *
      * List of output sprite sheets.
      * 
@@ -4829,6 +5478,8 @@ public int getSpriteSheetsCount() { } } /** + * + * *
      * List of output sprite sheets.
      * 
@@ -4843,6 +5494,8 @@ public com.google.cloud.video.livestream.v1.SpriteSheet getSpriteSheets(int inde } } /** + * + * *
      * List of output sprite sheets.
      * 
@@ -4864,6 +5517,8 @@ public Builder setSpriteSheets( return this; } /** + * + * *
      * List of output sprite sheets.
      * 
@@ -4882,6 +5537,8 @@ public Builder setSpriteSheets( return this; } /** + * + * *
      * List of output sprite sheets.
      * 
@@ -4902,6 +5559,8 @@ public Builder addSpriteSheets(com.google.cloud.video.livestream.v1.SpriteSheet return this; } /** + * + * *
      * List of output sprite sheets.
      * 
@@ -4923,6 +5582,8 @@ public Builder addSpriteSheets( return this; } /** + * + * *
      * List of output sprite sheets.
      * 
@@ -4941,6 +5602,8 @@ public Builder addSpriteSheets( return this; } /** + * + * *
      * List of output sprite sheets.
      * 
@@ -4959,6 +5622,8 @@ public Builder addSpriteSheets( return this; } /** + * + * *
      * List of output sprite sheets.
      * 
@@ -4969,8 +5634,7 @@ public Builder addAllSpriteSheets( java.lang.Iterable values) { if (spriteSheetsBuilder_ == null) { ensureSpriteSheetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, spriteSheets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, spriteSheets_); onChanged(); } else { spriteSheetsBuilder_.addAllMessages(values); @@ -4978,6 +5642,8 @@ public Builder addAllSpriteSheets( return this; } /** + * + * *
      * List of output sprite sheets.
      * 
@@ -4995,6 +5661,8 @@ public Builder clearSpriteSheets() { return this; } /** + * + * *
      * List of output sprite sheets.
      * 
@@ -5012,6 +5680,8 @@ public Builder removeSpriteSheets(int index) { return this; } /** + * + * *
      * List of output sprite sheets.
      * 
@@ -5023,6 +5693,8 @@ public com.google.cloud.video.livestream.v1.SpriteSheet.Builder getSpriteSheetsB return getSpriteSheetsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of output sprite sheets.
      * 
@@ -5032,19 +5704,22 @@ public com.google.cloud.video.livestream.v1.SpriteSheet.Builder getSpriteSheetsB public com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder getSpriteSheetsOrBuilder( int index) { if (spriteSheetsBuilder_ == null) { - return spriteSheets_.get(index); } else { + return spriteSheets_.get(index); + } else { return spriteSheetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of output sprite sheets.
      * 
* * repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13; */ - public java.util.List - getSpriteSheetsOrBuilderList() { + public java.util.List + getSpriteSheetsOrBuilderList() { if (spriteSheetsBuilder_ != null) { return spriteSheetsBuilder_.getMessageOrBuilderList(); } else { @@ -5052,6 +5727,8 @@ public com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder getSpriteSheets } } /** + * + * *
      * List of output sprite sheets.
      * 
@@ -5059,10 +5736,12 @@ public com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder getSpriteSheets * repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13; */ public com.google.cloud.video.livestream.v1.SpriteSheet.Builder addSpriteSheetsBuilder() { - return getSpriteSheetsFieldBuilder().addBuilder( - com.google.cloud.video.livestream.v1.SpriteSheet.getDefaultInstance()); + return getSpriteSheetsFieldBuilder() + .addBuilder(com.google.cloud.video.livestream.v1.SpriteSheet.getDefaultInstance()); } /** + * + * *
      * List of output sprite sheets.
      * 
@@ -5071,30 +5750,35 @@ public com.google.cloud.video.livestream.v1.SpriteSheet.Builder addSpriteSheetsB */ public com.google.cloud.video.livestream.v1.SpriteSheet.Builder addSpriteSheetsBuilder( int index) { - return getSpriteSheetsFieldBuilder().addBuilder( - index, com.google.cloud.video.livestream.v1.SpriteSheet.getDefaultInstance()); + return getSpriteSheetsFieldBuilder() + .addBuilder(index, com.google.cloud.video.livestream.v1.SpriteSheet.getDefaultInstance()); } /** + * + * *
      * List of output sprite sheets.
      * 
* * repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13; */ - public java.util.List - getSpriteSheetsBuilderList() { + public java.util.List + getSpriteSheetsBuilderList() { return getSpriteSheetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.SpriteSheet, com.google.cloud.video.livestream.v1.SpriteSheet.Builder, com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder> + com.google.cloud.video.livestream.v1.SpriteSheet, + com.google.cloud.video.livestream.v1.SpriteSheet.Builder, + com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder> getSpriteSheetsFieldBuilder() { if (spriteSheetsBuilder_ == null) { - spriteSheetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.SpriteSheet, com.google.cloud.video.livestream.v1.SpriteSheet.Builder, com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder>( - spriteSheets_, - ((bitField0_ & 0x00000020) != 0), - getParentForChildren(), - isClean()); + spriteSheetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.SpriteSheet, + com.google.cloud.video.livestream.v1.SpriteSheet.Builder, + com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder>( + spriteSheets_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); spriteSheets_ = null; } return spriteSheetsBuilder_; @@ -5102,73 +5786,103 @@ public com.google.cloud.video.livestream.v1.SpriteSheet.Builder addSpriteSheetsB private int streamingState_ = 0; /** + * + * *
      * Output only. State of the streaming operation.
      * 
* - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for streamingState. */ - @java.lang.Override public int getStreamingStateValue() { + @java.lang.Override + public int getStreamingStateValue() { return streamingState_; } /** + * + * *
      * Output only. State of the streaming operation.
      * 
* - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for streamingState to set. * @return This builder for chaining. */ public Builder setStreamingStateValue(int value) { - + streamingState_ = value; onChanged(); return this; } /** + * + * *
      * Output only. State of the streaming operation.
      * 
* - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The streamingState. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Channel.StreamingState getStreamingState() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Channel.StreamingState result = com.google.cloud.video.livestream.v1.Channel.StreamingState.valueOf(streamingState_); - return result == null ? com.google.cloud.video.livestream.v1.Channel.StreamingState.UNRECOGNIZED : result; + com.google.cloud.video.livestream.v1.Channel.StreamingState result = + com.google.cloud.video.livestream.v1.Channel.StreamingState.valueOf(streamingState_); + return result == null + ? com.google.cloud.video.livestream.v1.Channel.StreamingState.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. State of the streaming operation.
      * 
* - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The streamingState to set. * @return This builder for chaining. */ - public Builder setStreamingState(com.google.cloud.video.livestream.v1.Channel.StreamingState value) { + public Builder setStreamingState( + com.google.cloud.video.livestream.v1.Channel.StreamingState value) { if (value == null) { throw new NullPointerException(); } - + streamingState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. State of the streaming operation.
      * 
* - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearStreamingState() { - + streamingState_ = 0; onChanged(); return this; @@ -5176,45 +5890,59 @@ public Builder clearStreamingState() { private com.google.rpc.Status streamingError_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> streamingErrorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + streamingErrorBuilder_; /** + * + * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the streamingError field is set. */ public boolean hasStreamingError() { return streamingErrorBuilder_ != null || streamingError_ != null; } /** + * + * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The streamingError. */ public com.google.rpc.Status getStreamingError() { if (streamingErrorBuilder_ == null) { - return streamingError_ == null ? com.google.rpc.Status.getDefaultInstance() : streamingError_; + return streamingError_ == null + ? com.google.rpc.Status.getDefaultInstance() + : streamingError_; } else { return streamingErrorBuilder_.getMessage(); } } /** + * + * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStreamingError(com.google.rpc.Status value) { if (streamingErrorBuilder_ == null) { @@ -5230,16 +5958,18 @@ public Builder setStreamingError(com.google.rpc.Status value) { return this; } /** + * + * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStreamingError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setStreamingError(com.google.rpc.Status.Builder builderForValue) { if (streamingErrorBuilder_ == null) { streamingError_ = builderForValue.build(); onChanged(); @@ -5250,19 +5980,22 @@ public Builder setStreamingError( return this; } /** + * + * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStreamingError(com.google.rpc.Status value) { if (streamingErrorBuilder_ == null) { if (streamingError_ != null) { streamingError_ = - com.google.rpc.Status.newBuilder(streamingError_).mergeFrom(value).buildPartial(); + com.google.rpc.Status.newBuilder(streamingError_).mergeFrom(value).buildPartial(); } else { streamingError_ = value; } @@ -5274,13 +6007,16 @@ public Builder mergeStreamingError(com.google.rpc.Status value) { return this; } /** + * + * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStreamingError() { if (streamingErrorBuilder_ == null) { @@ -5294,54 +6030,65 @@ public Builder clearStreamingError() { return this; } /** + * + * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.Status.Builder getStreamingErrorBuilder() { - + onChanged(); return getStreamingErrorFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.StatusOrBuilder getStreamingErrorOrBuilder() { if (streamingErrorBuilder_ != null) { return streamingErrorBuilder_.getMessageOrBuilder(); } else { - return streamingError_ == null ? - com.google.rpc.Status.getDefaultInstance() : streamingError_; + return streamingError_ == null + ? com.google.rpc.Status.getDefaultInstance() + : streamingError_; } } /** + * + * *
      * Output only. A description of the reason for the streaming error. This property is
      * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
      * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
      * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStreamingErrorFieldBuilder() { if (streamingErrorBuilder_ == null) { - streamingErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getStreamingError(), - getParentForChildren(), - isClean()); + streamingErrorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>( + getStreamingError(), getParentForChildren(), isClean()); streamingError_ = null; } return streamingErrorBuilder_; @@ -5349,34 +6096,47 @@ public com.google.rpc.StatusOrBuilder getStreamingErrorOrBuilder() { private com.google.cloud.video.livestream.v1.LogConfig logConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.LogConfig, com.google.cloud.video.livestream.v1.LogConfig.Builder, com.google.cloud.video.livestream.v1.LogConfigOrBuilder> logConfigBuilder_; + com.google.cloud.video.livestream.v1.LogConfig, + com.google.cloud.video.livestream.v1.LogConfig.Builder, + com.google.cloud.video.livestream.v1.LogConfigOrBuilder> + logConfigBuilder_; /** + * + * *
      * Configuration of platform logs for this channel.
      * 
* * .google.cloud.video.livestream.v1.LogConfig log_config = 19; + * * @return Whether the logConfig field is set. */ public boolean hasLogConfig() { return logConfigBuilder_ != null || logConfig_ != null; } /** + * + * *
      * Configuration of platform logs for this channel.
      * 
* * .google.cloud.video.livestream.v1.LogConfig log_config = 19; + * * @return The logConfig. */ public com.google.cloud.video.livestream.v1.LogConfig getLogConfig() { if (logConfigBuilder_ == null) { - return logConfig_ == null ? com.google.cloud.video.livestream.v1.LogConfig.getDefaultInstance() : logConfig_; + return logConfig_ == null + ? com.google.cloud.video.livestream.v1.LogConfig.getDefaultInstance() + : logConfig_; } else { return logConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration of platform logs for this channel.
      * 
@@ -5397,6 +6157,8 @@ public Builder setLogConfig(com.google.cloud.video.livestream.v1.LogConfig value return this; } /** + * + * *
      * Configuration of platform logs for this channel.
      * 
@@ -5415,6 +6177,8 @@ public Builder setLogConfig( return this; } /** + * + * *
      * Configuration of platform logs for this channel.
      * 
@@ -5425,7 +6189,9 @@ public Builder mergeLogConfig(com.google.cloud.video.livestream.v1.LogConfig val if (logConfigBuilder_ == null) { if (logConfig_ != null) { logConfig_ = - com.google.cloud.video.livestream.v1.LogConfig.newBuilder(logConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.video.livestream.v1.LogConfig.newBuilder(logConfig_) + .mergeFrom(value) + .buildPartial(); } else { logConfig_ = value; } @@ -5437,6 +6203,8 @@ public Builder mergeLogConfig(com.google.cloud.video.livestream.v1.LogConfig val return this; } /** + * + * *
      * Configuration of platform logs for this channel.
      * 
@@ -5455,6 +6223,8 @@ public Builder clearLogConfig() { return this; } /** + * + * *
      * Configuration of platform logs for this channel.
      * 
@@ -5462,11 +6232,13 @@ public Builder clearLogConfig() { * .google.cloud.video.livestream.v1.LogConfig log_config = 19; */ public com.google.cloud.video.livestream.v1.LogConfig.Builder getLogConfigBuilder() { - + onChanged(); return getLogConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration of platform logs for this channel.
      * 
@@ -5477,11 +6249,14 @@ public com.google.cloud.video.livestream.v1.LogConfigOrBuilder getLogConfigOrBui if (logConfigBuilder_ != null) { return logConfigBuilder_.getMessageOrBuilder(); } else { - return logConfig_ == null ? - com.google.cloud.video.livestream.v1.LogConfig.getDefaultInstance() : logConfig_; + return logConfig_ == null + ? com.google.cloud.video.livestream.v1.LogConfig.getDefaultInstance() + : logConfig_; } } /** + * + * *
      * Configuration of platform logs for this channel.
      * 
@@ -5489,21 +6264,24 @@ public com.google.cloud.video.livestream.v1.LogConfigOrBuilder getLogConfigOrBui * .google.cloud.video.livestream.v1.LogConfig log_config = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.LogConfig, com.google.cloud.video.livestream.v1.LogConfig.Builder, com.google.cloud.video.livestream.v1.LogConfigOrBuilder> + com.google.cloud.video.livestream.v1.LogConfig, + com.google.cloud.video.livestream.v1.LogConfig.Builder, + com.google.cloud.video.livestream.v1.LogConfigOrBuilder> getLogConfigFieldBuilder() { if (logConfigBuilder_ == null) { - logConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.LogConfig, com.google.cloud.video.livestream.v1.LogConfig.Builder, com.google.cloud.video.livestream.v1.LogConfigOrBuilder>( - getLogConfig(), - getParentForChildren(), - isClean()); + logConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.LogConfig, + com.google.cloud.video.livestream.v1.LogConfig.Builder, + com.google.cloud.video.livestream.v1.LogConfigOrBuilder>( + getLogConfig(), getParentForChildren(), isClean()); logConfig_ = null; } return logConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5513,12 +6291,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.Channel) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.Channel) private static final com.google.cloud.video.livestream.v1.Channel DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.Channel(); } @@ -5527,16 +6305,16 @@ public static com.google.cloud.video.livestream.v1.Channel getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Channel parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Channel(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Channel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Channel(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5551,6 +6329,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.Channel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelName.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelName.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponse.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponse.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponse.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponse.java index 4a5feeb..6939e95 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponse.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponse.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Response message for Start/Stop Channel long-running operations.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ChannelOperationResponse} */ -public final class ChannelOperationResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ChannelOperationResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.ChannelOperationResponse) ChannelOperationResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ChannelOperationResponse.newBuilder() to construct. private ChannelOperationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ChannelOperationResponse() { - } + + private ChannelOperationResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ChannelOperationResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ChannelOperationResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ChannelOperationResponse( 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,30 @@ private ChannelOperationResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ChannelOperationResponse.class, com.google.cloud.video.livestream.v1.ChannelOperationResponse.Builder.class); + com.google.cloud.video.livestream.v1.ChannelOperationResponse.class, + com.google.cloud.video.livestream.v1.ChannelOperationResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,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 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.ChannelOperationResponse)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.ChannelOperationResponse other = (com.google.cloud.video.livestream.v1.ChannelOperationResponse) obj; + com.google.cloud.video.livestream.v1.ChannelOperationResponse other = + (com.google.cloud.video.livestream.v1.ChannelOperationResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ChannelOperationResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.ChannelOperationResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.ChannelOperationResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for Start/Stop Channel long-running operations.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ChannelOperationResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.ChannelOperationResponse) com.google.cloud.video.livestream.v1.ChannelOperationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ChannelOperationResponse.class, com.google.cloud.video.livestream.v1.ChannelOperationResponse.Builder.class); + com.google.cloud.video.livestream.v1.ChannelOperationResponse.class, + com.google.cloud.video.livestream.v1.ChannelOperationResponse.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.ChannelOperationResponse.newBuilder() @@ -259,16 +288,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(); @@ -276,13 +304,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor; } @java.lang.Override - public com.google.cloud.video.livestream.v1.ChannelOperationResponse getDefaultInstanceForType() { + public com.google.cloud.video.livestream.v1.ChannelOperationResponse + getDefaultInstanceForType() { return com.google.cloud.video.livestream.v1.ChannelOperationResponse.getDefaultInstance(); } @@ -297,7 +326,8 @@ public com.google.cloud.video.livestream.v1.ChannelOperationResponse build() { @java.lang.Override public com.google.cloud.video.livestream.v1.ChannelOperationResponse buildPartial() { - com.google.cloud.video.livestream.v1.ChannelOperationResponse result = new com.google.cloud.video.livestream.v1.ChannelOperationResponse(this); + com.google.cloud.video.livestream.v1.ChannelOperationResponse result = + new com.google.cloud.video.livestream.v1.ChannelOperationResponse(this); onBuilt(); return result; } @@ -306,38 +336,39 @@ public com.google.cloud.video.livestream.v1.ChannelOperationResponse buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.ChannelOperationResponse) { - return mergeFrom((com.google.cloud.video.livestream.v1.ChannelOperationResponse)other); + return mergeFrom((com.google.cloud.video.livestream.v1.ChannelOperationResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +376,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.ChannelOperationResponse other) { - if (other == com.google.cloud.video.livestream.v1.ChannelOperationResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.video.livestream.v1.ChannelOperationResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +398,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.ChannelOperationResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.ChannelOperationResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +409,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,12 +421,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.ChannelOperationResponse) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.ChannelOperationResponse) - private static final com.google.cloud.video.livestream.v1.ChannelOperationResponse DEFAULT_INSTANCE; + private static final com.google.cloud.video.livestream.v1.ChannelOperationResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.ChannelOperationResponse(); } @@ -400,16 +436,16 @@ public static com.google.cloud.video.livestream.v1.ChannelOperationResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChannelOperationResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ChannelOperationResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChannelOperationResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ChannelOperationResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +460,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.ChannelOperationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponseOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponseOrBuilder.java new file mode 100644 index 0000000..d5e1432 --- /dev/null +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOperationResponseOrBuilder.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/video/livestream/v1/service.proto + +package com.google.cloud.video.livestream.v1; + +public interface ChannelOperationResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ChannelOperationResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOrBuilder.java similarity index 80% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOrBuilder.java index b3c68bb..87e9276 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ChannelOrBuilder.java @@ -1,89 +1,134 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface ChannelOrBuilder extends +public interface ChannelOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.Channel) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the channel, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the channel, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * User-defined key/value metadata.
    * 
@@ -92,30 +137,31 @@ public interface ChannelOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * User-defined key/value metadata.
    * 
@@ -124,22 +170,24 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -148,9 +196,10 @@ java.lang.String getLabelsOrThrow(
    *
    * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;
    */
-  java.util.List 
-      getInputAttachmentsList();
+  java.util.List getInputAttachmentsList();
   /**
+   *
+   *
    * 
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -161,6 +210,8 @@ java.lang.String getLabelsOrThrow(
    */
   com.google.cloud.video.livestream.v1.InputAttachment getInputAttachments(int index);
   /**
+   *
+   *
    * 
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -171,6 +222,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getInputAttachmentsCount();
   /**
+   *
+   *
    * 
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -179,9 +232,11 @@ java.lang.String getLabelsOrThrow(
    *
    * repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;
    */
-  java.util.List 
+  java.util.List
       getInputAttachmentsOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of input attachments that this channel uses.
    * One channel can have multiple inputs as the input sources. Only one
@@ -194,111 +249,147 @@ com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder getInputAttachment
       int index);
 
   /**
+   *
+   *
    * 
    * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
    * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
    * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The activeInput. */ java.lang.String getActiveInput(); /** + * + * *
    * Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The
    * first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.
    * 
* * string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for activeInput. */ - com.google.protobuf.ByteString - getActiveInputBytes(); + com.google.protobuf.ByteString getActiveInputBytes(); /** + * + * *
    * Required. Information about the output (that is, the Cloud Storage bucket to store
    * the generated live stream).
    * 
* - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the output field is set. */ boolean hasOutput(); /** + * + * *
    * Required. Information about the output (that is, the Cloud Storage bucket to store
    * the generated live stream).
    * 
* - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The output. */ com.google.cloud.video.livestream.v1.Channel.Output getOutput(); /** + * + * *
    * Required. Information about the output (that is, the Cloud Storage bucket to store
    * the generated live stream).
    * 
* - * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder getOutputOrBuilder(); /** + * + * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ - java.util.List - getElementaryStreamsList(); + java.util.List getElementaryStreamsList(); /** + * + * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ com.google.cloud.video.livestream.v1.ElementaryStream getElementaryStreams(int index); /** + * + * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ int getElementaryStreamsCount(); /** + * + * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ - java.util.List + java.util.List getElementaryStreamsOrBuilderList(); /** + * + * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10; + * */ com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder getElementaryStreamsOrBuilder( int index); /** + * + * *
    * List of multiplexing settings for output streams.
    * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - java.util.List - getMuxStreamsList(); + java.util.List getMuxStreamsList(); /** + * + * *
    * List of multiplexing settings for output streams.
    * 
@@ -307,6 +398,8 @@ com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder getElementaryStre */ com.google.cloud.video.livestream.v1.MuxStream getMuxStreams(int index); /** + * + * *
    * List of multiplexing settings for output streams.
    * 
@@ -315,34 +408,40 @@ com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder getElementaryStre */ int getMuxStreamsCount(); /** + * + * *
    * List of multiplexing settings for output streams.
    * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - java.util.List + java.util.List getMuxStreamsOrBuilderList(); /** + * + * *
    * List of multiplexing settings for output streams.
    * 
* * repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11; */ - com.google.cloud.video.livestream.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder( - int index); + com.google.cloud.video.livestream.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder(int index); /** + * + * *
    * List of output manifests.
    * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - java.util.List - getManifestsList(); + java.util.List getManifestsList(); /** + * + * *
    * List of output manifests.
    * 
@@ -351,6 +450,8 @@ com.google.cloud.video.livestream.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder( */ com.google.cloud.video.livestream.v1.Manifest getManifests(int index); /** + * + * *
    * List of output manifests.
    * 
@@ -359,34 +460,40 @@ com.google.cloud.video.livestream.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder( */ int getManifestsCount(); /** + * + * *
    * List of output manifests.
    * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - java.util.List + java.util.List getManifestsOrBuilderList(); /** + * + * *
    * List of output manifests.
    * 
* * repeated .google.cloud.video.livestream.v1.Manifest manifests = 12; */ - com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuilder( - int index); + com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuilder(int index); /** + * + * *
    * List of output sprite sheets.
    * 
* * repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13; */ - java.util.List - getSpriteSheetsList(); + java.util.List getSpriteSheetsList(); /** + * + * *
    * List of output sprite sheets.
    * 
@@ -395,6 +502,8 @@ com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuilder( */ com.google.cloud.video.livestream.v1.SpriteSheet getSpriteSheets(int index); /** + * + * *
    * List of output sprite sheets.
    * 
@@ -403,95 +512,127 @@ com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuilder( */ int getSpriteSheetsCount(); /** + * + * *
    * List of output sprite sheets.
    * 
* * repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13; */ - java.util.List + java.util.List getSpriteSheetsOrBuilderList(); /** + * + * *
    * List of output sprite sheets.
    * 
* * repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13; */ - com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder getSpriteSheetsOrBuilder( - int index); + com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder getSpriteSheetsOrBuilder(int index); /** + * + * *
    * Output only. State of the streaming operation.
    * 
* - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for streamingState. */ int getStreamingStateValue(); /** + * + * *
    * Output only. State of the streaming operation.
    * 
* - * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The streamingState. */ com.google.cloud.video.livestream.v1.Channel.StreamingState getStreamingState(); /** + * + * *
    * Output only. A description of the reason for the streaming error. This property is
    * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
    * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
    * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the streamingError field is set. */ boolean hasStreamingError(); /** + * + * *
    * Output only. A description of the reason for the streaming error. This property is
    * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
    * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
    * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The streamingError. */ com.google.rpc.Status getStreamingError(); /** + * + * *
    * Output only. A description of the reason for the streaming error. This property is
    * always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is
    * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
    * 
* - * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.rpc.StatusOrBuilder getStreamingErrorOrBuilder(); /** + * + * *
    * Configuration of platform logs for this channel.
    * 
* * .google.cloud.video.livestream.v1.LogConfig log_config = 19; + * * @return Whether the logConfig field is set. */ boolean hasLogConfig(); /** + * + * *
    * Configuration of platform logs for this channel.
    * 
* * .google.cloud.video.livestream.v1.LogConfig log_config = 19; + * * @return The logConfig. */ com.google.cloud.video.livestream.v1.LogConfig getLogConfig(); /** + * + * *
    * Configuration of platform logs for this channel.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequest.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequest.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequest.java index b65742f..15683ce 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequest.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequest.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Request message for "LivestreamService.CreateChannel".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.CreateChannelRequest} */ -public final class CreateChannelRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateChannelRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.CreateChannelRequest) CreateChannelRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateChannelRequest.newBuilder() to construct. private CreateChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateChannelRequest() { parent_ = ""; channelId_ = ""; @@ -27,16 +45,15 @@ private CreateChannelRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,44 +72,50 @@ private CreateChannelRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.video.livestream.v1.Channel.Builder subBuilder = null; - if (channel_ != null) { - subBuilder = channel_.toBuilder(); - } - channel_ = input.readMessage(com.google.cloud.video.livestream.v1.Channel.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(channel_); - channel_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.video.livestream.v1.Channel.Builder subBuilder = null; + if (channel_ != null) { + subBuilder = channel_.toBuilder(); + } + channel_ = + input.readMessage( + com.google.cloud.video.livestream.v1.Channel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(channel_); + channel_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - channelId_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + channelId_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,35 +123,42 @@ private CreateChannelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.CreateChannelRequest.class, com.google.cloud.video.livestream.v1.CreateChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.CreateChannelRequest.class, + com.google.cloud.video.livestream.v1.CreateChannelRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -137,30 +167,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -171,11 +203,16 @@ public java.lang.String getParent() { public static final int CHANNEL_FIELD_NUMBER = 2; private com.google.cloud.video.livestream.v1.Channel channel_; /** + * + * *
    * Required. The channel resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channel field is set. */ @java.lang.Override @@ -183,23 +220,34 @@ public boolean hasChannel() { return channel_ != null; } /** + * + * *
    * Required. The channel resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channel. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Channel getChannel() { - return channel_ == null ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() : channel_; + return channel_ == null + ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() + : channel_; } /** + * + * *
    * Required. The channel resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder() { @@ -209,6 +257,8 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder public static final int CHANNEL_ID_FIELD_NUMBER = 3; private volatile java.lang.Object channelId_; /** + * + * *
    * Required. The ID of the channel resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -216,6 +266,7 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder
    * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The channelId. */ @java.lang.Override @@ -224,14 +275,15 @@ public java.lang.String getChannelId() { 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(); channelId_ = s; return s; } } /** + * + * *
    * Required. The ID of the channel resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -239,16 +291,15 @@ public java.lang.String getChannelId() {
    * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for channelId. */ @java.lang.Override - public com.google.protobuf.ByteString - getChannelIdBytes() { + public com.google.protobuf.ByteString getChannelIdBytes() { java.lang.Object ref = channelId_; 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); channelId_ = b; return b; } else { @@ -259,6 +310,8 @@ public java.lang.String getChannelId() { public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -274,6 +327,7 @@ public java.lang.String getChannelId() {
    * 
* * string request_id = 4; + * * @return The requestId. */ @java.lang.Override @@ -282,14 +336,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -305,16 +360,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -323,6 +377,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,8 +389,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -361,8 +415,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (channel_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getChannel()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getChannel()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(channelId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, channelId_); @@ -378,24 +431,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.CreateChannelRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.CreateChannelRequest other = (com.google.cloud.video.livestream.v1.CreateChannelRequest) obj; + com.google.cloud.video.livestream.v1.CreateChannelRequest other = + (com.google.cloud.video.livestream.v1.CreateChannelRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasChannel() != other.hasChannel()) return false; if (hasChannel()) { - if (!getChannel() - .equals(other.getChannel())) return false; + if (!getChannel().equals(other.getChannel())) return false; } - if (!getChannelId() - .equals(other.getChannelId())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getChannelId().equals(other.getChannelId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -423,117 +473,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.CreateChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.CreateChannelRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.CreateChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for "LivestreamService.CreateChannel".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.CreateChannelRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.CreateChannelRequest) com.google.cloud.video.livestream.v1.CreateChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.CreateChannelRequest.class, com.google.cloud.video.livestream.v1.CreateChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.CreateChannelRequest.class, + com.google.cloud.video.livestream.v1.CreateChannelRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.CreateChannelRequest.newBuilder() @@ -541,16 +601,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(); @@ -570,9 +629,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor; } @java.lang.Override @@ -591,7 +650,8 @@ public com.google.cloud.video.livestream.v1.CreateChannelRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.CreateChannelRequest buildPartial() { - com.google.cloud.video.livestream.v1.CreateChannelRequest result = new com.google.cloud.video.livestream.v1.CreateChannelRequest(this); + com.google.cloud.video.livestream.v1.CreateChannelRequest result = + new com.google.cloud.video.livestream.v1.CreateChannelRequest(this); result.parent_ = parent_; if (channelBuilder_ == null) { result.channel_ = channel_; @@ -608,38 +668,39 @@ public com.google.cloud.video.livestream.v1.CreateChannelRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.CreateChannelRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.CreateChannelRequest)other); + return mergeFrom((com.google.cloud.video.livestream.v1.CreateChannelRequest) other); } else { super.mergeFrom(other); return this; @@ -647,7 +708,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.CreateChannelRequest other) { - if (other == com.google.cloud.video.livestream.v1.CreateChannelRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.CreateChannelRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -682,7 +744,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.CreateChannelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.CreateChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -694,19 +757,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -715,21 +782,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -737,57 +807,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -795,39 +878,58 @@ public Builder setParentBytes( private com.google.cloud.video.livestream.v1.Channel channel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder> channelBuilder_; + com.google.cloud.video.livestream.v1.Channel, + com.google.cloud.video.livestream.v1.Channel.Builder, + com.google.cloud.video.livestream.v1.ChannelOrBuilder> + channelBuilder_; /** + * + * *
      * Required. The channel resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channel field is set. */ public boolean hasChannel() { return channelBuilder_ != null || channel_ != null; } /** + * + * *
      * Required. The channel resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channel. */ public com.google.cloud.video.livestream.v1.Channel getChannel() { if (channelBuilder_ == null) { - return channel_ == null ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() : channel_; + return channel_ == null + ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() + : channel_; } else { return channelBuilder_.getMessage(); } } /** + * + * *
      * Required. The channel resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setChannel(com.google.cloud.video.livestream.v1.Channel value) { if (channelBuilder_ == null) { @@ -843,11 +945,15 @@ public Builder setChannel(com.google.cloud.video.livestream.v1.Channel value) { return this; } /** + * + * *
      * Required. The channel resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setChannel( com.google.cloud.video.livestream.v1.Channel.Builder builderForValue) { @@ -861,17 +967,23 @@ public Builder setChannel( return this; } /** + * + * *
      * Required. The channel resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeChannel(com.google.cloud.video.livestream.v1.Channel value) { if (channelBuilder_ == null) { if (channel_ != null) { channel_ = - com.google.cloud.video.livestream.v1.Channel.newBuilder(channel_).mergeFrom(value).buildPartial(); + com.google.cloud.video.livestream.v1.Channel.newBuilder(channel_) + .mergeFrom(value) + .buildPartial(); } else { channel_ = value; } @@ -883,11 +995,15 @@ public Builder mergeChannel(com.google.cloud.video.livestream.v1.Channel value) return this; } /** + * + * *
      * Required. The channel resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearChannel() { if (channelBuilder_ == null) { @@ -901,48 +1017,64 @@ public Builder clearChannel() { return this; } /** + * + * *
      * Required. The channel resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.video.livestream.v1.Channel.Builder getChannelBuilder() { - + onChanged(); return getChannelFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The channel resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder() { if (channelBuilder_ != null) { return channelBuilder_.getMessageOrBuilder(); } else { - return channel_ == null ? - com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() : channel_; + return channel_ == null + ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() + : channel_; } } /** + * + * *
      * Required. The channel resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder> + com.google.cloud.video.livestream.v1.Channel, + com.google.cloud.video.livestream.v1.Channel.Builder, + com.google.cloud.video.livestream.v1.ChannelOrBuilder> getChannelFieldBuilder() { if (channelBuilder_ == null) { - channelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder>( - getChannel(), - getParentForChildren(), - isClean()); + channelBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.Channel, + com.google.cloud.video.livestream.v1.Channel.Builder, + com.google.cloud.video.livestream.v1.ChannelOrBuilder>( + getChannel(), getParentForChildren(), isClean()); channel_ = null; } return channelBuilder_; @@ -950,6 +1082,8 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder private java.lang.Object channelId_ = ""; /** + * + * *
      * Required. The ID of the channel resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -957,13 +1091,13 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder
      * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The channelId. */ public java.lang.String getChannelId() { java.lang.Object ref = channelId_; 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(); channelId_ = s; return s; @@ -972,6 +1106,8 @@ public java.lang.String getChannelId() { } } /** + * + * *
      * Required. The ID of the channel resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -979,15 +1115,14 @@ public java.lang.String getChannelId() {
      * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for channelId. */ - public com.google.protobuf.ByteString - getChannelIdBytes() { + public com.google.protobuf.ByteString getChannelIdBytes() { java.lang.Object ref = channelId_; 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); channelId_ = b; return b; } else { @@ -995,6 +1130,8 @@ public java.lang.String getChannelId() { } } /** + * + * *
      * Required. The ID of the channel resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1002,20 +1139,22 @@ public java.lang.String getChannelId() {
      * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The channelId to set. * @return This builder for chaining. */ - public Builder setChannelId( - java.lang.String value) { + public Builder setChannelId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + channelId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID of the channel resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1023,15 +1162,18 @@ public Builder setChannelId(
      * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearChannelId() { - + channelId_ = getDefaultInstance().getChannelId(); onChanged(); return this; } /** + * + * *
      * Required. The ID of the channel resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1039,16 +1181,16 @@ public Builder clearChannelId() {
      * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for channelId to set. * @return This builder for chaining. */ - public Builder setChannelIdBytes( - com.google.protobuf.ByteString value) { + public Builder setChannelIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + channelId_ = value; onChanged(); return this; @@ -1056,6 +1198,8 @@ public Builder setChannelIdBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1071,13 +1215,13 @@ public Builder setChannelIdBytes(
      * 
* * string request_id = 4; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1086,6 +1230,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1101,15 +1247,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1117,6 +1262,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1132,20 +1279,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1161,15 +1310,18 @@ public Builder setRequestId(
      * 
* * string request_id = 4; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1185,23 +1337,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1211,12 +1363,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.CreateChannelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.CreateChannelRequest) private static final com.google.cloud.video.livestream.v1.CreateChannelRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.CreateChannelRequest(); } @@ -1225,16 +1377,16 @@ public static com.google.cloud.video.livestream.v1.CreateChannelRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1249,6 +1401,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.CreateChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequestOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequestOrBuilder.java index 8617c7e..265a8f8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequestOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateChannelRequestOrBuilder.java @@ -1,62 +1,103 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface CreateChannelRequestOrBuilder extends +public interface CreateChannelRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.CreateChannelRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The channel resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channel field is set. */ boolean hasChannel(); /** + * + * *
    * Required. The channel resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channel. */ com.google.cloud.video.livestream.v1.Channel getChannel(); /** + * + * *
    * Required. The channel resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder(); /** + * + * *
    * Required. The ID of the channel resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -64,10 +105,13 @@ public interface CreateChannelRequestOrBuilder extends
    * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The channelId. */ java.lang.String getChannelId(); /** + * + * *
    * Required. The ID of the channel resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -75,12 +119,14 @@ public interface CreateChannelRequestOrBuilder extends
    * 
* * string channel_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for channelId. */ - com.google.protobuf.ByteString - getChannelIdBytes(); + com.google.protobuf.ByteString getChannelIdBytes(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -96,10 +142,13 @@ public interface CreateChannelRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -115,8 +164,8 @@ public interface CreateChannelRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequest.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequest.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequest.java index 8702123..118bf0f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequest.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequest.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Request message for "LivestreamService.CreateEvent".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.CreateEventRequest} */ -public final class CreateEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.CreateEventRequest) CreateEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateEventRequest.newBuilder() to construct. private CreateEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateEventRequest() { parent_ = ""; eventId_ = ""; @@ -27,16 +45,15 @@ private CreateEventRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateEventRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,44 +72,50 @@ private CreateEventRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.video.livestream.v1.Event.Builder subBuilder = null; - if (event_ != null) { - subBuilder = event_.toBuilder(); - } - event_ = input.readMessage(com.google.cloud.video.livestream.v1.Event.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(event_); - event_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.video.livestream.v1.Event.Builder subBuilder = null; + if (event_ != null) { + subBuilder = event_.toBuilder(); + } + event_ = + input.readMessage( + com.google.cloud.video.livestream.v1.Event.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(event_); + event_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - eventId_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + eventId_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,35 +123,42 @@ private CreateEventRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateEventRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_CreateEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.CreateEventRequest.class, com.google.cloud.video.livestream.v1.CreateEventRequest.Builder.class); + com.google.cloud.video.livestream.v1.CreateEventRequest.class, + com.google.cloud.video.livestream.v1.CreateEventRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent channel for the resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -137,30 +167,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent channel for the resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -171,11 +203,16 @@ public java.lang.String getParent() { public static final int EVENT_FIELD_NUMBER = 2; private com.google.cloud.video.livestream.v1.Event event_; /** + * + * *
    * Required. The event resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the event field is set. */ @java.lang.Override @@ -183,23 +220,34 @@ public boolean hasEvent() { return event_ != null; } /** + * + * *
    * Required. The event resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The event. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Event getEvent() { - return event_ == null ? com.google.cloud.video.livestream.v1.Event.getDefaultInstance() : event_; + return event_ == null + ? com.google.cloud.video.livestream.v1.Event.getDefaultInstance() + : event_; } /** + * + * *
    * Required. The event resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.video.livestream.v1.EventOrBuilder getEventOrBuilder() { @@ -209,6 +257,8 @@ public com.google.cloud.video.livestream.v1.EventOrBuilder getEventOrBuilder() { public static final int EVENT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object eventId_; /** + * + * *
    * Required. The ID of the event resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -216,6 +266,7 @@ public com.google.cloud.video.livestream.v1.EventOrBuilder getEventOrBuilder() {
    * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventId. */ @java.lang.Override @@ -224,14 +275,15 @@ public java.lang.String getEventId() { 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(); eventId_ = s; return s; } } /** + * + * *
    * Required. The ID of the event resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -239,16 +291,15 @@ public java.lang.String getEventId() {
    * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventId. */ @java.lang.Override - public com.google.protobuf.ByteString - getEventIdBytes() { + public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = eventId_; 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); eventId_ = b; return b; } else { @@ -259,6 +310,8 @@ public java.lang.String getEventId() { public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -274,6 +327,7 @@ public java.lang.String getEventId() {
    * 
* * string request_id = 4; + * * @return The requestId. */ @java.lang.Override @@ -282,14 +336,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -305,16 +360,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -323,6 +377,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,8 +389,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -361,8 +415,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (event_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEvent()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEvent()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, eventId_); @@ -378,24 +431,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.CreateEventRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.CreateEventRequest other = (com.google.cloud.video.livestream.v1.CreateEventRequest) obj; + com.google.cloud.video.livestream.v1.CreateEventRequest other = + (com.google.cloud.video.livestream.v1.CreateEventRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasEvent() != other.hasEvent()) return false; if (hasEvent()) { - if (!getEvent() - .equals(other.getEvent())) return false; + if (!getEvent().equals(other.getEvent())) return false; } - if (!getEventId() - .equals(other.getEventId())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getEventId().equals(other.getEventId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -423,117 +473,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.CreateEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.CreateEventRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.CreateEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.CreateEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.CreateEventRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.CreateEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for "LivestreamService.CreateEvent".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.CreateEventRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.CreateEventRequest) com.google.cloud.video.livestream.v1.CreateEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateEventRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_CreateEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.CreateEventRequest.class, com.google.cloud.video.livestream.v1.CreateEventRequest.Builder.class); + com.google.cloud.video.livestream.v1.CreateEventRequest.class, + com.google.cloud.video.livestream.v1.CreateEventRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.CreateEventRequest.newBuilder() @@ -541,16 +601,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(); @@ -570,9 +629,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor; } @java.lang.Override @@ -591,7 +650,8 @@ public com.google.cloud.video.livestream.v1.CreateEventRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.CreateEventRequest buildPartial() { - com.google.cloud.video.livestream.v1.CreateEventRequest result = new com.google.cloud.video.livestream.v1.CreateEventRequest(this); + com.google.cloud.video.livestream.v1.CreateEventRequest result = + new com.google.cloud.video.livestream.v1.CreateEventRequest(this); result.parent_ = parent_; if (eventBuilder_ == null) { result.event_ = event_; @@ -608,38 +668,39 @@ public com.google.cloud.video.livestream.v1.CreateEventRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.CreateEventRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.CreateEventRequest)other); + return mergeFrom((com.google.cloud.video.livestream.v1.CreateEventRequest) other); } else { super.mergeFrom(other); return this; @@ -647,7 +708,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.CreateEventRequest other) { - if (other == com.google.cloud.video.livestream.v1.CreateEventRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.CreateEventRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -682,7 +744,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.CreateEventRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.CreateEventRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -694,19 +757,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -715,21 +782,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -737,57 +807,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -795,39 +878,58 @@ public Builder setParentBytes( private com.google.cloud.video.livestream.v1.Event event_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event, com.google.cloud.video.livestream.v1.Event.Builder, com.google.cloud.video.livestream.v1.EventOrBuilder> eventBuilder_; + com.google.cloud.video.livestream.v1.Event, + com.google.cloud.video.livestream.v1.Event.Builder, + com.google.cloud.video.livestream.v1.EventOrBuilder> + eventBuilder_; /** + * + * *
      * Required. The event resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the event field is set. */ public boolean hasEvent() { return eventBuilder_ != null || event_ != null; } /** + * + * *
      * Required. The event resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The event. */ public com.google.cloud.video.livestream.v1.Event getEvent() { if (eventBuilder_ == null) { - return event_ == null ? com.google.cloud.video.livestream.v1.Event.getDefaultInstance() : event_; + return event_ == null + ? com.google.cloud.video.livestream.v1.Event.getDefaultInstance() + : event_; } else { return eventBuilder_.getMessage(); } } /** + * + * *
      * Required. The event resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEvent(com.google.cloud.video.livestream.v1.Event value) { if (eventBuilder_ == null) { @@ -843,14 +945,17 @@ public Builder setEvent(com.google.cloud.video.livestream.v1.Event value) { return this; } /** + * + * *
      * Required. The event resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setEvent( - com.google.cloud.video.livestream.v1.Event.Builder builderForValue) { + public Builder setEvent(com.google.cloud.video.livestream.v1.Event.Builder builderForValue) { if (eventBuilder_ == null) { event_ = builderForValue.build(); onChanged(); @@ -861,17 +966,23 @@ public Builder setEvent( return this; } /** + * + * *
      * Required. The event resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEvent(com.google.cloud.video.livestream.v1.Event value) { if (eventBuilder_ == null) { if (event_ != null) { event_ = - com.google.cloud.video.livestream.v1.Event.newBuilder(event_).mergeFrom(value).buildPartial(); + com.google.cloud.video.livestream.v1.Event.newBuilder(event_) + .mergeFrom(value) + .buildPartial(); } else { event_ = value; } @@ -883,11 +994,15 @@ public Builder mergeEvent(com.google.cloud.video.livestream.v1.Event value) { return this; } /** + * + * *
      * Required. The event resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEvent() { if (eventBuilder_ == null) { @@ -901,48 +1016,64 @@ public Builder clearEvent() { return this; } /** + * + * *
      * Required. The event resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.video.livestream.v1.Event.Builder getEventBuilder() { - + onChanged(); return getEventFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The event resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.video.livestream.v1.EventOrBuilder getEventOrBuilder() { if (eventBuilder_ != null) { return eventBuilder_.getMessageOrBuilder(); } else { - return event_ == null ? - com.google.cloud.video.livestream.v1.Event.getDefaultInstance() : event_; + return event_ == null + ? com.google.cloud.video.livestream.v1.Event.getDefaultInstance() + : event_; } } /** + * + * *
      * Required. The event resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event, com.google.cloud.video.livestream.v1.Event.Builder, com.google.cloud.video.livestream.v1.EventOrBuilder> + com.google.cloud.video.livestream.v1.Event, + com.google.cloud.video.livestream.v1.Event.Builder, + com.google.cloud.video.livestream.v1.EventOrBuilder> getEventFieldBuilder() { if (eventBuilder_ == null) { - eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event, com.google.cloud.video.livestream.v1.Event.Builder, com.google.cloud.video.livestream.v1.EventOrBuilder>( - getEvent(), - getParentForChildren(), - isClean()); + eventBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.Event, + com.google.cloud.video.livestream.v1.Event.Builder, + com.google.cloud.video.livestream.v1.EventOrBuilder>( + getEvent(), getParentForChildren(), isClean()); event_ = null; } return eventBuilder_; @@ -950,6 +1081,8 @@ public com.google.cloud.video.livestream.v1.EventOrBuilder getEventOrBuilder() { private java.lang.Object eventId_ = ""; /** + * + * *
      * Required. The ID of the event resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -957,13 +1090,13 @@ public com.google.cloud.video.livestream.v1.EventOrBuilder getEventOrBuilder() {
      * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventId. */ public java.lang.String getEventId() { java.lang.Object ref = eventId_; 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(); eventId_ = s; return s; @@ -972,6 +1105,8 @@ public java.lang.String getEventId() { } } /** + * + * *
      * Required. The ID of the event resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -979,15 +1114,14 @@ public java.lang.String getEventId() {
      * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventId. */ - public com.google.protobuf.ByteString - getEventIdBytes() { + public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = eventId_; 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); eventId_ = b; return b; } else { @@ -995,6 +1129,8 @@ public java.lang.String getEventId() { } } /** + * + * *
      * Required. The ID of the event resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1002,20 +1138,22 @@ public java.lang.String getEventId() {
      * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The eventId to set. * @return This builder for chaining. */ - public Builder setEventId( - java.lang.String value) { + public Builder setEventId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID of the event resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1023,15 +1161,18 @@ public Builder setEventId(
      * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEventId() { - + eventId_ = getDefaultInstance().getEventId(); onChanged(); return this; } /** + * + * *
      * Required. The ID of the event resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1039,16 +1180,16 @@ public Builder clearEventId() {
      * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for eventId to set. * @return This builder for chaining. */ - public Builder setEventIdBytes( - com.google.protobuf.ByteString value) { + public Builder setEventIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventId_ = value; onChanged(); return this; @@ -1056,6 +1197,8 @@ public Builder setEventIdBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1071,13 +1214,13 @@ public Builder setEventIdBytes(
      * 
* * string request_id = 4; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1086,6 +1229,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1101,15 +1246,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1117,6 +1261,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1132,20 +1278,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1161,15 +1309,18 @@ public Builder setRequestId(
      * 
* * string request_id = 4; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1185,23 +1336,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1211,12 +1362,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.CreateEventRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.CreateEventRequest) private static final com.google.cloud.video.livestream.v1.CreateEventRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.CreateEventRequest(); } @@ -1225,16 +1376,16 @@ public static com.google.cloud.video.livestream.v1.CreateEventRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateEventRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEventRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateEventRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1249,6 +1400,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.CreateEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequestOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequestOrBuilder.java index f55ccfc..f68b02f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequestOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateEventRequestOrBuilder.java @@ -1,62 +1,103 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface CreateEventRequestOrBuilder extends +public interface CreateEventRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.CreateEventRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent channel for the resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent channel for the resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The event resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the event field is set. */ boolean hasEvent(); /** + * + * *
    * Required. The event resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The event. */ com.google.cloud.video.livestream.v1.Event getEvent(); /** + * + * *
    * Required. The event resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.video.livestream.v1.EventOrBuilder getEventOrBuilder(); /** + * + * *
    * Required. The ID of the event resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -64,10 +105,13 @@ public interface CreateEventRequestOrBuilder extends
    * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventId. */ java.lang.String getEventId(); /** + * + * *
    * Required. The ID of the event resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -75,12 +119,14 @@ public interface CreateEventRequestOrBuilder extends
    * 
* * string event_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventId. */ - com.google.protobuf.ByteString - getEventIdBytes(); + com.google.protobuf.ByteString getEventIdBytes(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -96,10 +142,13 @@ public interface CreateEventRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -115,8 +164,8 @@ public interface CreateEventRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequest.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequest.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequest.java index bdb6a0b..b53cb6c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequest.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequest.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Request message for "LivestreamService.CreateInput".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.CreateInputRequest} */ -public final class CreateInputRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateInputRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.CreateInputRequest) CreateInputRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateInputRequest.newBuilder() to construct. private CreateInputRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateInputRequest() { parent_ = ""; inputId_ = ""; @@ -27,16 +45,15 @@ private CreateInputRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateInputRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateInputRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,44 +72,50 @@ private CreateInputRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.video.livestream.v1.Input.Builder subBuilder = null; - if (input_ != null) { - subBuilder = input_.toBuilder(); - } - input_ = input.readMessage(com.google.cloud.video.livestream.v1.Input.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(input_); - input_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.video.livestream.v1.Input.Builder subBuilder = null; + if (input_ != null) { + subBuilder = input_.toBuilder(); + } + input_ = + input.readMessage( + com.google.cloud.video.livestream.v1.Input.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(input_); + input_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - inputId_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + inputId_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,35 +123,42 @@ private CreateInputRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateInputRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_CreateInputRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.CreateInputRequest.class, com.google.cloud.video.livestream.v1.CreateInputRequest.Builder.class); + com.google.cloud.video.livestream.v1.CreateInputRequest.class, + com.google.cloud.video.livestream.v1.CreateInputRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -137,30 +167,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -171,11 +203,16 @@ public java.lang.String getParent() { public static final int INPUT_FIELD_NUMBER = 2; private com.google.cloud.video.livestream.v1.Input input_; /** + * + * *
    * Required. The input resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the input field is set. */ @java.lang.Override @@ -183,23 +220,34 @@ public boolean hasInput() { return input_ != null; } /** + * + * *
    * Required. The input resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The input. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Input getInput() { - return input_ == null ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() : input_; + return input_ == null + ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() + : input_; } /** + * + * *
    * Required. The input resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() { @@ -209,6 +257,8 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() { public static final int INPUT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object inputId_; /** + * + * *
    * Required. The ID of the input resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -216,6 +266,7 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() {
    * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputId. */ @java.lang.Override @@ -224,14 +275,15 @@ public java.lang.String getInputId() { 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(); inputId_ = s; return s; } } /** + * + * *
    * Required. The ID of the input resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -239,16 +291,15 @@ public java.lang.String getInputId() {
    * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for inputId. */ @java.lang.Override - public com.google.protobuf.ByteString - getInputIdBytes() { + public com.google.protobuf.ByteString getInputIdBytes() { java.lang.Object ref = inputId_; 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); inputId_ = b; return b; } else { @@ -259,6 +310,8 @@ public java.lang.String getInputId() { public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -274,6 +327,7 @@ public java.lang.String getInputId() {
    * 
* * string request_id = 4; + * * @return The requestId. */ @java.lang.Override @@ -282,14 +336,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -305,16 +360,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -323,6 +377,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,8 +389,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -361,8 +415,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (input_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getInput()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInput()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, inputId_); @@ -378,24 +431,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.CreateInputRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.CreateInputRequest other = (com.google.cloud.video.livestream.v1.CreateInputRequest) obj; + com.google.cloud.video.livestream.v1.CreateInputRequest other = + (com.google.cloud.video.livestream.v1.CreateInputRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasInput() != other.hasInput()) return false; if (hasInput()) { - if (!getInput() - .equals(other.getInput())) return false; + if (!getInput().equals(other.getInput())) return false; } - if (!getInputId() - .equals(other.getInputId())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getInputId().equals(other.getInputId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -423,117 +473,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.CreateInputRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.CreateInputRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.CreateInputRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.CreateInputRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.CreateInputRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.CreateInputRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for "LivestreamService.CreateInput".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.CreateInputRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.CreateInputRequest) com.google.cloud.video.livestream.v1.CreateInputRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateInputRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_CreateInputRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.CreateInputRequest.class, com.google.cloud.video.livestream.v1.CreateInputRequest.Builder.class); + com.google.cloud.video.livestream.v1.CreateInputRequest.class, + com.google.cloud.video.livestream.v1.CreateInputRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.CreateInputRequest.newBuilder() @@ -541,16 +601,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(); @@ -570,9 +629,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor; } @java.lang.Override @@ -591,7 +650,8 @@ public com.google.cloud.video.livestream.v1.CreateInputRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.CreateInputRequest buildPartial() { - com.google.cloud.video.livestream.v1.CreateInputRequest result = new com.google.cloud.video.livestream.v1.CreateInputRequest(this); + com.google.cloud.video.livestream.v1.CreateInputRequest result = + new com.google.cloud.video.livestream.v1.CreateInputRequest(this); result.parent_ = parent_; if (inputBuilder_ == null) { result.input_ = input_; @@ -608,38 +668,39 @@ public com.google.cloud.video.livestream.v1.CreateInputRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.CreateInputRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.CreateInputRequest)other); + return mergeFrom((com.google.cloud.video.livestream.v1.CreateInputRequest) other); } else { super.mergeFrom(other); return this; @@ -647,7 +708,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.CreateInputRequest other) { - if (other == com.google.cloud.video.livestream.v1.CreateInputRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.CreateInputRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -682,7 +744,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.CreateInputRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.CreateInputRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -694,19 +757,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -715,21 +782,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -737,57 +807,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -795,39 +878,58 @@ public Builder setParentBytes( private com.google.cloud.video.livestream.v1.Input input_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder> inputBuilder_; + com.google.cloud.video.livestream.v1.Input, + com.google.cloud.video.livestream.v1.Input.Builder, + com.google.cloud.video.livestream.v1.InputOrBuilder> + inputBuilder_; /** + * + * *
      * Required. The input resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the input field is set. */ public boolean hasInput() { return inputBuilder_ != null || input_ != null; } /** + * + * *
      * Required. The input resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The input. */ public com.google.cloud.video.livestream.v1.Input getInput() { if (inputBuilder_ == null) { - return input_ == null ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() : input_; + return input_ == null + ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() + : input_; } else { return inputBuilder_.getMessage(); } } /** + * + * *
      * Required. The input resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInput(com.google.cloud.video.livestream.v1.Input value) { if (inputBuilder_ == null) { @@ -843,14 +945,17 @@ public Builder setInput(com.google.cloud.video.livestream.v1.Input value) { return this; } /** + * + * *
      * Required. The input resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInput( - com.google.cloud.video.livestream.v1.Input.Builder builderForValue) { + public Builder setInput(com.google.cloud.video.livestream.v1.Input.Builder builderForValue) { if (inputBuilder_ == null) { input_ = builderForValue.build(); onChanged(); @@ -861,17 +966,23 @@ public Builder setInput( return this; } /** + * + * *
      * Required. The input resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInput(com.google.cloud.video.livestream.v1.Input value) { if (inputBuilder_ == null) { if (input_ != null) { input_ = - com.google.cloud.video.livestream.v1.Input.newBuilder(input_).mergeFrom(value).buildPartial(); + com.google.cloud.video.livestream.v1.Input.newBuilder(input_) + .mergeFrom(value) + .buildPartial(); } else { input_ = value; } @@ -883,11 +994,15 @@ public Builder mergeInput(com.google.cloud.video.livestream.v1.Input value) { return this; } /** + * + * *
      * Required. The input resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInput() { if (inputBuilder_ == null) { @@ -901,48 +1016,64 @@ public Builder clearInput() { return this; } /** + * + * *
      * Required. The input resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.video.livestream.v1.Input.Builder getInputBuilder() { - + onChanged(); return getInputFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The input resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() { if (inputBuilder_ != null) { return inputBuilder_.getMessageOrBuilder(); } else { - return input_ == null ? - com.google.cloud.video.livestream.v1.Input.getDefaultInstance() : input_; + return input_ == null + ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() + : input_; } } /** + * + * *
      * Required. The input resource to be created.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder> + com.google.cloud.video.livestream.v1.Input, + com.google.cloud.video.livestream.v1.Input.Builder, + com.google.cloud.video.livestream.v1.InputOrBuilder> getInputFieldBuilder() { if (inputBuilder_ == null) { - inputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder>( - getInput(), - getParentForChildren(), - isClean()); + inputBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.Input, + com.google.cloud.video.livestream.v1.Input.Builder, + com.google.cloud.video.livestream.v1.InputOrBuilder>( + getInput(), getParentForChildren(), isClean()); input_ = null; } return inputBuilder_; @@ -950,6 +1081,8 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() { private java.lang.Object inputId_ = ""; /** + * + * *
      * Required. The ID of the input resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -957,13 +1090,13 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() {
      * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputId. */ public java.lang.String getInputId() { java.lang.Object ref = inputId_; 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(); inputId_ = s; return s; @@ -972,6 +1105,8 @@ public java.lang.String getInputId() { } } /** + * + * *
      * Required. The ID of the input resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -979,15 +1114,14 @@ public java.lang.String getInputId() {
      * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for inputId. */ - public com.google.protobuf.ByteString - getInputIdBytes() { + public com.google.protobuf.ByteString getInputIdBytes() { java.lang.Object ref = inputId_; 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); inputId_ = b; return b; } else { @@ -995,6 +1129,8 @@ public java.lang.String getInputId() { } } /** + * + * *
      * Required. The ID of the input resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1002,20 +1138,22 @@ public java.lang.String getInputId() {
      * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The inputId to set. * @return This builder for chaining. */ - public Builder setInputId( - java.lang.String value) { + public Builder setInputId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID of the input resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1023,15 +1161,18 @@ public Builder setInputId(
      * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInputId() { - + inputId_ = getDefaultInstance().getInputId(); onChanged(); return this; } /** + * + * *
      * Required. The ID of the input resource to be created.
      * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -1039,16 +1180,16 @@ public Builder clearInputId() {
      * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for inputId to set. * @return This builder for chaining. */ - public Builder setInputIdBytes( - com.google.protobuf.ByteString value) { + public Builder setInputIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputId_ = value; onChanged(); return this; @@ -1056,6 +1197,8 @@ public Builder setInputIdBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1071,13 +1214,13 @@ public Builder setInputIdBytes(
      * 
* * string request_id = 4; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1086,6 +1229,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1101,15 +1246,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1117,6 +1261,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1132,20 +1278,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1161,15 +1309,18 @@ public Builder setRequestId(
      * 
* * string request_id = 4; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1185,23 +1336,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1211,12 +1362,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.CreateInputRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.CreateInputRequest) private static final com.google.cloud.video.livestream.v1.CreateInputRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.CreateInputRequest(); } @@ -1225,16 +1376,16 @@ public static com.google.cloud.video.livestream.v1.CreateInputRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInputRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateInputRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInputRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateInputRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1249,6 +1400,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.CreateInputRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequestOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequestOrBuilder.java index 669020a..248ff89 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequestOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/CreateInputRequestOrBuilder.java @@ -1,62 +1,103 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface CreateInputRequestOrBuilder extends +public interface CreateInputRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.CreateInputRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The input resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the input field is set. */ boolean hasInput(); /** + * + * *
    * Required. The input resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The input. */ com.google.cloud.video.livestream.v1.Input getInput(); /** + * + * *
    * Required. The input resource to be created.
    * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder(); /** + * + * *
    * Required. The ID of the input resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -64,10 +105,13 @@ public interface CreateInputRequestOrBuilder extends
    * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputId. */ java.lang.String getInputId(); /** + * + * *
    * Required. The ID of the input resource to be created.
    * This value must be 1-63 characters, begin and end with `[a-z0-9]`,
@@ -75,12 +119,14 @@ public interface CreateInputRequestOrBuilder extends
    * 
* * string input_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for inputId. */ - com.google.protobuf.ByteString - getInputIdBytes(); + com.google.protobuf.ByteString getInputIdBytes(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -96,10 +142,13 @@ public interface CreateInputRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -115,8 +164,8 @@ public interface CreateInputRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequest.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequest.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequest.java index c20b3a9..ee04de4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequest.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequest.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Request message for "LivestreamService.DeleteChannel".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.DeleteChannelRequest} */ -public final class DeleteChannelRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteChannelRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.DeleteChannelRequest) DeleteChannelRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteChannelRequest.newBuilder() to construct. private DeleteChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteChannelRequest() { name_ = ""; requestId_ = ""; @@ -26,16 +44,15 @@ private DeleteChannelRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private DeleteChannelRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 24: { + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - force_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + case 24: + { + force_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,35 +104,42 @@ private DeleteChannelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.DeleteChannelRequest.class, com.google.cloud.video.livestream.v1.DeleteChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.DeleteChannelRequest.class, + com.google.cloud.video.livestream.v1.DeleteChannelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -122,30 +148,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -156,6 +184,8 @@ public java.lang.String getName() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -171,6 +201,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2; + * * @return The requestId. */ @java.lang.Override @@ -179,14 +210,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -202,16 +234,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -222,6 +253,8 @@ public java.lang.String getRequestId() { public static final int FORCE_FIELD_NUMBER = 3; private boolean force_; /** + * + * *
    * If the `force` field is set to the default value of `false`, you must
    * delete all of a channel's events before you can delete the channel itself.
@@ -230,6 +263,7 @@ public java.lang.String getRequestId() {
    * 
* * bool force = 3; + * * @return The force. */ @java.lang.Override @@ -238,6 +272,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -276,8 +310,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -287,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.video.livestream.v1.DeleteChannelRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.DeleteChannelRequest other = (com.google.cloud.video.livestream.v1.DeleteChannelRequest) obj; + com.google.cloud.video.livestream.v1.DeleteChannelRequest other = + (com.google.cloud.video.livestream.v1.DeleteChannelRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getForce() != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -316,125 +347,134 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.DeleteChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.DeleteChannelRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.DeleteChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for "LivestreamService.DeleteChannel".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.DeleteChannelRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.DeleteChannelRequest) com.google.cloud.video.livestream.v1.DeleteChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.DeleteChannelRequest.class, com.google.cloud.video.livestream.v1.DeleteChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.DeleteChannelRequest.class, + com.google.cloud.video.livestream.v1.DeleteChannelRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.DeleteChannelRequest.newBuilder() @@ -442,16 +482,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(); @@ -465,9 +504,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor; } @java.lang.Override @@ -486,7 +525,8 @@ public com.google.cloud.video.livestream.v1.DeleteChannelRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.DeleteChannelRequest buildPartial() { - com.google.cloud.video.livestream.v1.DeleteChannelRequest result = new com.google.cloud.video.livestream.v1.DeleteChannelRequest(this); + com.google.cloud.video.livestream.v1.DeleteChannelRequest result = + new com.google.cloud.video.livestream.v1.DeleteChannelRequest(this); result.name_ = name_; result.requestId_ = requestId_; result.force_ = force_; @@ -498,38 +538,39 @@ public com.google.cloud.video.livestream.v1.DeleteChannelRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.DeleteChannelRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.DeleteChannelRequest)other); + return mergeFrom((com.google.cloud.video.livestream.v1.DeleteChannelRequest) other); } else { super.mergeFrom(other); return this; @@ -537,7 +578,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.DeleteChannelRequest other) { - if (other == com.google.cloud.video.livestream.v1.DeleteChannelRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.DeleteChannelRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -568,7 +610,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.DeleteChannelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.DeleteChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -580,19 +623,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -601,21 +648,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -623,57 +673,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -681,6 +744,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -696,13 +761,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -711,6 +776,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -726,15 +793,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -742,6 +808,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -757,20 +825,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -786,15 +856,18 @@ public Builder setRequestId(
      * 
* * string request_id = 2; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -810,23 +883,25 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * If the `force` field is set to the default value of `false`, you must
      * delete all of a channel's events before you can delete the channel itself.
@@ -835,6 +910,7 @@ public Builder setRequestIdBytes(
      * 
* * bool force = 3; + * * @return The force. */ @java.lang.Override @@ -842,6 +918,8 @@ public boolean getForce() { return force_; } /** + * + * *
      * If the `force` field is set to the default value of `false`, you must
      * delete all of a channel's events before you can delete the channel itself.
@@ -850,16 +928,19 @@ public boolean getForce() {
      * 
* * bool force = 3; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * If the `force` field is set to the default value of `false`, you must
      * delete all of a channel's events before you can delete the channel itself.
@@ -868,17 +949,18 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 3; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = 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); } @@ -888,12 +970,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.DeleteChannelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.DeleteChannelRequest) private static final com.google.cloud.video.livestream.v1.DeleteChannelRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.DeleteChannelRequest(); } @@ -902,16 +984,16 @@ public static com.google.cloud.video.livestream.v1.DeleteChannelRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -926,6 +1008,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.DeleteChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequestOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequestOrBuilder.java index ee09b7e..6cb7838 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequestOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteChannelRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface DeleteChannelRequestOrBuilder extends +public interface DeleteChannelRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.DeleteChannelRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -45,10 +72,13 @@ public interface DeleteChannelRequestOrBuilder extends
    * 
* * string request_id = 2; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -64,12 +94,14 @@ public interface DeleteChannelRequestOrBuilder extends
    * 
* * string request_id = 2; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * If the `force` field is set to the default value of `false`, you must
    * delete all of a channel's events before you can delete the channel itself.
@@ -78,6 +110,7 @@ public interface DeleteChannelRequestOrBuilder extends
    * 
* * bool force = 3; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequest.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequest.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequest.java index 1f2eb1c..eded430 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequest.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequest.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Request message for "LivestreamService.DeleteEvent".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.DeleteEventRequest} */ -public final class DeleteEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.DeleteEventRequest) DeleteEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteEventRequest.newBuilder() to construct. private DeleteEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteEventRequest() { name_ = ""; requestId_ = ""; @@ -26,16 +44,15 @@ private DeleteEventRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteEventRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private DeleteEventRequest( 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(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,42 @@ private DeleteEventRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.DeleteEventRequest.class, com.google.cloud.video.livestream.v1.DeleteEventRequest.Builder.class); + com.google.cloud.video.livestream.v1.DeleteEventRequest.class, + com.google.cloud.video.livestream.v1.DeleteEventRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the event resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -117,30 +143,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the event resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -151,6 +179,8 @@ public java.lang.String getName() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -166,6 +196,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2; + * * @return The requestId. */ @java.lang.Override @@ -174,14 +205,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -197,16 +229,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -215,6 +246,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,8 +258,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_); } @@ -257,17 +288,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.video.livestream.v1.DeleteEventRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.DeleteEventRequest other = (com.google.cloud.video.livestream.v1.DeleteEventRequest) obj; + com.google.cloud.video.livestream.v1.DeleteEventRequest other = + (com.google.cloud.video.livestream.v1.DeleteEventRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -289,117 +319,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.DeleteEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.DeleteEventRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.DeleteEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for "LivestreamService.DeleteEvent".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.DeleteEventRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.DeleteEventRequest) com.google.cloud.video.livestream.v1.DeleteEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.DeleteEventRequest.class, com.google.cloud.video.livestream.v1.DeleteEventRequest.Builder.class); + com.google.cloud.video.livestream.v1.DeleteEventRequest.class, + com.google.cloud.video.livestream.v1.DeleteEventRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.DeleteEventRequest.newBuilder() @@ -407,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 +467,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor; } @java.lang.Override @@ -449,7 +488,8 @@ public com.google.cloud.video.livestream.v1.DeleteEventRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.DeleteEventRequest buildPartial() { - com.google.cloud.video.livestream.v1.DeleteEventRequest result = new com.google.cloud.video.livestream.v1.DeleteEventRequest(this); + com.google.cloud.video.livestream.v1.DeleteEventRequest result = + new com.google.cloud.video.livestream.v1.DeleteEventRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -460,38 +500,39 @@ public com.google.cloud.video.livestream.v1.DeleteEventRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.DeleteEventRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.DeleteEventRequest)other); + return mergeFrom((com.google.cloud.video.livestream.v1.DeleteEventRequest) other); } else { super.mergeFrom(other); return this; @@ -499,7 +540,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.DeleteEventRequest other) { - if (other == com.google.cloud.video.livestream.v1.DeleteEventRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.DeleteEventRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -527,7 +569,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.DeleteEventRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.DeleteEventRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,19 +582,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -560,21 +607,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -582,57 +632,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -640,6 +703,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -655,13 +720,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -670,6 +735,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -685,15 +752,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -701,6 +767,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -716,20 +784,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -745,15 +815,18 @@ public Builder setRequestId(
      * 
* * string request_id = 2; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -769,23 +842,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -795,12 +868,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.DeleteEventRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.DeleteEventRequest) private static final com.google.cloud.video.livestream.v1.DeleteEventRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.DeleteEventRequest(); } @@ -809,16 +882,16 @@ public static com.google.cloud.video.livestream.v1.DeleteEventRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteEventRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEventRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteEventRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,6 +906,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.DeleteEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequestOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequestOrBuilder.java index cb3955c..0336781 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequestOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteEventRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface DeleteEventRequestOrBuilder extends +public interface DeleteEventRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.DeleteEventRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the event resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the event resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -45,10 +72,13 @@ public interface DeleteEventRequestOrBuilder extends
    * 
* * string request_id = 2; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -64,8 +94,8 @@ public interface DeleteEventRequestOrBuilder extends
    * 
* * string request_id = 2; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequest.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequest.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequest.java index cdac561..18dda42 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequest.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequest.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Request message for "LivestreamService.DeleteInput".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.DeleteInputRequest} */ -public final class DeleteInputRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteInputRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.DeleteInputRequest) DeleteInputRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteInputRequest.newBuilder() to construct. private DeleteInputRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteInputRequest() { name_ = ""; requestId_ = ""; @@ -26,16 +44,15 @@ private DeleteInputRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteInputRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteInputRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private DeleteInputRequest( 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(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,42 @@ private DeleteInputRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.DeleteInputRequest.class, com.google.cloud.video.livestream.v1.DeleteInputRequest.Builder.class); + com.google.cloud.video.livestream.v1.DeleteInputRequest.class, + com.google.cloud.video.livestream.v1.DeleteInputRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the input resource, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -117,30 +143,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the input resource, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -151,6 +179,8 @@ public java.lang.String getName() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -166,6 +196,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2; + * * @return The requestId. */ @java.lang.Override @@ -174,14 +205,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -197,16 +229,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -215,6 +246,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,8 +258,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_); } @@ -257,17 +288,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.video.livestream.v1.DeleteInputRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.DeleteInputRequest other = (com.google.cloud.video.livestream.v1.DeleteInputRequest) obj; + com.google.cloud.video.livestream.v1.DeleteInputRequest other = + (com.google.cloud.video.livestream.v1.DeleteInputRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -289,117 +319,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.DeleteInputRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.DeleteInputRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.DeleteInputRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for "LivestreamService.DeleteInput".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.DeleteInputRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.DeleteInputRequest) com.google.cloud.video.livestream.v1.DeleteInputRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.DeleteInputRequest.class, com.google.cloud.video.livestream.v1.DeleteInputRequest.Builder.class); + com.google.cloud.video.livestream.v1.DeleteInputRequest.class, + com.google.cloud.video.livestream.v1.DeleteInputRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.DeleteInputRequest.newBuilder() @@ -407,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 +467,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor; } @java.lang.Override @@ -449,7 +488,8 @@ public com.google.cloud.video.livestream.v1.DeleteInputRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.DeleteInputRequest buildPartial() { - com.google.cloud.video.livestream.v1.DeleteInputRequest result = new com.google.cloud.video.livestream.v1.DeleteInputRequest(this); + com.google.cloud.video.livestream.v1.DeleteInputRequest result = + new com.google.cloud.video.livestream.v1.DeleteInputRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -460,38 +500,39 @@ public com.google.cloud.video.livestream.v1.DeleteInputRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.DeleteInputRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.DeleteInputRequest)other); + return mergeFrom((com.google.cloud.video.livestream.v1.DeleteInputRequest) other); } else { super.mergeFrom(other); return this; @@ -499,7 +540,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.DeleteInputRequest other) { - if (other == com.google.cloud.video.livestream.v1.DeleteInputRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.DeleteInputRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -527,7 +569,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.DeleteInputRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.DeleteInputRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,19 +582,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -560,21 +607,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -582,57 +632,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -640,6 +703,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -655,13 +720,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -670,6 +735,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -685,15 +752,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -701,6 +767,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -716,20 +784,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -745,15 +815,18 @@ public Builder setRequestId(
      * 
* * string request_id = 2; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -769,23 +842,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -795,12 +868,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.DeleteInputRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.DeleteInputRequest) private static final com.google.cloud.video.livestream.v1.DeleteInputRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.DeleteInputRequest(); } @@ -809,16 +882,16 @@ public static com.google.cloud.video.livestream.v1.DeleteInputRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInputRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteInputRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInputRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteInputRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,6 +906,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.DeleteInputRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequestOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequestOrBuilder.java index c3a4b90..920e65b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequestOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/DeleteInputRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface DeleteInputRequestOrBuilder extends +public interface DeleteInputRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.DeleteInputRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the input resource, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the input resource, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -45,10 +72,13 @@ public interface DeleteInputRequestOrBuilder extends
    * 
* * string request_id = 2; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -64,8 +94,8 @@ public interface DeleteInputRequestOrBuilder extends
    * 
* * string request_id = 2; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStream.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStream.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStream.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStream.java index 08a7b84..e404b85 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStream.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStream.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/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Encoding of an input element such as an audio, video, or text track.
  * Elementary streams must be packaged before mapping and sharing between
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.video.livestream.v1.ElementaryStream}
  */
-public final class ElementaryStream extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ElementaryStream extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.ElementaryStream)
     ElementaryStreamOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ElementaryStream.newBuilder() to construct.
   private ElementaryStream(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ElementaryStream() {
     key_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ElementaryStream();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ElementaryStream(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,61 +72,77 @@ private ElementaryStream(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.video.livestream.v1.VideoStream.Builder subBuilder = null;
-            if (elementaryStreamCase_ == 1) {
-              subBuilder = ((com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_).toBuilder();
-            }
-            elementaryStream_ =
-                input.readMessage(com.google.cloud.video.livestream.v1.VideoStream.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_);
-              elementaryStream_ = subBuilder.buildPartial();
-            }
-            elementaryStreamCase_ = 1;
-            break;
-          }
-          case 18: {
-            com.google.cloud.video.livestream.v1.AudioStream.Builder subBuilder = null;
-            if (elementaryStreamCase_ == 2) {
-              subBuilder = ((com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_).toBuilder();
-            }
-            elementaryStream_ =
-                input.readMessage(com.google.cloud.video.livestream.v1.AudioStream.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_);
-              elementaryStream_ = subBuilder.buildPartial();
+          case 10:
+            {
+              com.google.cloud.video.livestream.v1.VideoStream.Builder subBuilder = null;
+              if (elementaryStreamCase_ == 1) {
+                subBuilder =
+                    ((com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_)
+                        .toBuilder();
+              }
+              elementaryStream_ =
+                  input.readMessage(
+                      com.google.cloud.video.livestream.v1.VideoStream.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_);
+                elementaryStream_ = subBuilder.buildPartial();
+              }
+              elementaryStreamCase_ = 1;
+              break;
             }
-            elementaryStreamCase_ = 2;
-            break;
-          }
-          case 26: {
-            com.google.cloud.video.livestream.v1.TextStream.Builder subBuilder = null;
-            if (elementaryStreamCase_ == 3) {
-              subBuilder = ((com.google.cloud.video.livestream.v1.TextStream) elementaryStream_).toBuilder();
+          case 18:
+            {
+              com.google.cloud.video.livestream.v1.AudioStream.Builder subBuilder = null;
+              if (elementaryStreamCase_ == 2) {
+                subBuilder =
+                    ((com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_)
+                        .toBuilder();
+              }
+              elementaryStream_ =
+                  input.readMessage(
+                      com.google.cloud.video.livestream.v1.AudioStream.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_);
+                elementaryStream_ = subBuilder.buildPartial();
+              }
+              elementaryStreamCase_ = 2;
+              break;
             }
-            elementaryStream_ =
-                input.readMessage(com.google.cloud.video.livestream.v1.TextStream.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.video.livestream.v1.TextStream) elementaryStream_);
-              elementaryStream_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.cloud.video.livestream.v1.TextStream.Builder subBuilder = null;
+              if (elementaryStreamCase_ == 3) {
+                subBuilder =
+                    ((com.google.cloud.video.livestream.v1.TextStream) elementaryStream_)
+                        .toBuilder();
+              }
+              elementaryStream_ =
+                  input.readMessage(
+                      com.google.cloud.video.livestream.v1.TextStream.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_);
+                elementaryStream_ = subBuilder.buildPartial();
+              }
+              elementaryStreamCase_ = 3;
+              break;
             }
-            elementaryStreamCase_ = 3;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            key_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              key_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -117,36 +150,41 @@ private ElementaryStream(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.video.livestream.v1.OutputsProto
+        .internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_ElementaryStream_fieldAccessorTable
+    return com.google.cloud.video.livestream.v1.OutputsProto
+        .internal_static_google_cloud_video_livestream_v1_ElementaryStream_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.video.livestream.v1.ElementaryStream.class, com.google.cloud.video.livestream.v1.ElementaryStream.Builder.class);
+            com.google.cloud.video.livestream.v1.ElementaryStream.class,
+            com.google.cloud.video.livestream.v1.ElementaryStream.Builder.class);
   }
 
   private int elementaryStreamCase_ = 0;
   private java.lang.Object elementaryStream_;
+
   public enum ElementaryStreamCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     VIDEO_STREAM(1),
     AUDIO_STREAM(2),
     TEXT_STREAM(3),
     ELEMENTARYSTREAM_NOT_SET(0);
     private final int value;
+
     private ElementaryStreamCase(int value) {
       this.value = value;
     }
@@ -162,32 +200,39 @@ public static ElementaryStreamCase valueOf(int value) {
 
     public static ElementaryStreamCase forNumber(int value) {
       switch (value) {
-        case 1: return VIDEO_STREAM;
-        case 2: return AUDIO_STREAM;
-        case 3: return TEXT_STREAM;
-        case 0: return ELEMENTARYSTREAM_NOT_SET;
-        default: return null;
+        case 1:
+          return VIDEO_STREAM;
+        case 2:
+          return AUDIO_STREAM;
+        case 3:
+          return TEXT_STREAM;
+        case 0:
+          return ELEMENTARYSTREAM_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ElementaryStreamCase
-  getElementaryStreamCase() {
-    return ElementaryStreamCase.forNumber(
-        elementaryStreamCase_);
+  public ElementaryStreamCase getElementaryStreamCase() {
+    return ElementaryStreamCase.forNumber(elementaryStreamCase_);
   }
 
   public static final int KEY_FIELD_NUMBER = 4;
   private volatile java.lang.Object key_;
   /**
+   *
+   *
    * 
    * A unique key for this elementary stream.
    * 
* * string key = 4; + * * @return The key. */ @java.lang.Override @@ -196,29 +241,29 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** + * + * *
    * A unique key for this elementary stream.
    * 
* * string key = 4; + * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -228,11 +273,14 @@ public java.lang.String getKey() { public static final int VIDEO_STREAM_FIELD_NUMBER = 1; /** + * + * *
    * Encoding of a video stream.
    * 
* * .google.cloud.video.livestream.v1.VideoStream video_stream = 1; + * * @return Whether the videoStream field is set. */ @java.lang.Override @@ -240,21 +288,26 @@ public boolean hasVideoStream() { return elementaryStreamCase_ == 1; } /** + * + * *
    * Encoding of a video stream.
    * 
* * .google.cloud.video.livestream.v1.VideoStream video_stream = 1; + * * @return The videoStream. */ @java.lang.Override public com.google.cloud.video.livestream.v1.VideoStream getVideoStream() { if (elementaryStreamCase_ == 1) { - return (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_; + return (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_; } return com.google.cloud.video.livestream.v1.VideoStream.getDefaultInstance(); } /** + * + * *
    * Encoding of a video stream.
    * 
@@ -264,18 +317,21 @@ public com.google.cloud.video.livestream.v1.VideoStream getVideoStream() { @java.lang.Override public com.google.cloud.video.livestream.v1.VideoStreamOrBuilder getVideoStreamOrBuilder() { if (elementaryStreamCase_ == 1) { - return (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_; + return (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_; } return com.google.cloud.video.livestream.v1.VideoStream.getDefaultInstance(); } public static final int AUDIO_STREAM_FIELD_NUMBER = 2; /** + * + * *
    * Encoding of an audio stream.
    * 
* * .google.cloud.video.livestream.v1.AudioStream audio_stream = 2; + * * @return Whether the audioStream field is set. */ @java.lang.Override @@ -283,21 +339,26 @@ public boolean hasAudioStream() { return elementaryStreamCase_ == 2; } /** + * + * *
    * Encoding of an audio stream.
    * 
* * .google.cloud.video.livestream.v1.AudioStream audio_stream = 2; + * * @return The audioStream. */ @java.lang.Override public com.google.cloud.video.livestream.v1.AudioStream getAudioStream() { if (elementaryStreamCase_ == 2) { - return (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_; + return (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_; } return com.google.cloud.video.livestream.v1.AudioStream.getDefaultInstance(); } /** + * + * *
    * Encoding of an audio stream.
    * 
@@ -307,18 +368,21 @@ public com.google.cloud.video.livestream.v1.AudioStream getAudioStream() { @java.lang.Override public com.google.cloud.video.livestream.v1.AudioStreamOrBuilder getAudioStreamOrBuilder() { if (elementaryStreamCase_ == 2) { - return (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_; + return (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_; } return com.google.cloud.video.livestream.v1.AudioStream.getDefaultInstance(); } public static final int TEXT_STREAM_FIELD_NUMBER = 3; /** + * + * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
* * .google.cloud.video.livestream.v1.TextStream text_stream = 3; + * * @return Whether the textStream field is set. */ @java.lang.Override @@ -326,21 +390,26 @@ public boolean hasTextStream() { return elementaryStreamCase_ == 3; } /** + * + * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
* * .google.cloud.video.livestream.v1.TextStream text_stream = 3; + * * @return The textStream. */ @java.lang.Override public com.google.cloud.video.livestream.v1.TextStream getTextStream() { if (elementaryStreamCase_ == 3) { - return (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_; + return (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_; } return com.google.cloud.video.livestream.v1.TextStream.getDefaultInstance(); } /** + * + * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
@@ -350,12 +419,13 @@ public com.google.cloud.video.livestream.v1.TextStream getTextStream() { @java.lang.Override public com.google.cloud.video.livestream.v1.TextStreamOrBuilder getTextStreamOrBuilder() { if (elementaryStreamCase_ == 3) { - return (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_; + return (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_; } return com.google.cloud.video.livestream.v1.TextStream.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -367,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 (elementaryStreamCase_ == 1) { output.writeMessage(1, (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_); } @@ -391,16 +460,19 @@ public int getSerializedSize() { size = 0; if (elementaryStreamCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_); } if (elementaryStreamCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_); } if (elementaryStreamCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, key_); @@ -413,28 +485,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.ElementaryStream)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.ElementaryStream other = (com.google.cloud.video.livestream.v1.ElementaryStream) obj; + com.google.cloud.video.livestream.v1.ElementaryStream other = + (com.google.cloud.video.livestream.v1.ElementaryStream) obj; - if (!getKey() - .equals(other.getKey())) return false; + if (!getKey().equals(other.getKey())) return false; if (!getElementaryStreamCase().equals(other.getElementaryStreamCase())) return false; switch (elementaryStreamCase_) { case 1: - if (!getVideoStream() - .equals(other.getVideoStream())) return false; + if (!getVideoStream().equals(other.getVideoStream())) return false; break; case 2: - if (!getAudioStream() - .equals(other.getAudioStream())) return false; + if (!getAudioStream().equals(other.getAudioStream())) return false; break; case 3: - if (!getTextStream() - .equals(other.getTextStream())) return false; + if (!getTextStream().equals(other.getTextStream())) return false; break; case 0: default: @@ -474,96 +543,104 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ElementaryStream parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.ElementaryStream parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ElementaryStream parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ElementaryStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.ElementaryStream prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.ElementaryStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Encoding of an input element such as an audio, video, or text track.
    * Elementary streams must be packaged before mapping and sharing between
@@ -572,21 +649,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.video.livestream.v1.ElementaryStream}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.ElementaryStream)
       com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.video.livestream.v1.OutputsProto
+          .internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_ElementaryStream_fieldAccessorTable
+      return com.google.cloud.video.livestream.v1.OutputsProto
+          .internal_static_google_cloud_video_livestream_v1_ElementaryStream_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.livestream.v1.ElementaryStream.class, com.google.cloud.video.livestream.v1.ElementaryStream.Builder.class);
+              com.google.cloud.video.livestream.v1.ElementaryStream.class,
+              com.google.cloud.video.livestream.v1.ElementaryStream.Builder.class);
     }
 
     // Construct using com.google.cloud.video.livestream.v1.ElementaryStream.newBuilder()
@@ -594,16 +673,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();
@@ -615,9 +693,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.video.livestream.v1.OutputsProto
+          .internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor;
     }
 
     @java.lang.Override
@@ -636,7 +714,8 @@ public com.google.cloud.video.livestream.v1.ElementaryStream build() {
 
     @java.lang.Override
     public com.google.cloud.video.livestream.v1.ElementaryStream buildPartial() {
-      com.google.cloud.video.livestream.v1.ElementaryStream result = new com.google.cloud.video.livestream.v1.ElementaryStream(this);
+      com.google.cloud.video.livestream.v1.ElementaryStream result =
+          new com.google.cloud.video.livestream.v1.ElementaryStream(this);
       result.key_ = key_;
       if (elementaryStreamCase_ == 1) {
         if (videoStreamBuilder_ == null) {
@@ -668,38 +747,39 @@ public com.google.cloud.video.livestream.v1.ElementaryStream buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.video.livestream.v1.ElementaryStream) {
-        return mergeFrom((com.google.cloud.video.livestream.v1.ElementaryStream)other);
+        return mergeFrom((com.google.cloud.video.livestream.v1.ElementaryStream) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -707,27 +787,32 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.video.livestream.v1.ElementaryStream other) {
-      if (other == com.google.cloud.video.livestream.v1.ElementaryStream.getDefaultInstance()) return this;
+      if (other == com.google.cloud.video.livestream.v1.ElementaryStream.getDefaultInstance())
+        return this;
       if (!other.getKey().isEmpty()) {
         key_ = other.key_;
         onChanged();
       }
       switch (other.getElementaryStreamCase()) {
-        case VIDEO_STREAM: {
-          mergeVideoStream(other.getVideoStream());
-          break;
-        }
-        case AUDIO_STREAM: {
-          mergeAudioStream(other.getAudioStream());
-          break;
-        }
-        case TEXT_STREAM: {
-          mergeTextStream(other.getTextStream());
-          break;
-        }
-        case ELEMENTARYSTREAM_NOT_SET: {
-          break;
-        }
+        case VIDEO_STREAM:
+          {
+            mergeVideoStream(other.getVideoStream());
+            break;
+          }
+        case AUDIO_STREAM:
+          {
+            mergeAudioStream(other.getAudioStream());
+            break;
+          }
+        case TEXT_STREAM:
+          {
+            mergeTextStream(other.getTextStream());
+            break;
+          }
+        case ELEMENTARYSTREAM_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -748,7 +833,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.video.livestream.v1.ElementaryStream) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.video.livestream.v1.ElementaryStream) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -757,12 +843,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int elementaryStreamCase_ = 0;
     private java.lang.Object elementaryStream_;
-    public ElementaryStreamCase
-        getElementaryStreamCase() {
-      return ElementaryStreamCase.forNumber(
-          elementaryStreamCase_);
+
+    public ElementaryStreamCase getElementaryStreamCase() {
+      return ElementaryStreamCase.forNumber(elementaryStreamCase_);
     }
 
     public Builder clearElementaryStream() {
@@ -772,21 +858,22 @@ public Builder clearElementaryStream() {
       return this;
     }
 
-
     private java.lang.Object key_ = "";
     /**
+     *
+     *
      * 
      * A unique key for this elementary stream.
      * 
* * string key = 4; + * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -795,20 +882,21 @@ public java.lang.String getKey() { } } /** + * + * *
      * A unique key for this elementary stream.
      * 
* * string key = 4; + * * @return The bytes for key. */ - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -816,67 +904,80 @@ public java.lang.String getKey() { } } /** + * + * *
      * A unique key for this elementary stream.
      * 
* * string key = 4; + * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey( - java.lang.String value) { + public Builder setKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** + * + * *
      * A unique key for this elementary stream.
      * 
* * string key = 4; + * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** + * + * *
      * A unique key for this elementary stream.
      * 
* * string key = 4; + * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoStream, com.google.cloud.video.livestream.v1.VideoStream.Builder, com.google.cloud.video.livestream.v1.VideoStreamOrBuilder> videoStreamBuilder_; + com.google.cloud.video.livestream.v1.VideoStream, + com.google.cloud.video.livestream.v1.VideoStream.Builder, + com.google.cloud.video.livestream.v1.VideoStreamOrBuilder> + videoStreamBuilder_; /** + * + * *
      * Encoding of a video stream.
      * 
* * .google.cloud.video.livestream.v1.VideoStream video_stream = 1; + * * @return Whether the videoStream field is set. */ @java.lang.Override @@ -884,11 +985,14 @@ public boolean hasVideoStream() { return elementaryStreamCase_ == 1; } /** + * + * *
      * Encoding of a video stream.
      * 
* * .google.cloud.video.livestream.v1.VideoStream video_stream = 1; + * * @return The videoStream. */ @java.lang.Override @@ -906,6 +1010,8 @@ public com.google.cloud.video.livestream.v1.VideoStream getVideoStream() { } } /** + * + * *
      * Encoding of a video stream.
      * 
@@ -926,6 +1032,8 @@ public Builder setVideoStream(com.google.cloud.video.livestream.v1.VideoStream v return this; } /** + * + * *
      * Encoding of a video stream.
      * 
@@ -944,6 +1052,8 @@ public Builder setVideoStream( return this; } /** + * + * *
      * Encoding of a video stream.
      * 
@@ -952,10 +1062,14 @@ public Builder setVideoStream( */ public Builder mergeVideoStream(com.google.cloud.video.livestream.v1.VideoStream value) { if (videoStreamBuilder_ == null) { - if (elementaryStreamCase_ == 1 && - elementaryStream_ != com.google.cloud.video.livestream.v1.VideoStream.getDefaultInstance()) { - elementaryStream_ = com.google.cloud.video.livestream.v1.VideoStream.newBuilder((com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_) - .mergeFrom(value).buildPartial(); + if (elementaryStreamCase_ == 1 + && elementaryStream_ + != com.google.cloud.video.livestream.v1.VideoStream.getDefaultInstance()) { + elementaryStream_ = + com.google.cloud.video.livestream.v1.VideoStream.newBuilder( + (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_) + .mergeFrom(value) + .buildPartial(); } else { elementaryStream_ = value; } @@ -971,6 +1085,8 @@ public Builder mergeVideoStream(com.google.cloud.video.livestream.v1.VideoStream return this; } /** + * + * *
      * Encoding of a video stream.
      * 
@@ -994,6 +1110,8 @@ public Builder clearVideoStream() { return this; } /** + * + * *
      * Encoding of a video stream.
      * 
@@ -1004,6 +1122,8 @@ public com.google.cloud.video.livestream.v1.VideoStream.Builder getVideoStreamBu return getVideoStreamFieldBuilder().getBuilder(); } /** + * + * *
      * Encoding of a video stream.
      * 
@@ -1022,6 +1142,8 @@ public com.google.cloud.video.livestream.v1.VideoStreamOrBuilder getVideoStreamO } } /** + * + * *
      * Encoding of a video stream.
      * 
@@ -1029,32 +1151,44 @@ public com.google.cloud.video.livestream.v1.VideoStreamOrBuilder getVideoStreamO * .google.cloud.video.livestream.v1.VideoStream video_stream = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoStream, com.google.cloud.video.livestream.v1.VideoStream.Builder, com.google.cloud.video.livestream.v1.VideoStreamOrBuilder> + com.google.cloud.video.livestream.v1.VideoStream, + com.google.cloud.video.livestream.v1.VideoStream.Builder, + com.google.cloud.video.livestream.v1.VideoStreamOrBuilder> getVideoStreamFieldBuilder() { if (videoStreamBuilder_ == null) { if (!(elementaryStreamCase_ == 1)) { elementaryStream_ = com.google.cloud.video.livestream.v1.VideoStream.getDefaultInstance(); } - videoStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoStream, com.google.cloud.video.livestream.v1.VideoStream.Builder, com.google.cloud.video.livestream.v1.VideoStreamOrBuilder>( + videoStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.VideoStream, + com.google.cloud.video.livestream.v1.VideoStream.Builder, + com.google.cloud.video.livestream.v1.VideoStreamOrBuilder>( (com.google.cloud.video.livestream.v1.VideoStream) elementaryStream_, getParentForChildren(), isClean()); elementaryStream_ = null; } elementaryStreamCase_ = 1; - onChanged();; + onChanged(); + ; return videoStreamBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStream, com.google.cloud.video.livestream.v1.AudioStream.Builder, com.google.cloud.video.livestream.v1.AudioStreamOrBuilder> audioStreamBuilder_; + com.google.cloud.video.livestream.v1.AudioStream, + com.google.cloud.video.livestream.v1.AudioStream.Builder, + com.google.cloud.video.livestream.v1.AudioStreamOrBuilder> + audioStreamBuilder_; /** + * + * *
      * Encoding of an audio stream.
      * 
* * .google.cloud.video.livestream.v1.AudioStream audio_stream = 2; + * * @return Whether the audioStream field is set. */ @java.lang.Override @@ -1062,11 +1196,14 @@ public boolean hasAudioStream() { return elementaryStreamCase_ == 2; } /** + * + * *
      * Encoding of an audio stream.
      * 
* * .google.cloud.video.livestream.v1.AudioStream audio_stream = 2; + * * @return The audioStream. */ @java.lang.Override @@ -1084,6 +1221,8 @@ public com.google.cloud.video.livestream.v1.AudioStream getAudioStream() { } } /** + * + * *
      * Encoding of an audio stream.
      * 
@@ -1104,6 +1243,8 @@ public Builder setAudioStream(com.google.cloud.video.livestream.v1.AudioStream v return this; } /** + * + * *
      * Encoding of an audio stream.
      * 
@@ -1122,6 +1263,8 @@ public Builder setAudioStream( return this; } /** + * + * *
      * Encoding of an audio stream.
      * 
@@ -1130,10 +1273,14 @@ public Builder setAudioStream( */ public Builder mergeAudioStream(com.google.cloud.video.livestream.v1.AudioStream value) { if (audioStreamBuilder_ == null) { - if (elementaryStreamCase_ == 2 && - elementaryStream_ != com.google.cloud.video.livestream.v1.AudioStream.getDefaultInstance()) { - elementaryStream_ = com.google.cloud.video.livestream.v1.AudioStream.newBuilder((com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_) - .mergeFrom(value).buildPartial(); + if (elementaryStreamCase_ == 2 + && elementaryStream_ + != com.google.cloud.video.livestream.v1.AudioStream.getDefaultInstance()) { + elementaryStream_ = + com.google.cloud.video.livestream.v1.AudioStream.newBuilder( + (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_) + .mergeFrom(value) + .buildPartial(); } else { elementaryStream_ = value; } @@ -1149,6 +1296,8 @@ public Builder mergeAudioStream(com.google.cloud.video.livestream.v1.AudioStream return this; } /** + * + * *
      * Encoding of an audio stream.
      * 
@@ -1172,6 +1321,8 @@ public Builder clearAudioStream() { return this; } /** + * + * *
      * Encoding of an audio stream.
      * 
@@ -1182,6 +1333,8 @@ public com.google.cloud.video.livestream.v1.AudioStream.Builder getAudioStreamBu return getAudioStreamFieldBuilder().getBuilder(); } /** + * + * *
      * Encoding of an audio stream.
      * 
@@ -1200,6 +1353,8 @@ public com.google.cloud.video.livestream.v1.AudioStreamOrBuilder getAudioStreamO } } /** + * + * *
      * Encoding of an audio stream.
      * 
@@ -1207,32 +1362,44 @@ public com.google.cloud.video.livestream.v1.AudioStreamOrBuilder getAudioStreamO * .google.cloud.video.livestream.v1.AudioStream audio_stream = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStream, com.google.cloud.video.livestream.v1.AudioStream.Builder, com.google.cloud.video.livestream.v1.AudioStreamOrBuilder> + com.google.cloud.video.livestream.v1.AudioStream, + com.google.cloud.video.livestream.v1.AudioStream.Builder, + com.google.cloud.video.livestream.v1.AudioStreamOrBuilder> getAudioStreamFieldBuilder() { if (audioStreamBuilder_ == null) { if (!(elementaryStreamCase_ == 2)) { elementaryStream_ = com.google.cloud.video.livestream.v1.AudioStream.getDefaultInstance(); } - audioStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStream, com.google.cloud.video.livestream.v1.AudioStream.Builder, com.google.cloud.video.livestream.v1.AudioStreamOrBuilder>( + audioStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.AudioStream, + com.google.cloud.video.livestream.v1.AudioStream.Builder, + com.google.cloud.video.livestream.v1.AudioStreamOrBuilder>( (com.google.cloud.video.livestream.v1.AudioStream) elementaryStream_, getParentForChildren(), isClean()); elementaryStream_ = null; } elementaryStreamCase_ = 2; - onChanged();; + onChanged(); + ; return audioStreamBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.TextStream, com.google.cloud.video.livestream.v1.TextStream.Builder, com.google.cloud.video.livestream.v1.TextStreamOrBuilder> textStreamBuilder_; + com.google.cloud.video.livestream.v1.TextStream, + com.google.cloud.video.livestream.v1.TextStream.Builder, + com.google.cloud.video.livestream.v1.TextStreamOrBuilder> + textStreamBuilder_; /** + * + * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
* * .google.cloud.video.livestream.v1.TextStream text_stream = 3; + * * @return Whether the textStream field is set. */ @java.lang.Override @@ -1240,11 +1407,14 @@ public boolean hasTextStream() { return elementaryStreamCase_ == 3; } /** + * + * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
* * .google.cloud.video.livestream.v1.TextStream text_stream = 3; + * * @return The textStream. */ @java.lang.Override @@ -1262,6 +1432,8 @@ public com.google.cloud.video.livestream.v1.TextStream getTextStream() { } } /** + * + * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1282,6 +1454,8 @@ public Builder setTextStream(com.google.cloud.video.livestream.v1.TextStream val return this; } /** + * + * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1300,6 +1474,8 @@ public Builder setTextStream( return this; } /** + * + * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1308,10 +1484,14 @@ public Builder setTextStream( */ public Builder mergeTextStream(com.google.cloud.video.livestream.v1.TextStream value) { if (textStreamBuilder_ == null) { - if (elementaryStreamCase_ == 3 && - elementaryStream_ != com.google.cloud.video.livestream.v1.TextStream.getDefaultInstance()) { - elementaryStream_ = com.google.cloud.video.livestream.v1.TextStream.newBuilder((com.google.cloud.video.livestream.v1.TextStream) elementaryStream_) - .mergeFrom(value).buildPartial(); + if (elementaryStreamCase_ == 3 + && elementaryStream_ + != com.google.cloud.video.livestream.v1.TextStream.getDefaultInstance()) { + elementaryStream_ = + com.google.cloud.video.livestream.v1.TextStream.newBuilder( + (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_) + .mergeFrom(value) + .buildPartial(); } else { elementaryStream_ = value; } @@ -1327,6 +1507,8 @@ public Builder mergeTextStream(com.google.cloud.video.livestream.v1.TextStream v return this; } /** + * + * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1350,6 +1532,8 @@ public Builder clearTextStream() { return this; } /** + * + * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1360,6 +1544,8 @@ public com.google.cloud.video.livestream.v1.TextStream.Builder getTextStreamBuil return getTextStreamFieldBuilder().getBuilder(); } /** + * + * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1378,6 +1564,8 @@ public com.google.cloud.video.livestream.v1.TextStreamOrBuilder getTextStreamOrB } } /** + * + * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1385,26 +1573,32 @@ public com.google.cloud.video.livestream.v1.TextStreamOrBuilder getTextStreamOrB * .google.cloud.video.livestream.v1.TextStream text_stream = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.TextStream, com.google.cloud.video.livestream.v1.TextStream.Builder, com.google.cloud.video.livestream.v1.TextStreamOrBuilder> + com.google.cloud.video.livestream.v1.TextStream, + com.google.cloud.video.livestream.v1.TextStream.Builder, + com.google.cloud.video.livestream.v1.TextStreamOrBuilder> getTextStreamFieldBuilder() { if (textStreamBuilder_ == null) { if (!(elementaryStreamCase_ == 3)) { elementaryStream_ = com.google.cloud.video.livestream.v1.TextStream.getDefaultInstance(); } - textStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.TextStream, com.google.cloud.video.livestream.v1.TextStream.Builder, com.google.cloud.video.livestream.v1.TextStreamOrBuilder>( + textStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.TextStream, + com.google.cloud.video.livestream.v1.TextStream.Builder, + com.google.cloud.video.livestream.v1.TextStreamOrBuilder>( (com.google.cloud.video.livestream.v1.TextStream) elementaryStream_, getParentForChildren(), isClean()); elementaryStream_ = null; } elementaryStreamCase_ = 3; - onChanged();; + onChanged(); + ; return textStreamBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1414,12 +1608,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.ElementaryStream) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.ElementaryStream) private static final com.google.cloud.video.livestream.v1.ElementaryStream DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.ElementaryStream(); } @@ -1428,16 +1622,16 @@ public static com.google.cloud.video.livestream.v1.ElementaryStream getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ElementaryStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ElementaryStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ElementaryStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ElementaryStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1452,6 +1646,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.ElementaryStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStreamOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStreamOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStreamOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStreamOrBuilder.java index 482f500..3b2625f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStreamOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ElementaryStreamOrBuilder.java @@ -1,51 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; -public interface ElementaryStreamOrBuilder extends +public interface ElementaryStreamOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ElementaryStream) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A unique key for this elementary stream.
    * 
* * string key = 4; + * * @return The key. */ java.lang.String getKey(); /** + * + * *
    * A unique key for this elementary stream.
    * 
* * string key = 4; + * * @return The bytes for key. */ - com.google.protobuf.ByteString - getKeyBytes(); + com.google.protobuf.ByteString getKeyBytes(); /** + * + * *
    * Encoding of a video stream.
    * 
* * .google.cloud.video.livestream.v1.VideoStream video_stream = 1; + * * @return Whether the videoStream field is set. */ boolean hasVideoStream(); /** + * + * *
    * Encoding of a video stream.
    * 
* * .google.cloud.video.livestream.v1.VideoStream video_stream = 1; + * * @return The videoStream. */ com.google.cloud.video.livestream.v1.VideoStream getVideoStream(); /** + * + * *
    * Encoding of a video stream.
    * 
@@ -55,24 +84,32 @@ public interface ElementaryStreamOrBuilder extends com.google.cloud.video.livestream.v1.VideoStreamOrBuilder getVideoStreamOrBuilder(); /** + * + * *
    * Encoding of an audio stream.
    * 
* * .google.cloud.video.livestream.v1.AudioStream audio_stream = 2; + * * @return Whether the audioStream field is set. */ boolean hasAudioStream(); /** + * + * *
    * Encoding of an audio stream.
    * 
* * .google.cloud.video.livestream.v1.AudioStream audio_stream = 2; + * * @return The audioStream. */ com.google.cloud.video.livestream.v1.AudioStream getAudioStream(); /** + * + * *
    * Encoding of an audio stream.
    * 
@@ -82,24 +119,32 @@ public interface ElementaryStreamOrBuilder extends com.google.cloud.video.livestream.v1.AudioStreamOrBuilder getAudioStreamOrBuilder(); /** + * + * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
* * .google.cloud.video.livestream.v1.TextStream text_stream = 3; + * * @return Whether the textStream field is set. */ boolean hasTextStream(); /** + * + * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
* * .google.cloud.video.livestream.v1.TextStream text_stream = 3; + * * @return The textStream. */ com.google.cloud.video.livestream.v1.TextStream getTextStream(); /** + * + * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
@@ -108,5 +153,6 @@ public interface ElementaryStreamOrBuilder extends */ com.google.cloud.video.livestream.v1.TextStreamOrBuilder getTextStreamOrBuilder(); - public com.google.cloud.video.livestream.v1.ElementaryStream.ElementaryStreamCase getElementaryStreamCase(); + public com.google.cloud.video.livestream.v1.ElementaryStream.ElementaryStreamCase + getElementaryStreamCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Event.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Event.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Event.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Event.java index 70bbfd3..cc69058 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Event.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Event.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/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Event is a sub-resource of a channel, which can be scheduled by the user to
  * execute operations on a channel resource without having to stop the channel.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.video.livestream.v1.Event}
  */
-public final class Event extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Event extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.Event)
     EventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Event.newBuilder() to construct.
   private Event(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Event() {
     name_ = "";
     state_ = 0;
@@ -27,16 +45,15 @@ private Event() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Event();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Event(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,109 +73,123 @@ private Event(
           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.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            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 26:
+            {
+              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: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
-            }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 50: {
-            com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder subBuilder = null;
-            if (taskCase_ == 6) {
-              subBuilder = ((com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_).toBuilder();
+              break;
             }
-            task_ =
-                input.readMessage(com.google.cloud.video.livestream.v1.Event.AdBreakTask.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_);
-              task_ = subBuilder.buildPartial();
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                labels_ =
+                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry labels__ =
+                  input.readMessage(
+                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+              break;
             }
-            taskCase_ = 6;
-            break;
-          }
-          case 72: {
-
-            executeNow_ = input.readBool();
-            break;
-          }
-          case 82: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (executionTime_ != null) {
-              subBuilder = executionTime_.toBuilder();
+          case 50:
+            {
+              com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder subBuilder = null;
+              if (taskCase_ == 6) {
+                subBuilder =
+                    ((com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_).toBuilder();
+              }
+              task_ =
+                  input.readMessage(
+                      com.google.cloud.video.livestream.v1.Event.AdBreakTask.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_);
+                task_ = subBuilder.buildPartial();
+              }
+              taskCase_ = 6;
+              break;
             }
-            executionTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(executionTime_);
-              executionTime_ = subBuilder.buildPartial();
+          case 72:
+            {
+              executeNow_ = input.readBool();
+              break;
             }
+          case 82:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (executionTime_ != null) {
+                subBuilder = executionTime_.toBuilder();
+              }
+              executionTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(executionTime_);
+                executionTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 88: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 98: {
-            com.google.rpc.Status.Builder subBuilder = null;
-            if (error_ != null) {
-              subBuilder = error_.toBuilder();
+              break;
             }
-            error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(error_);
-              error_ = subBuilder.buildPartial();
+          case 88:
+            {
+              int rawValue = input.readEnum();
+
+              state_ = rawValue;
+              break;
             }
+          case 98:
+            {
+              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;
-          }
-          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) {
@@ -166,48 +197,52 @@ private Event(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.video.livestream.v1.ResourcesProto
+        .internal_static_google_cloud_video_livestream_v1_Event_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_fieldAccessorTable
+    return com.google.cloud.video.livestream.v1.ResourcesProto
+        .internal_static_google_cloud_video_livestream_v1_Event_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.video.livestream.v1.Event.class, com.google.cloud.video.livestream.v1.Event.Builder.class);
+            com.google.cloud.video.livestream.v1.Event.class,
+            com.google.cloud.video.livestream.v1.Event.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State of the event
    * 
* * Protobuf enum {@code google.cloud.video.livestream.v1.Event.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Event state is not specified.
      * 
@@ -216,6 +251,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Event is scheduled but not executed yet.
      * 
@@ -224,6 +261,8 @@ public enum State */ SCHEDULED(1), /** + * + * *
      * Event is being executed.
      * 
@@ -232,6 +271,8 @@ public enum State */ RUNNING(2), /** + * + * *
      * Event has been successfully executed.
      * 
@@ -240,6 +281,8 @@ public enum State */ SUCCEEDED(3), /** + * + * *
      * Event fails to be executed.
      * 
@@ -248,6 +291,8 @@ public enum State */ FAILED(4), /** + * + * *
      * Event has been created but not scheduled yet.
      * 
@@ -256,6 +301,8 @@ public enum State */ PENDING(5), /** + * + * *
      * Event was stopped before running for its full duration.
      * 
@@ -267,6 +314,8 @@ public enum State ; /** + * + * *
      * Event state is not specified.
      * 
@@ -275,6 +324,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Event is scheduled but not executed yet.
      * 
@@ -283,6 +334,8 @@ public enum State */ public static final int SCHEDULED_VALUE = 1; /** + * + * *
      * Event is being executed.
      * 
@@ -291,6 +344,8 @@ public enum State */ public static final int RUNNING_VALUE = 2; /** + * + * *
      * Event has been successfully executed.
      * 
@@ -299,6 +354,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 3; /** + * + * *
      * Event fails to be executed.
      * 
@@ -307,6 +364,8 @@ public enum State */ public static final int FAILED_VALUE = 4; /** + * + * *
      * Event has been created but not scheduled yet.
      * 
@@ -315,6 +374,8 @@ public enum State */ public static final int PENDING_VALUE = 5; /** + * + * *
      * Event was stopped before running for its full duration.
      * 
@@ -323,7 +384,6 @@ public enum State */ public static final int STOPPED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -348,53 +408,57 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return SCHEDULED; - case 2: return RUNNING; - case 3: return SUCCEEDED; - case 4: return FAILED; - case 5: return PENDING; - case 6: return STOPPED; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return SCHEDULED; + case 2: + return RUNNING; + case 3: + return SUCCEEDED; + case 4: + return FAILED; + case 5: + return PENDING; + case 6: + return STOPPED; + 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< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.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 State findValueByNumber(int number) { + return State.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.video.livestream.v1.Event.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State 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; @@ -411,29 +475,38 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.video.livestream.v1.Event.State) } - public interface AdBreakTaskOrBuilder extends + public interface AdBreakTaskOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.Event.AdBreakTask) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Duration of an ad opportunity. Must be greater than 0.
      * 
* * .google.protobuf.Duration duration = 1; + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
      * Duration of an ad opportunity. Must be greater than 0.
      * 
* * .google.protobuf.Duration duration = 1; + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
      * Duration of an ad opportunity. Must be greater than 0.
      * 
@@ -443,36 +516,37 @@ public interface AdBreakTaskOrBuilder extends com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); } /** + * + * *
    * Inserts a new ad opportunity.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.Event.AdBreakTask} */ - public static final class AdBreakTask extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AdBreakTask extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.Event.AdBreakTask) AdBreakTaskOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AdBreakTask.newBuilder() to construct. private AdBreakTask(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AdBreakTask() { - } + + private AdBreakTask() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AdBreakTask(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AdBreakTask( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -491,26 +565,28 @@ private AdBreakTask( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (duration_ != null) { - subBuilder = duration_.toBuilder(); + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (duration_ != null) { + subBuilder = duration_.toBuilder(); + } + duration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(duration_); + duration_ = subBuilder.buildPartial(); + } + + break; } - duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(duration_); - duration_ = 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) { @@ -518,34 +594,39 @@ private AdBreakTask( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.Event.AdBreakTask.class, com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder.class); + com.google.cloud.video.livestream.v1.Event.AdBreakTask.class, + com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder.class); } public static final int DURATION_FIELD_NUMBER = 1; private com.google.protobuf.Duration duration_; /** + * + * *
      * Duration of an ad opportunity. Must be greater than 0.
      * 
* * .google.protobuf.Duration duration = 1; + * * @return Whether the duration field is set. */ @java.lang.Override @@ -553,11 +634,14 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
      * Duration of an ad opportunity. Must be greater than 0.
      * 
* * .google.protobuf.Duration duration = 1; + * * @return The duration. */ @java.lang.Override @@ -565,6 +649,8 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
      * Duration of an ad opportunity. Must be greater than 0.
      * 
@@ -577,6 +663,7 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -588,8 +675,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 (duration_ != null) { output.writeMessage(1, getDuration()); } @@ -603,8 +689,7 @@ public int getSerializedSize() { size = 0; if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDuration()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -614,17 +699,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.Event.AdBreakTask)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.Event.AdBreakTask other = (com.google.cloud.video.livestream.v1.Event.AdBreakTask) obj; + com.google.cloud.video.livestream.v1.Event.AdBreakTask other = + (com.google.cloud.video.livestream.v1.Event.AdBreakTask) obj; if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration() - .equals(other.getDuration())) return false; + if (!getDuration().equals(other.getDuration())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -647,87 +732,94 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.Event.AdBreakTask parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.Event.AdBreakTask prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.Event.AdBreakTask prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -737,27 +829,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Inserts a new ad opportunity.
      * 
* * Protobuf type {@code google.cloud.video.livestream.v1.Event.AdBreakTask} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.Event.AdBreakTask) com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.Event.AdBreakTask.class, com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder.class); + com.google.cloud.video.livestream.v1.Event.AdBreakTask.class, + com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.Event.AdBreakTask.newBuilder() @@ -765,16 +862,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(); @@ -788,9 +884,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor; } @java.lang.Override @@ -809,7 +905,8 @@ public com.google.cloud.video.livestream.v1.Event.AdBreakTask build() { @java.lang.Override public com.google.cloud.video.livestream.v1.Event.AdBreakTask buildPartial() { - com.google.cloud.video.livestream.v1.Event.AdBreakTask result = new com.google.cloud.video.livestream.v1.Event.AdBreakTask(this); + com.google.cloud.video.livestream.v1.Event.AdBreakTask result = + new com.google.cloud.video.livestream.v1.Event.AdBreakTask(this); if (durationBuilder_ == null) { result.duration_ = duration_; } else { @@ -823,38 +920,41 @@ public com.google.cloud.video.livestream.v1.Event.AdBreakTask buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.Event.AdBreakTask) { - return mergeFrom((com.google.cloud.video.livestream.v1.Event.AdBreakTask)other); + return mergeFrom((com.google.cloud.video.livestream.v1.Event.AdBreakTask) other); } else { super.mergeFrom(other); return this; @@ -862,7 +962,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.Event.AdBreakTask other) { - if (other == com.google.cloud.video.livestream.v1.Event.AdBreakTask.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.Event.AdBreakTask.getDefaultInstance()) + return this; if (other.hasDuration()) { mergeDuration(other.getDuration()); } @@ -885,7 +986,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.Event.AdBreakTask) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.Event.AdBreakTask) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -897,24 +999,33 @@ public Builder mergeFrom( private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + durationBuilder_; /** + * + * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
* * .google.protobuf.Duration duration = 1; + * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** + * + * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
* * .google.protobuf.Duration duration = 1; + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -925,6 +1036,8 @@ public com.google.protobuf.Duration getDuration() { } } /** + * + * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
@@ -945,14 +1058,15 @@ public Builder setDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
* * .google.protobuf.Duration duration = 1; */ - public Builder setDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) { if (durationBuilder_ == null) { duration_ = builderForValue.build(); onChanged(); @@ -963,6 +1077,8 @@ public Builder setDuration( return this; } /** + * + * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
@@ -973,7 +1089,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { if (duration_ != null) { duration_ = - com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); } else { duration_ = value; } @@ -985,6 +1101,8 @@ public Builder mergeDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
@@ -1003,6 +1121,8 @@ public Builder clearDuration() { return this; } /** + * + * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
@@ -1010,11 +1130,13 @@ public Builder clearDuration() { * .google.protobuf.Duration duration = 1; */ public com.google.protobuf.Duration.Builder getDurationBuilder() { - + onChanged(); return getDurationFieldBuilder().getBuilder(); } /** + * + * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
@@ -1025,11 +1147,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { if (durationBuilder_ != null) { return durationBuilder_.getMessageOrBuilder(); } else { - return duration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : duration_; + return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } } /** + * + * *
        * Duration of an ad opportunity. Must be greater than 0.
        * 
@@ -1037,18 +1160,22 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { * .google.protobuf.Duration duration = 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> getDurationFieldBuilder() { if (durationBuilder_ == null) { - durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getDuration(), - getParentForChildren(), - isClean()); + durationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getDuration(), getParentForChildren(), isClean()); duration_ = null; } return durationBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1061,12 +1188,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.Event.AdBreakTask) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.Event.AdBreakTask) private static final com.google.cloud.video.livestream.v1.Event.AdBreakTask DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.Event.AdBreakTask(); } @@ -1075,16 +1202,16 @@ public static com.google.cloud.video.livestream.v1.Event.AdBreakTask getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdBreakTask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AdBreakTask(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdBreakTask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AdBreakTask(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1099,17 +1226,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.Event.AdBreakTask getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int taskCase_ = 0; private java.lang.Object task_; + public enum TaskCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { AD_BREAK(6), TASK_NOT_SET(0); private final int value; + private TaskCase(int value) { this.value = value; } @@ -1125,31 +1254,36 @@ public static TaskCase valueOf(int value) { public static TaskCase forNumber(int value) { switch (value) { - case 6: return AD_BREAK; - case 0: return TASK_NOT_SET; - default: return null; + case 6: + return AD_BREAK; + case 0: + return TASK_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TaskCase - getTaskCase() { - return TaskCase.forNumber( - taskCase_); + public TaskCase getTaskCase() { + return TaskCase.forNumber(taskCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The resource name of the event, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1158,30 +1292,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the event, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* * 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 { @@ -1192,11 +1326,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1204,11 +1342,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -1216,11 +1358,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1230,11 +1375,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1242,11 +1391,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -1254,11 +1407,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1266,24 +1422,23 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -1292,28 +1447,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * User-defined key/value metadata.
    * 
@@ -1321,11 +1478,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * User-defined key/value metadata.
    * 
@@ -1333,16 +1491,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * User-defined key/value metadata.
    * 
@@ -1350,12 +1508,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1364,11 +1521,16 @@ public java.lang.String getLabelsOrThrow( public static final int AD_BREAK_FIELD_NUMBER = 6; /** + * + * *
    * Required. Inserts a new ad opportunity.
    * 
* - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adBreak field is set. */ @java.lang.Override @@ -1376,31 +1538,40 @@ public boolean hasAdBreak() { return taskCase_ == 6; } /** + * + * *
    * Required. Inserts a new ad opportunity.
    * 
* - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adBreak. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Event.AdBreakTask getAdBreak() { if (taskCase_ == 6) { - return (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_; + return (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_; } return com.google.cloud.video.livestream.v1.Event.AdBreakTask.getDefaultInstance(); } /** + * + * *
    * Required. Inserts a new ad opportunity.
    * 
* - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder getAdBreakOrBuilder() { if (taskCase_ == 6) { - return (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_; + return (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_; } return com.google.cloud.video.livestream.v1.Event.AdBreakTask.getDefaultInstance(); } @@ -1408,6 +1579,8 @@ public com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder getAdBrea public static final int EXECUTE_NOW_FIELD_NUMBER = 9; private boolean executeNow_; /** + * + * *
    * When this field is set to true, the event will be executed at the earliest
    * time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be
@@ -1415,6 +1588,7 @@ public com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder getAdBrea
    * 
* * bool execute_now = 9; + * * @return The executeNow. */ @java.lang.Override @@ -1425,6 +1599,8 @@ public boolean getExecuteNow() { public static final int EXECUTION_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp executionTime_; /** + * + * *
    * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
    * `true`, this field should not be set in `CreateEvent` request and will be
@@ -1432,6 +1608,7 @@ public boolean getExecuteNow() {
    * 
* * .google.protobuf.Timestamp execution_time = 10; + * * @return Whether the executionTime field is set. */ @java.lang.Override @@ -1439,6 +1616,8 @@ public boolean hasExecutionTime() { return executionTime_ != null; } /** + * + * *
    * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
    * `true`, this field should not be set in `CreateEvent` request and will be
@@ -1446,13 +1625,18 @@ public boolean hasExecutionTime() {
    * 
* * .google.protobuf.Timestamp execution_time = 10; + * * @return The executionTime. */ @java.lang.Override public com.google.protobuf.Timestamp getExecutionTime() { - return executionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executionTime_; + return executionTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : executionTime_; } /** + * + * *
    * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
    * `true`, this field should not be set in `CreateEvent` request and will be
@@ -1469,39 +1653,55 @@ public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder() {
   public static final int STATE_FIELD_NUMBER = 11;
   private int state_;
   /**
+   *
+   *
    * 
    * Output only. The state of the event.
    * 
* - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The state of the event.
    * 
* - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.video.livestream.v1.Event.State getState() { + @java.lang.Override + public com.google.cloud.video.livestream.v1.Event.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Event.State result = com.google.cloud.video.livestream.v1.Event.State.valueOf(state_); + com.google.cloud.video.livestream.v1.Event.State result = + com.google.cloud.video.livestream.v1.Event.State.valueOf(state_); return result == null ? com.google.cloud.video.livestream.v1.Event.State.UNRECOGNIZED : result; } public static final int ERROR_FIELD_NUMBER = 12; private com.google.rpc.Status error_; /** + * + * *
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
    * 
* * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ @java.lang.Override @@ -1509,12 +1709,15 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
    * 
* * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ @java.lang.Override @@ -1522,6 +1725,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
@@ -1535,6 +1740,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1546,8 +1752,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_);
     }
@@ -1557,12 +1762,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (updateTime_ != null) {
       output.writeMessage(3, getUpdateTime());
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetLabels(),
-        LabelsDefaultEntryHolder.defaultEntry,
-        4);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4);
     if (taskCase_ == 6) {
       output.writeMessage(6, (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_);
     }
@@ -1591,42 +1792,37 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getUpdateTime());
-    }
-    for (java.util.Map.Entry entry
-         : internalGetLabels().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, labels__);
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime());
+    }
+    for (java.util.Map.Entry entry :
+        internalGetLabels().getMap().entrySet()) {
+      com.google.protobuf.MapEntry labels__ =
+          LabelsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__);
     }
     if (taskCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_);
     }
     if (executeNow_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(9, executeNow_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, executeNow_);
     }
     if (executionTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(10, getExecutionTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getExecutionTime());
     }
     if (state_ != com.google.cloud.video.livestream.v1.Event.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(11, state_);
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, state_);
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(12, getError());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getError());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1636,45 +1832,38 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.video.livestream.v1.Event)) {
       return super.equals(obj);
     }
-    com.google.cloud.video.livestream.v1.Event other = (com.google.cloud.video.livestream.v1.Event) obj;
+    com.google.cloud.video.livestream.v1.Event other =
+        (com.google.cloud.video.livestream.v1.Event) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
+    if (!getName().equals(other.getName())) return false;
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime()
-          .equals(other.getCreateTime())) return false;
+      if (!getCreateTime().equals(other.getCreateTime())) return false;
     }
     if (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime()
-          .equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
     }
-    if (!internalGetLabels().equals(
-        other.internalGetLabels())) return false;
-    if (getExecuteNow()
-        != other.getExecuteNow()) return false;
+    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+    if (getExecuteNow() != other.getExecuteNow()) return false;
     if (hasExecutionTime() != other.hasExecutionTime()) return false;
     if (hasExecutionTime()) {
-      if (!getExecutionTime()
-          .equals(other.getExecutionTime())) return false;
+      if (!getExecutionTime().equals(other.getExecutionTime())) return false;
     }
     if (state_ != other.state_) 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 (!getTaskCase().equals(other.getTaskCase())) return false;
     switch (taskCase_) {
       case 6:
-        if (!getAdBreak()
-            .equals(other.getAdBreak())) return false;
+        if (!getAdBreak().equals(other.getAdBreak())) return false;
         break;
       case 0:
       default:
@@ -1705,8 +1894,7 @@ public int hashCode() {
       hash = (53 * hash) + internalGetLabels().hashCode();
     }
     hash = (37 * hash) + EXECUTE_NOW_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getExecuteNow());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExecuteNow());
     if (hasExecutionTime()) {
       hash = (37 * hash) + EXECUTION_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getExecutionTime().hashCode();
@@ -1730,97 +1918,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.video.livestream.v1.Event parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.video.livestream.v1.Event parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.video.livestream.v1.Event parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.video.livestream.v1.Event parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.video.livestream.v1.Event parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.video.livestream.v1.Event parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.video.livestream.v1.Event parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.video.livestream.v1.Event parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.video.livestream.v1.Event parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.video.livestream.v1.Event parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.video.livestream.v1.Event parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.video.livestream.v1.Event parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.video.livestream.v1.Event parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.video.livestream.v1.Event parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.video.livestream.v1.Event prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Event is a sub-resource of a channel, which can be scheduled by the user to
    * execute operations on a channel resource without having to stop the channel.
@@ -1828,43 +2023,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.video.livestream.v1.Event}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.Event)
       com.google.cloud.video.livestream.v1.EventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto
+          .internal_static_google_cloud_video_livestream_v1_Event_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_fieldAccessorTable
+      return com.google.cloud.video.livestream.v1.ResourcesProto
+          .internal_static_google_cloud_video_livestream_v1_Event_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.livestream.v1.Event.class, com.google.cloud.video.livestream.v1.Event.Builder.class);
+              com.google.cloud.video.livestream.v1.Event.class,
+              com.google.cloud.video.livestream.v1.Event.Builder.class);
     }
 
     // Construct using com.google.cloud.video.livestream.v1.Event.newBuilder()
@@ -1872,16 +2067,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();
@@ -1922,9 +2116,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Event_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto
+          .internal_static_google_cloud_video_livestream_v1_Event_descriptor;
     }
 
     @java.lang.Override
@@ -1943,7 +2137,8 @@ public com.google.cloud.video.livestream.v1.Event build() {
 
     @java.lang.Override
     public com.google.cloud.video.livestream.v1.Event buildPartial() {
-      com.google.cloud.video.livestream.v1.Event result = new com.google.cloud.video.livestream.v1.Event(this);
+      com.google.cloud.video.livestream.v1.Event result =
+          new com.google.cloud.video.livestream.v1.Event(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (createTimeBuilder_ == null) {
@@ -1986,38 +2181,39 @@ public com.google.cloud.video.livestream.v1.Event buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.video.livestream.v1.Event) {
-        return mergeFrom((com.google.cloud.video.livestream.v1.Event)other);
+        return mergeFrom((com.google.cloud.video.livestream.v1.Event) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2036,8 +2232,7 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Event other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       if (other.getExecuteNow() != false) {
         setExecuteNow(other.getExecuteNow());
       }
@@ -2051,13 +2246,15 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Event other) {
         mergeError(other.getError());
       }
       switch (other.getTaskCase()) {
-        case AD_BREAK: {
-          mergeAdBreak(other.getAdBreak());
-          break;
-        }
-        case TASK_NOT_SET: {
-          break;
-        }
+        case AD_BREAK:
+          {
+            mergeAdBreak(other.getAdBreak());
+            break;
+          }
+        case TASK_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -2087,12 +2284,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int taskCase_ = 0;
     private java.lang.Object task_;
-    public TaskCase
-        getTaskCase() {
-      return TaskCase.forNumber(
-          taskCase_);
+
+    public TaskCase getTaskCase() {
+      return TaskCase.forNumber(taskCase_);
     }
 
     public Builder clearTask() {
@@ -2106,19 +2303,21 @@ public Builder clearTask() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the event, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* * 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; @@ -2127,21 +2326,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the event, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* * 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 { @@ -2149,57 +2349,64 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the event, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* * 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 event, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The resource name of the event, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* * 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; @@ -2207,39 +2414,58 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2255,14 +2481,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2273,17 +2502,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2295,11 +2528,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2313,48 +2550,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2362,39 +2615,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2410,14 +2682,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - 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(); @@ -2428,17 +2703,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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; } @@ -2450,11 +2729,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2468,69 +2751,84 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2542,28 +2840,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * User-defined key/value metadata.
      * 
@@ -2571,11 +2871,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * User-defined key/value metadata.
      * 
@@ -2583,16 +2884,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * User-defined key/value metadata.
      * 
@@ -2600,12 +2902,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2613,75 +2914,80 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event.AdBreakTask, com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder, com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder> adBreakBuilder_; + com.google.cloud.video.livestream.v1.Event.AdBreakTask, + com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder, + com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder> + adBreakBuilder_; /** + * + * *
      * Required. Inserts a new ad opportunity.
      * 
* - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adBreak field is set. */ @java.lang.Override @@ -2689,11 +2995,16 @@ public boolean hasAdBreak() { return taskCase_ == 6; } /** + * + * *
      * Required. Inserts a new ad opportunity.
      * 
* - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adBreak. */ @java.lang.Override @@ -2711,11 +3022,15 @@ public com.google.cloud.video.livestream.v1.Event.AdBreakTask getAdBreak() { } } /** + * + * *
      * Required. Inserts a new ad opportunity.
      * 
* - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAdBreak(com.google.cloud.video.livestream.v1.Event.AdBreakTask value) { if (adBreakBuilder_ == null) { @@ -2731,11 +3046,15 @@ public Builder setAdBreak(com.google.cloud.video.livestream.v1.Event.AdBreakTask return this; } /** + * + * *
      * Required. Inserts a new ad opportunity.
      * 
* - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAdBreak( com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder builderForValue) { @@ -2749,18 +3068,26 @@ public Builder setAdBreak( return this; } /** + * + * *
      * Required. Inserts a new ad opportunity.
      * 
* - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAdBreak(com.google.cloud.video.livestream.v1.Event.AdBreakTask value) { if (adBreakBuilder_ == null) { - if (taskCase_ == 6 && - task_ != com.google.cloud.video.livestream.v1.Event.AdBreakTask.getDefaultInstance()) { - task_ = com.google.cloud.video.livestream.v1.Event.AdBreakTask.newBuilder((com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_) - .mergeFrom(value).buildPartial(); + if (taskCase_ == 6 + && task_ + != com.google.cloud.video.livestream.v1.Event.AdBreakTask.getDefaultInstance()) { + task_ = + com.google.cloud.video.livestream.v1.Event.AdBreakTask.newBuilder( + (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_) + .mergeFrom(value) + .buildPartial(); } else { task_ = value; } @@ -2776,11 +3103,15 @@ public Builder mergeAdBreak(com.google.cloud.video.livestream.v1.Event.AdBreakTa return this; } /** + * + * *
      * Required. Inserts a new ad opportunity.
      * 
* - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAdBreak() { if (adBreakBuilder_ == null) { @@ -2799,21 +3130,29 @@ public Builder clearAdBreak() { return this; } /** + * + * *
      * Required. Inserts a new ad opportunity.
      * 
* - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder getAdBreakBuilder() { return getAdBreakFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Inserts a new ad opportunity.
      * 
* - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder getAdBreakOrBuilder() { @@ -2827,33 +3166,45 @@ public com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder getAdBrea } } /** + * + * *
      * Required. Inserts a new ad opportunity.
      * 
* - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event.AdBreakTask, com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder, com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder> + com.google.cloud.video.livestream.v1.Event.AdBreakTask, + com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder, + com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder> getAdBreakFieldBuilder() { if (adBreakBuilder_ == null) { if (!(taskCase_ == 6)) { task_ = com.google.cloud.video.livestream.v1.Event.AdBreakTask.getDefaultInstance(); } - adBreakBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event.AdBreakTask, com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder, com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder>( + adBreakBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.Event.AdBreakTask, + com.google.cloud.video.livestream.v1.Event.AdBreakTask.Builder, + com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder>( (com.google.cloud.video.livestream.v1.Event.AdBreakTask) task_, getParentForChildren(), isClean()); task_ = null; } taskCase_ = 6; - onChanged();; + onChanged(); + ; return adBreakBuilder_; } - private boolean executeNow_ ; + private boolean executeNow_; /** + * + * *
      * When this field is set to true, the event will be executed at the earliest
      * time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be
@@ -2861,6 +3212,7 @@ public com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder getAdBrea
      * 
* * bool execute_now = 9; + * * @return The executeNow. */ @java.lang.Override @@ -2868,6 +3220,8 @@ public boolean getExecuteNow() { return executeNow_; } /** + * + * *
      * When this field is set to true, the event will be executed at the earliest
      * time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be
@@ -2875,16 +3229,19 @@ public boolean getExecuteNow() {
      * 
* * bool execute_now = 9; + * * @param value The executeNow to set. * @return This builder for chaining. */ public Builder setExecuteNow(boolean value) { - + executeNow_ = value; onChanged(); return this; } /** + * + * *
      * When this field is set to true, the event will be executed at the earliest
      * time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be
@@ -2892,10 +3249,11 @@ public Builder setExecuteNow(boolean value) {
      * 
* * bool execute_now = 9; + * * @return This builder for chaining. */ public Builder clearExecuteNow() { - + executeNow_ = false; onChanged(); return this; @@ -2903,8 +3261,13 @@ public Builder clearExecuteNow() { private com.google.protobuf.Timestamp executionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> executionTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + executionTimeBuilder_; /** + * + * *
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -2912,12 +3275,15 @@ public Builder clearExecuteNow() {
      * 
* * .google.protobuf.Timestamp execution_time = 10; + * * @return Whether the executionTime field is set. */ public boolean hasExecutionTime() { return executionTimeBuilder_ != null || executionTime_ != null; } /** + * + * *
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -2925,16 +3291,21 @@ public boolean hasExecutionTime() {
      * 
* * .google.protobuf.Timestamp execution_time = 10; + * * @return The executionTime. */ public com.google.protobuf.Timestamp getExecutionTime() { if (executionTimeBuilder_ == null) { - return executionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executionTime_; + return executionTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : executionTime_; } else { return executionTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -2957,6 +3328,8 @@ public Builder setExecutionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -2965,8 +3338,7 @@ public Builder setExecutionTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp execution_time = 10;
      */
-    public Builder setExecutionTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setExecutionTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (executionTimeBuilder_ == null) {
         executionTime_ = builderForValue.build();
         onChanged();
@@ -2977,6 +3349,8 @@ public Builder setExecutionTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -2989,7 +3363,9 @@ public Builder mergeExecutionTime(com.google.protobuf.Timestamp value) {
       if (executionTimeBuilder_ == null) {
         if (executionTime_ != null) {
           executionTime_ =
-            com.google.protobuf.Timestamp.newBuilder(executionTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(executionTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           executionTime_ = value;
         }
@@ -3001,6 +3377,8 @@ public Builder mergeExecutionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -3021,6 +3399,8 @@ public Builder clearExecutionTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -3030,11 +3410,13 @@ public Builder clearExecutionTime() {
      * .google.protobuf.Timestamp execution_time = 10;
      */
     public com.google.protobuf.Timestamp.Builder getExecutionTimeBuilder() {
-      
+
       onChanged();
       return getExecutionTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -3047,11 +3429,14 @@ public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder() {
       if (executionTimeBuilder_ != null) {
         return executionTimeBuilder_.getMessageOrBuilder();
       } else {
-        return executionTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : executionTime_;
+        return executionTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : executionTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
      * `true`, this field should not be set in `CreateEvent` request and will be
@@ -3061,14 +3446,17 @@ public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder() {
      * .google.protobuf.Timestamp execution_time = 10;
      */
     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>
         getExecutionTimeFieldBuilder() {
       if (executionTimeBuilder_ == null) {
-        executionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getExecutionTime(),
-                getParentForChildren(),
-                isClean());
+        executionTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getExecutionTime(), getParentForChildren(), isClean());
         executionTime_ = null;
       }
       return executionTimeBuilder_;
@@ -3076,51 +3464,75 @@ public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder() {
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The state of the event.
      * 
* - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The state of the event.
      * 
* - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The state of the event.
      * 
* - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Event.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Event.State result = com.google.cloud.video.livestream.v1.Event.State.valueOf(state_); - return result == null ? com.google.cloud.video.livestream.v1.Event.State.UNRECOGNIZED : result; + com.google.cloud.video.livestream.v1.Event.State result = + com.google.cloud.video.livestream.v1.Event.State.valueOf(state_); + return result == null + ? com.google.cloud.video.livestream.v1.Event.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The state of the event.
      * 
* - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -3128,21 +3540,26 @@ public Builder setState(com.google.cloud.video.livestream.v1.Event.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The state of the event.
      * 
* - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3150,26 +3567,33 @@ public Builder clearState() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
      * 
* * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
      * 
* * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -3180,6 +3604,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3201,6 +3627,8 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3208,8 +3636,7 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
-    public Builder setError(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       if (errorBuilder_ == null) {
         error_ = builderForValue.build();
         onChanged();
@@ -3220,6 +3647,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3230,8 +3659,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;
         }
@@ -3243,6 +3671,8 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3262,6 +3692,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3270,11 +3702,13 @@ public Builder clearError() {
      * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-      
+
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3286,11 +3720,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. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3299,21 +3734,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
         getErrorFieldBuilder() {
       if (errorBuilder_ == null) {
-        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getError(),
-                getParentForChildren(),
-                isClean());
+        errorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean());
         error_ = null;
       }
       return errorBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3323,12 +3758,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.Event)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.Event)
   private static final com.google.cloud.video.livestream.v1.Event DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.Event();
   }
@@ -3337,16 +3772,16 @@ public static com.google.cloud.video.livestream.v1.Event getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Event parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Event(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Event parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Event(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3361,6 +3796,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.video.livestream.v1.Event getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventName.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventName.java
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventName.java
rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventName.java
diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventOrBuilder.java
similarity index 73%
rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventOrBuilder.java
rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventOrBuilder.java
index bb1fd76..42befe1 100644
--- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventOrBuilder.java
+++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/EventOrBuilder.java
@@ -1,89 +1,134 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/video/livestream/v1/resources.proto
 
 package com.google.cloud.video.livestream.v1;
 
-public interface EventOrBuilder extends
+public interface EventOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.Event)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The resource name of the event, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the event, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * User-defined key/value metadata.
    * 
@@ -92,30 +137,31 @@ public interface EventOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * User-defined key/value metadata.
    * 
@@ -124,49 +170,65 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Required. Inserts a new ad opportunity.
    * 
* - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adBreak field is set. */ boolean hasAdBreak(); /** + * + * *
    * Required. Inserts a new ad opportunity.
    * 
* - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adBreak. */ com.google.cloud.video.livestream.v1.Event.AdBreakTask getAdBreak(); /** + * + * *
    * Required. Inserts a new ad opportunity.
    * 
* - * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.video.livestream.v1.Event.AdBreakTaskOrBuilder getAdBreakOrBuilder(); /** + * + * *
    * When this field is set to true, the event will be executed at the earliest
    * time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be
@@ -174,11 +236,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * bool execute_now = 9; + * * @return The executeNow. */ boolean getExecuteNow(); /** + * + * *
    * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
    * `true`, this field should not be set in `CreateEvent` request and will be
@@ -186,10 +251,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.protobuf.Timestamp execution_time = 10; + * * @return Whether the executionTime field is set. */ boolean hasExecutionTime(); /** + * + * *
    * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
    * `true`, this field should not be set in `CreateEvent` request and will be
@@ -197,10 +265,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.protobuf.Timestamp execution_time = 10; + * * @return The executionTime. */ com.google.protobuf.Timestamp getExecutionTime(); /** + * + * *
    * The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to
    * `true`, this field should not be set in `CreateEvent` request and will be
@@ -212,45 +283,63 @@ java.lang.String getLabelsOrThrow(
   com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The state of the event.
    * 
* - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The state of the event.
    * 
* - * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.video.livestream.v1.Event.State getState(); /** + * + * *
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
    * 
* * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
    * 
* * .google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequest.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequest.java
similarity index 65%
rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequest.java
rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequest.java
index 43e1175..34444cf 100644
--- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequest.java
+++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequest.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/video/livestream/v1/service.proto
 
 package com.google.cloud.video.livestream.v1;
 
 /**
+ *
+ *
  * 
  * Request message for "LivestreamService.GetChannel".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.GetChannelRequest} */ -public final class GetChannelRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetChannelRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.GetChannelRequest) GetChannelRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetChannelRequest.newBuilder() to construct. private GetChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetChannelRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetChannelRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetChannelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_GetChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.GetChannelRequest.class, com.google.cloud.video.livestream.v1.GetChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.GetChannelRequest.class, + com.google.cloud.video.livestream.v1.GetChannelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,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.video.livestream.v1.GetChannelRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.GetChannelRequest other = (com.google.cloud.video.livestream.v1.GetChannelRequest) obj; + com.google.cloud.video.livestream.v1.GetChannelRequest other = + (com.google.cloud.video.livestream.v1.GetChannelRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.GetChannelRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.GetChannelRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.GetChannelRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.GetChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.GetChannelRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.GetChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for "LivestreamService.GetChannel".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.GetChannelRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.GetChannelRequest) com.google.cloud.video.livestream.v1.GetChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_GetChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.GetChannelRequest.class, com.google.cloud.video.livestream.v1.GetChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.GetChannelRequest.class, + com.google.cloud.video.livestream.v1.GetChannelRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.GetChannelRequest.newBuilder() @@ -324,16 +361,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(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.video.livestream.v1.GetChannelRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.GetChannelRequest buildPartial() { - com.google.cloud.video.livestream.v1.GetChannelRequest result = new com.google.cloud.video.livestream.v1.GetChannelRequest(this); + com.google.cloud.video.livestream.v1.GetChannelRequest result = + new com.google.cloud.video.livestream.v1.GetChannelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.video.livestream.v1.GetChannelRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.GetChannelRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.GetChannelRequest)other); + return mergeFrom((com.google.cloud.video.livestream.v1.GetChannelRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.GetChannelRequest other) { - if (other == com.google.cloud.video.livestream.v1.GetChannelRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.GetChannelRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.GetChannelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.GetChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.GetChannelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.GetChannelRequest) private static final com.google.cloud.video.livestream.v1.GetChannelRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.GetChannelRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.video.livestream.v1.GetChannelRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.GetChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequestOrBuilder.java new file mode 100644 index 0000000..96e28b6 --- /dev/null +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetChannelRequestOrBuilder.java @@ -0,0 +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/video/livestream/v1/service.proto + +package com.google.cloud.video.livestream.v1; + +public interface GetChannelRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.GetChannelRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the channel resource, in the form of:
+   * `projects/{project}/locations/{location}/channels/{channelId}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the channel resource, in the form of:
+   * `projects/{project}/locations/{location}/channels/{channelId}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequest.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequest.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequest.java index 4c004d9..dd399cb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequest.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequest.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Request message for "LivestreamService.GetEvent".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.GetEventRequest} */ -public final class GetEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.GetEventRequest) GetEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetEventRequest.newBuilder() to construct. private GetEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetEventRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetEventRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetEventRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetEventRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetEventRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_GetEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.GetEventRequest.class, com.google.cloud.video.livestream.v1.GetEventRequest.Builder.class); + com.google.cloud.video.livestream.v1.GetEventRequest.class, + com.google.cloud.video.livestream.v1.GetEventRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the event resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the event resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,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.video.livestream.v1.GetEventRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.GetEventRequest other = (com.google.cloud.video.livestream.v1.GetEventRequest) obj; + com.google.cloud.video.livestream.v1.GetEventRequest other = + (com.google.cloud.video.livestream.v1.GetEventRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.GetEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.GetEventRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.GetEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.GetEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.video.livestream.v1.GetEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for "LivestreamService.GetEvent".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.GetEventRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.GetEventRequest) com.google.cloud.video.livestream.v1.GetEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetEventRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_GetEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.GetEventRequest.class, com.google.cloud.video.livestream.v1.GetEventRequest.Builder.class); + com.google.cloud.video.livestream.v1.GetEventRequest.class, + com.google.cloud.video.livestream.v1.GetEventRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.GetEventRequest.newBuilder() @@ -324,16 +360,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(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.video.livestream.v1.GetEventRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.GetEventRequest buildPartial() { - com.google.cloud.video.livestream.v1.GetEventRequest result = new com.google.cloud.video.livestream.v1.GetEventRequest(this); + com.google.cloud.video.livestream.v1.GetEventRequest result = + new com.google.cloud.video.livestream.v1.GetEventRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.video.livestream.v1.GetEventRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.GetEventRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.GetEventRequest)other); + return mergeFrom((com.google.cloud.video.livestream.v1.GetEventRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.GetEventRequest other) { - if (other == com.google.cloud.video.livestream.v1.GetEventRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.GetEventRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.GetEventRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.GetEventRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the event resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.GetEventRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.GetEventRequest) private static final com.google.cloud.video.livestream.v1.GetEventRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.GetEventRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.video.livestream.v1.GetEventRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetEventRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEventRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetEventRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.GetEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequestOrBuilder.java new file mode 100644 index 0000000..5fd0fb1 --- /dev/null +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetEventRequestOrBuilder.java @@ -0,0 +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/video/livestream/v1/service.proto + +package com.google.cloud.video.livestream.v1; + +public interface GetEventRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.GetEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the event resource, in the form of:
+   * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the event resource, in the form of:
+   * `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequest.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequest.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequest.java index e3f3721..fc55578 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequest.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequest.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Request message for "LivestreamService.GetInput".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.GetInputRequest} */ -public final class GetInputRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetInputRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.GetInputRequest) GetInputRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetInputRequest.newBuilder() to construct. private GetInputRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetInputRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetInputRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetInputRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetInputRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetInputRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetInputRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_GetInputRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.GetInputRequest.class, com.google.cloud.video.livestream.v1.GetInputRequest.Builder.class); + com.google.cloud.video.livestream.v1.GetInputRequest.class, + com.google.cloud.video.livestream.v1.GetInputRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the input resource, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the input resource, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,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.video.livestream.v1.GetInputRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.GetInputRequest other = (com.google.cloud.video.livestream.v1.GetInputRequest) obj; + com.google.cloud.video.livestream.v1.GetInputRequest other = + (com.google.cloud.video.livestream.v1.GetInputRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.GetInputRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.GetInputRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.GetInputRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.GetInputRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.video.livestream.v1.GetInputRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for "LivestreamService.GetInput".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.GetInputRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.GetInputRequest) com.google.cloud.video.livestream.v1.GetInputRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetInputRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_GetInputRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.GetInputRequest.class, com.google.cloud.video.livestream.v1.GetInputRequest.Builder.class); + com.google.cloud.video.livestream.v1.GetInputRequest.class, + com.google.cloud.video.livestream.v1.GetInputRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.GetInputRequest.newBuilder() @@ -324,16 +360,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(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.video.livestream.v1.GetInputRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.GetInputRequest buildPartial() { - com.google.cloud.video.livestream.v1.GetInputRequest result = new com.google.cloud.video.livestream.v1.GetInputRequest(this); + com.google.cloud.video.livestream.v1.GetInputRequest result = + new com.google.cloud.video.livestream.v1.GetInputRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.video.livestream.v1.GetInputRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.GetInputRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.GetInputRequest)other); + return mergeFrom((com.google.cloud.video.livestream.v1.GetInputRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.GetInputRequest other) { - if (other == com.google.cloud.video.livestream.v1.GetInputRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.GetInputRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.GetInputRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.GetInputRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the input resource, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.GetInputRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.GetInputRequest) private static final com.google.cloud.video.livestream.v1.GetInputRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.GetInputRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.video.livestream.v1.GetInputRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInputRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInputRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInputRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInputRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.GetInputRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequestOrBuilder.java new file mode 100644 index 0000000..6fa86c2 --- /dev/null +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/GetInputRequestOrBuilder.java @@ -0,0 +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/video/livestream/v1/service.proto + +package com.google.cloud.video.livestream.v1; + +public interface GetInputRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.GetInputRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the input resource, in the form of:
+   * `projects/{project}/locations/{location}/inputs/{inputId}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the input resource, in the form of:
+   * `projects/{project}/locations/{location}/inputs/{inputId}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Input.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Input.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Input.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Input.java index fbee403..1bd32fc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Input.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Input.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/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Input resource represents the endpoint from which the channel ingests
  * the input stream.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.video.livestream.v1.Input}
  */
-public final class Input extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Input extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.Input)
     InputOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Input.newBuilder() to construct.
   private Input(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Input() {
     name_ = "";
     type_ = 0;
@@ -29,16 +47,15 @@ private Input() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Input();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Input(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,115 +75,135 @@ private Input(
           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.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+              name_ = s;
+              break;
             }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              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 26: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                labels_ =
+                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry labels__ =
+                  input.readMessage(
+                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+              break;
             }
+          case 40:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              type_ = rawValue;
+              break;
             }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 40: {
-            int rawValue = input.readEnum();
-
-            type_ = rawValue;
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            uri_ = s;
-            break;
-          }
-          case 74: {
-            com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder subBuilder = null;
-            if (preprocessingConfig_ != null) {
-              subBuilder = preprocessingConfig_.toBuilder();
-            }
-            preprocessingConfig_ = input.readMessage(com.google.cloud.video.livestream.v1.PreprocessingConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(preprocessingConfig_);
-              preprocessingConfig_ = subBuilder.buildPartial();
+              uri_ = s;
+              break;
             }
+          case 74:
+            {
+              com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder subBuilder = null;
+              if (preprocessingConfig_ != null) {
+                subBuilder = preprocessingConfig_.toBuilder();
+              }
+              preprocessingConfig_ =
+                  input.readMessage(
+                      com.google.cloud.video.livestream.v1.PreprocessingConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(preprocessingConfig_);
+                preprocessingConfig_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 98: {
-            com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder subBuilder = null;
-            if (securityRules_ != null) {
-              subBuilder = securityRules_.toBuilder();
-            }
-            securityRules_ = input.readMessage(com.google.cloud.video.livestream.v1.Input.SecurityRule.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(securityRules_);
-              securityRules_ = subBuilder.buildPartial();
+              break;
             }
+          case 98:
+            {
+              com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder subBuilder = null;
+              if (securityRules_ != null) {
+                subBuilder = securityRules_.toBuilder();
+              }
+              securityRules_ =
+                  input.readMessage(
+                      com.google.cloud.video.livestream.v1.Input.SecurityRule.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(securityRules_);
+                securityRules_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 112: {
-            int rawValue = input.readEnum();
-
-            tier_ = rawValue;
-            break;
-          }
-          case 122: {
-            com.google.cloud.video.livestream.v1.InputStreamProperty.Builder subBuilder = null;
-            if (inputStreamProperty_ != null) {
-              subBuilder = inputStreamProperty_.toBuilder();
+              break;
             }
-            inputStreamProperty_ = input.readMessage(com.google.cloud.video.livestream.v1.InputStreamProperty.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(inputStreamProperty_);
-              inputStreamProperty_ = subBuilder.buildPartial();
+          case 112:
+            {
+              int rawValue = input.readEnum();
+
+              tier_ = rawValue;
+              break;
             }
+          case 122:
+            {
+              com.google.cloud.video.livestream.v1.InputStreamProperty.Builder subBuilder = null;
+              if (inputStreamProperty_ != null) {
+                subBuilder = inputStreamProperty_.toBuilder();
+              }
+              inputStreamProperty_ =
+                  input.readMessage(
+                      com.google.cloud.video.livestream.v1.InputStreamProperty.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(inputStreamProperty_);
+                inputStreamProperty_ = 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) {
@@ -174,48 +211,52 @@ private Input(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.video.livestream.v1.ResourcesProto
+        .internal_static_google_cloud_video_livestream_v1_Input_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_fieldAccessorTable
+    return com.google.cloud.video.livestream.v1.ResourcesProto
+        .internal_static_google_cloud_video_livestream_v1_Input_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.video.livestream.v1.Input.class, com.google.cloud.video.livestream.v1.Input.Builder.class);
+            com.google.cloud.video.livestream.v1.Input.class,
+            com.google.cloud.video.livestream.v1.Input.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The type of the input.
    * 
* * Protobuf enum {@code google.cloud.video.livestream.v1.Input.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Input type is not specified.
      * 
@@ -224,6 +265,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Input will take an rtmp input stream.
      * 
@@ -232,6 +275,8 @@ public enum Type */ RTMP_PUSH(1), /** + * + * *
      * Input will take an srt (Secure Reliable Transport) input stream.
      * 
@@ -243,6 +288,8 @@ public enum Type ; /** + * + * *
      * Input type is not specified.
      * 
@@ -251,6 +298,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Input will take an rtmp input stream.
      * 
@@ -259,6 +308,8 @@ public enum Type */ public static final int RTMP_PUSH_VALUE = 1; /** + * + * *
      * Input will take an srt (Secure Reliable Transport) input stream.
      * 
@@ -267,7 +318,6 @@ public enum Type */ public static final int SRT_PUSH_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -292,49 +342,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return RTMP_PUSH; - case 2: return SRT_PUSH; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return RTMP_PUSH; + case 2: + return SRT_PUSH; + 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< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.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 Type findValueByNumber(int number) { + return Type.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.video.livestream.v1.Input.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -352,15 +402,18 @@ private Type(int value) { } /** + * + * *
    * Tier of the input specification.
    * 
* * Protobuf enum {@code google.cloud.video.livestream.v1.Input.Tier} */ - public enum Tier - implements com.google.protobuf.ProtocolMessageEnum { + public enum Tier implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Tier is not specified.
      * 
@@ -369,6 +422,8 @@ public enum Tier */ TIER_UNSPECIFIED(0), /** + * + * *
      * Resolution < 1280x720. Bitrate <= 6 Mbps. FPS <= 60.
      * 
@@ -377,6 +432,8 @@ public enum Tier */ SD(1), /** + * + * *
      * Resolution <= 1920x1080. Bitrate <= 25 Mbps. FPS <= 60.
      * 
@@ -385,6 +442,8 @@ public enum Tier */ HD(2), /** + * + * *
      * Resolution <= 4096x2160. Not supported yet.
      * 
@@ -396,6 +455,8 @@ public enum Tier ; /** + * + * *
      * Tier is not specified.
      * 
@@ -404,6 +465,8 @@ public enum Tier */ public static final int TIER_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Resolution < 1280x720. Bitrate <= 6 Mbps. FPS <= 60.
      * 
@@ -412,6 +475,8 @@ public enum Tier */ public static final int SD_VALUE = 1; /** + * + * *
      * Resolution <= 1920x1080. Bitrate <= 25 Mbps. FPS <= 60.
      * 
@@ -420,6 +485,8 @@ public enum Tier */ public static final int HD_VALUE = 2; /** + * + * *
      * Resolution <= 4096x2160. Not supported yet.
      * 
@@ -428,7 +495,6 @@ public enum Tier */ public static final int UHD_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -453,50 +519,51 @@ public static Tier valueOf(int value) { */ public static Tier forNumber(int value) { switch (value) { - case 0: return TIER_UNSPECIFIED; - case 1: return SD; - case 2: return HD; - case 3: return UHD; - default: return null; + case 0: + return TIER_UNSPECIFIED; + case 1: + return SD; + case 2: + return HD; + case 3: + return UHD; + 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< - Tier> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Tier findValueByNumber(int number) { - return Tier.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 Tier findValueByNumber(int number) { + return Tier.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.video.livestream.v1.Input.getDescriptor().getEnumTypes().get(1); } private static final Tier[] VALUES = values(); - public static Tier valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Tier 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; @@ -513,11 +580,14 @@ private Tier(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.video.livestream.v1.Input.Tier) } - public interface SecurityRuleOrBuilder extends + public interface SecurityRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.Input.SecurityRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * At least one ip range must match unless none specified. The IP range is
      * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -525,11 +595,13 @@ public interface SecurityRuleOrBuilder extends
      * 
* * repeated string ip_ranges = 1; + * * @return A list containing the ipRanges. */ - java.util.List - getIpRangesList(); + java.util.List getIpRangesList(); /** + * + * *
      * At least one ip range must match unless none specified. The IP range is
      * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -537,10 +609,13 @@ public interface SecurityRuleOrBuilder extends
      * 
* * repeated string ip_ranges = 1; + * * @return The count of ipRanges. */ int getIpRangesCount(); /** + * + * *
      * At least one ip range must match unless none specified. The IP range is
      * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -548,11 +623,14 @@ public interface SecurityRuleOrBuilder extends
      * 
* * repeated string ip_ranges = 1; + * * @param index The index of the element to return. * @return The ipRanges at the given index. */ java.lang.String getIpRanges(int index); /** + * + * *
      * At least one ip range must match unless none specified. The IP range is
      * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -560,13 +638,15 @@ public interface SecurityRuleOrBuilder extends
      * 
* * repeated string ip_ranges = 1; + * * @param index The index of the value to return. * @return The bytes of the ipRanges at the given index. */ - com.google.protobuf.ByteString - getIpRangesBytes(int index); + com.google.protobuf.ByteString getIpRangesBytes(int index); } /** + * + * *
    * Security rules for access control. Each field represents one security rule.
    * Only when the source of the input stream satisfies all the fields, this
@@ -575,31 +655,31 @@ public interface SecurityRuleOrBuilder extends
    *
    * Protobuf type {@code google.cloud.video.livestream.v1.Input.SecurityRule}
    */
-  public static final class SecurityRule extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class SecurityRule extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.Input.SecurityRule)
       SecurityRuleOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use SecurityRule.newBuilder() to construct.
     private SecurityRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private SecurityRule() {
       ipRanges_ = 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 SecurityRule();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private SecurityRule(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -619,22 +699,23 @@ private SecurityRule(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                ipRanges_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  ipRanges_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                ipRanges_.add(s);
+                break;
               }
-              ipRanges_.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) {
@@ -642,8 +723,7 @@ private SecurityRule(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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)) {
           ipRanges_ = ipRanges_.getUnmodifiableView();
@@ -652,22 +732,27 @@ private SecurityRule(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto
+          .internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_fieldAccessorTable
+      return com.google.cloud.video.livestream.v1.ResourcesProto
+          .internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.livestream.v1.Input.SecurityRule.class, com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder.class);
+              com.google.cloud.video.livestream.v1.Input.SecurityRule.class,
+              com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder.class);
     }
 
     public static final int IP_RANGES_FIELD_NUMBER = 1;
     private com.google.protobuf.LazyStringList ipRanges_;
     /**
+     *
+     *
      * 
      * At least one ip range must match unless none specified. The IP range is
      * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -675,13 +760,15 @@ private SecurityRule(
      * 
* * repeated string ip_ranges = 1; + * * @return A list containing the ipRanges. */ - public com.google.protobuf.ProtocolStringList - getIpRangesList() { + public com.google.protobuf.ProtocolStringList getIpRangesList() { return ipRanges_; } /** + * + * *
      * At least one ip range must match unless none specified. The IP range is
      * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -689,12 +776,15 @@ private SecurityRule(
      * 
* * repeated string ip_ranges = 1; + * * @return The count of ipRanges. */ public int getIpRangesCount() { return ipRanges_.size(); } /** + * + * *
      * At least one ip range must match unless none specified. The IP range is
      * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -702,6 +792,7 @@ public int getIpRangesCount() {
      * 
* * repeated string ip_ranges = 1; + * * @param index The index of the element to return. * @return The ipRanges at the given index. */ @@ -709,6 +800,8 @@ public java.lang.String getIpRanges(int index) { return ipRanges_.get(index); } /** + * + * *
      * At least one ip range must match unless none specified. The IP range is
      * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -716,15 +809,16 @@ public java.lang.String getIpRanges(int index) {
      * 
* * repeated string ip_ranges = 1; + * * @param index The index of the value to return. * @return The bytes of the ipRanges at the given index. */ - public com.google.protobuf.ByteString - getIpRangesBytes(int index) { + public com.google.protobuf.ByteString getIpRangesBytes(int index) { return ipRanges_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -736,8 +830,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 < ipRanges_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ipRanges_.getRaw(i)); } @@ -766,15 +859,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.Input.SecurityRule)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.Input.SecurityRule other = (com.google.cloud.video.livestream.v1.Input.SecurityRule) obj; + com.google.cloud.video.livestream.v1.Input.SecurityRule other = + (com.google.cloud.video.livestream.v1.Input.SecurityRule) obj; - if (!getIpRangesList() - .equals(other.getIpRangesList())) return false; + if (!getIpRangesList().equals(other.getIpRangesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -796,87 +889,94 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.Input.SecurityRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.Input.SecurityRule prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.Input.SecurityRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -886,6 +986,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Security rules for access control. Each field represents one security rule.
      * Only when the source of the input stream satisfies all the fields, this
@@ -894,21 +996,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.video.livestream.v1.Input.SecurityRule}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.Input.SecurityRule)
         com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.video.livestream.v1.ResourcesProto
+            .internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_fieldAccessorTable
+        return com.google.cloud.video.livestream.v1.ResourcesProto
+            .internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.video.livestream.v1.Input.SecurityRule.class, com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder.class);
+                com.google.cloud.video.livestream.v1.Input.SecurityRule.class,
+                com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder.class);
       }
 
       // Construct using com.google.cloud.video.livestream.v1.Input.SecurityRule.newBuilder()
@@ -916,16 +1021,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();
@@ -935,9 +1039,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.video.livestream.v1.ResourcesProto
+            .internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor;
       }
 
       @java.lang.Override
@@ -956,7 +1060,8 @@ public com.google.cloud.video.livestream.v1.Input.SecurityRule build() {
 
       @java.lang.Override
       public com.google.cloud.video.livestream.v1.Input.SecurityRule buildPartial() {
-        com.google.cloud.video.livestream.v1.Input.SecurityRule result = new com.google.cloud.video.livestream.v1.Input.SecurityRule(this);
+        com.google.cloud.video.livestream.v1.Input.SecurityRule result =
+            new com.google.cloud.video.livestream.v1.Input.SecurityRule(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           ipRanges_ = ipRanges_.getUnmodifiableView();
@@ -971,38 +1076,41 @@ public com.google.cloud.video.livestream.v1.Input.SecurityRule buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.video.livestream.v1.Input.SecurityRule) {
-          return mergeFrom((com.google.cloud.video.livestream.v1.Input.SecurityRule)other);
+          return mergeFrom((com.google.cloud.video.livestream.v1.Input.SecurityRule) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1010,7 +1118,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.video.livestream.v1.Input.SecurityRule other) {
-        if (other == com.google.cloud.video.livestream.v1.Input.SecurityRule.getDefaultInstance()) return this;
+        if (other == com.google.cloud.video.livestream.v1.Input.SecurityRule.getDefaultInstance())
+          return this;
         if (!other.ipRanges_.isEmpty()) {
           if (ipRanges_.isEmpty()) {
             ipRanges_ = other.ipRanges_;
@@ -1040,7 +1149,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.video.livestream.v1.Input.SecurityRule) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.video.livestream.v1.Input.SecurityRule) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1049,16 +1159,21 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private com.google.protobuf.LazyStringList ipRanges_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      private com.google.protobuf.LazyStringList ipRanges_ =
+          com.google.protobuf.LazyStringArrayList.EMPTY;
+
       private void ensureIpRangesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           ipRanges_ = new com.google.protobuf.LazyStringArrayList(ipRanges_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
       /**
+       *
+       *
        * 
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1066,13 +1181,15 @@ private void ensureIpRangesIsMutable() {
        * 
* * repeated string ip_ranges = 1; + * * @return A list containing the ipRanges. */ - public com.google.protobuf.ProtocolStringList - getIpRangesList() { + public com.google.protobuf.ProtocolStringList getIpRangesList() { return ipRanges_.getUnmodifiableView(); } /** + * + * *
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1080,12 +1197,15 @@ private void ensureIpRangesIsMutable() {
        * 
* * repeated string ip_ranges = 1; + * * @return The count of ipRanges. */ public int getIpRangesCount() { return ipRanges_.size(); } /** + * + * *
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1093,6 +1213,7 @@ public int getIpRangesCount() {
        * 
* * repeated string ip_ranges = 1; + * * @param index The index of the element to return. * @return The ipRanges at the given index. */ @@ -1100,6 +1221,8 @@ public java.lang.String getIpRanges(int index) { return ipRanges_.get(index); } /** + * + * *
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1107,14 +1230,16 @@ public java.lang.String getIpRanges(int index) {
        * 
* * repeated string ip_ranges = 1; + * * @param index The index of the value to return. * @return The bytes of the ipRanges at the given index. */ - public com.google.protobuf.ByteString - getIpRangesBytes(int index) { + public com.google.protobuf.ByteString getIpRangesBytes(int index) { return ipRanges_.getByteString(index); } /** + * + * *
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1122,21 +1247,23 @@ public java.lang.String getIpRanges(int index) {
        * 
* * repeated string ip_ranges = 1; + * * @param index The index to set the value at. * @param value The ipRanges to set. * @return This builder for chaining. */ - public Builder setIpRanges( - int index, java.lang.String value) { + public Builder setIpRanges(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpRangesIsMutable(); + throw new NullPointerException(); + } + ensureIpRangesIsMutable(); ipRanges_.set(index, value); onChanged(); return this; } /** + * + * *
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1144,20 +1271,22 @@ public Builder setIpRanges(
        * 
* * repeated string ip_ranges = 1; + * * @param value The ipRanges to add. * @return This builder for chaining. */ - public Builder addIpRanges( - java.lang.String value) { + public Builder addIpRanges(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpRangesIsMutable(); + throw new NullPointerException(); + } + ensureIpRangesIsMutable(); ipRanges_.add(value); onChanged(); return this; } /** + * + * *
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1165,18 +1294,19 @@ public Builder addIpRanges(
        * 
* * repeated string ip_ranges = 1; + * * @param values The ipRanges to add. * @return This builder for chaining. */ - public Builder addAllIpRanges( - java.lang.Iterable values) { + public Builder addAllIpRanges(java.lang.Iterable values) { ensureIpRangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ipRanges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipRanges_); onChanged(); return this; } /** + * + * *
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1184,6 +1314,7 @@ public Builder addAllIpRanges(
        * 
* * repeated string ip_ranges = 1; + * * @return This builder for chaining. */ public Builder clearIpRanges() { @@ -1193,6 +1324,8 @@ public Builder clearIpRanges() { return this; } /** + * + * *
        * At least one ip range must match unless none specified. The IP range is
        * defined by CIDR block: for example, `192.0.1.0/24` for a range and
@@ -1200,20 +1333,21 @@ public Builder clearIpRanges() {
        * 
* * repeated string ip_ranges = 1; + * * @param value The bytes of the ipRanges to add. * @return This builder for chaining. */ - public Builder addIpRangesBytes( - com.google.protobuf.ByteString value) { + public Builder addIpRangesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIpRangesIsMutable(); ipRanges_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1226,12 +1360,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.Input.SecurityRule) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.Input.SecurityRule) private static final com.google.cloud.video.livestream.v1.Input.SecurityRule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.Input.SecurityRule(); } @@ -1240,16 +1374,16 @@ public static com.google.cloud.video.livestream.v1.Input.SecurityRule getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SecurityRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SecurityRule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecurityRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SecurityRule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1264,18 +1398,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.Input.SecurityRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The resource name of the input, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1284,30 +1420,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the input, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* * 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 { @@ -1318,11 +1454,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1330,11 +1470,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -1342,11 +1486,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1356,11 +1503,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1368,11 +1519,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -1380,11 +1535,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1392,24 +1550,23 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -1418,28 +1575,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * User-defined key/value metadata.
    * 
@@ -1447,11 +1606,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * User-defined key/value metadata.
    * 
@@ -1459,16 +1619,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * User-defined key/value metadata.
    * 
@@ -1476,12 +1636,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1491,33 +1650,44 @@ public java.lang.String getLabelsOrThrow( public static final int TYPE_FIELD_NUMBER = 5; private int type_; /** + * + * *
    * Source type.
    * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Source type.
    * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; + * * @return The type. */ - @java.lang.Override public com.google.cloud.video.livestream.v1.Input.Type getType() { + @java.lang.Override + public com.google.cloud.video.livestream.v1.Input.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Input.Type result = com.google.cloud.video.livestream.v1.Input.Type.valueOf(type_); + com.google.cloud.video.livestream.v1.Input.Type result = + com.google.cloud.video.livestream.v1.Input.Type.valueOf(type_); return result == null ? com.google.cloud.video.livestream.v1.Input.Type.UNRECOGNIZED : result; } public static final int TIER_FIELD_NUMBER = 14; private int tier_; /** + * + * *
    * Tier defines the maximum input specification that is accepted by the
    * video pipeline. The billing is charged based on the tier specified here.
@@ -1526,12 +1696,16 @@ public java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; + * * @return The enum numeric value on the wire for tier. */ - @java.lang.Override public int getTierValue() { + @java.lang.Override + public int getTierValue() { return tier_; } /** + * + * *
    * Tier defines the maximum input specification that is accepted by the
    * video pipeline. The billing is charged based on the tier specified here.
@@ -1540,17 +1714,22 @@ public java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; + * * @return The tier. */ - @java.lang.Override public com.google.cloud.video.livestream.v1.Input.Tier getTier() { + @java.lang.Override + public com.google.cloud.video.livestream.v1.Input.Tier getTier() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Input.Tier result = com.google.cloud.video.livestream.v1.Input.Tier.valueOf(tier_); + com.google.cloud.video.livestream.v1.Input.Tier result = + com.google.cloud.video.livestream.v1.Input.Tier.valueOf(tier_); return result == null ? com.google.cloud.video.livestream.v1.Input.Tier.UNRECOGNIZED : result; } public static final int URI_FIELD_NUMBER = 6; private volatile java.lang.Object uri_; /** + * + * *
    * Output only. URI to push the input stream to.
    * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -1559,6 +1738,7 @@ public java.lang.String getLabelsOrThrow(
    * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uri. */ @java.lang.Override @@ -1567,14 +1747,15 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * Output only. URI to push the input stream to.
    * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -1583,16 +1764,15 @@ public java.lang.String getUri() {
    * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1603,11 +1783,14 @@ public java.lang.String getUri() { public static final int PREPROCESSING_CONFIG_FIELD_NUMBER = 9; private com.google.cloud.video.livestream.v1.PreprocessingConfig preprocessingConfig_; /** + * + * *
    * Preprocessing configurations.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; + * * @return Whether the preprocessingConfig field is set. */ @java.lang.Override @@ -1615,18 +1798,25 @@ public boolean hasPreprocessingConfig() { return preprocessingConfig_ != null; } /** + * + * *
    * Preprocessing configurations.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; + * * @return The preprocessingConfig. */ @java.lang.Override public com.google.cloud.video.livestream.v1.PreprocessingConfig getPreprocessingConfig() { - return preprocessingConfig_ == null ? com.google.cloud.video.livestream.v1.PreprocessingConfig.getDefaultInstance() : preprocessingConfig_; + return preprocessingConfig_ == null + ? com.google.cloud.video.livestream.v1.PreprocessingConfig.getDefaultInstance() + : preprocessingConfig_; } /** + * + * *
    * Preprocessing configurations.
    * 
@@ -1634,18 +1824,22 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig getPreprocessing * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder() { + public com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder + getPreprocessingConfigOrBuilder() { return getPreprocessingConfig(); } public static final int SECURITY_RULES_FIELD_NUMBER = 12; private com.google.cloud.video.livestream.v1.Input.SecurityRule securityRules_; /** + * + * *
    * Security rule for access control.
    * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; + * * @return Whether the securityRules field is set. */ @java.lang.Override @@ -1653,18 +1847,25 @@ public boolean hasSecurityRules() { return securityRules_ != null; } /** + * + * *
    * Security rule for access control.
    * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; + * * @return The securityRules. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Input.SecurityRule getSecurityRules() { - return securityRules_ == null ? com.google.cloud.video.livestream.v1.Input.SecurityRule.getDefaultInstance() : securityRules_; + return securityRules_ == null + ? com.google.cloud.video.livestream.v1.Input.SecurityRule.getDefaultInstance() + : securityRules_; } /** + * + * *
    * Security rule for access control.
    * 
@@ -1672,19 +1873,25 @@ public com.google.cloud.video.livestream.v1.Input.SecurityRule getSecurityRules( * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder getSecurityRulesOrBuilder() { + public com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder + getSecurityRulesOrBuilder() { return getSecurityRules(); } public static final int INPUT_STREAM_PROPERTY_FIELD_NUMBER = 15; private com.google.cloud.video.livestream.v1.InputStreamProperty inputStreamProperty_; /** + * + * *
    * Output only. The information for the input stream. This field will be present only when
    * this input receives the input stream.
    * 
* - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the inputStreamProperty field is set. */ @java.lang.Override @@ -1692,32 +1899,45 @@ public boolean hasInputStreamProperty() { return inputStreamProperty_ != null; } /** + * + * *
    * Output only. The information for the input stream. This field will be present only when
    * this input receives the input stream.
    * 
* - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The inputStreamProperty. */ @java.lang.Override public com.google.cloud.video.livestream.v1.InputStreamProperty getInputStreamProperty() { - return inputStreamProperty_ == null ? com.google.cloud.video.livestream.v1.InputStreamProperty.getDefaultInstance() : inputStreamProperty_; + return inputStreamProperty_ == null + ? com.google.cloud.video.livestream.v1.InputStreamProperty.getDefaultInstance() + : inputStreamProperty_; } /** + * + * *
    * Output only. The information for the input stream. This field will be present only when
    * this input receives the input stream.
    * 
* - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder getInputStreamPropertyOrBuilder() { + public com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder + getInputStreamPropertyOrBuilder() { return getInputStreamProperty(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1729,8 +1949,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_); } @@ -1740,12 +1959,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (type_ != com.google.cloud.video.livestream.v1.Input.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, type_); } @@ -1777,45 +1992,39 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); } if (type_ != com.google.cloud.video.livestream.v1.Input.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, uri_); } if (preprocessingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getPreprocessingConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getPreprocessingConfig()); } if (securityRules_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getSecurityRules()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getSecurityRules()); } if (tier_ != com.google.cloud.video.livestream.v1.Input.Tier.TIER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(14, tier_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, tier_); } if (inputStreamProperty_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getInputStreamProperty()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(15, getInputStreamProperty()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1825,45 +2034,38 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.Input)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.Input other = (com.google.cloud.video.livestream.v1.Input) obj; + com.google.cloud.video.livestream.v1.Input other = + (com.google.cloud.video.livestream.v1.Input) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (type_ != other.type_) return false; if (tier_ != other.tier_) return false; - if (!getUri() - .equals(other.getUri())) return false; + if (!getUri().equals(other.getUri())) return false; if (hasPreprocessingConfig() != other.hasPreprocessingConfig()) return false; if (hasPreprocessingConfig()) { - if (!getPreprocessingConfig() - .equals(other.getPreprocessingConfig())) return false; + if (!getPreprocessingConfig().equals(other.getPreprocessingConfig())) return false; } if (hasSecurityRules() != other.hasSecurityRules()) return false; if (hasSecurityRules()) { - if (!getSecurityRules() - .equals(other.getSecurityRules())) return false; + if (!getSecurityRules().equals(other.getSecurityRules())) return false; } if (hasInputStreamProperty() != other.hasInputStreamProperty()) return false; if (hasInputStreamProperty()) { - if (!getInputStreamProperty() - .equals(other.getInputStreamProperty())) return false; + if (!getInputStreamProperty().equals(other.getInputStreamProperty())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1913,97 +2115,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.Input parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.Input parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.Input parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.Input parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.Input parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.Input parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.Input parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.Input parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.Input parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.Input parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.Input parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.Input parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.Input parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.Input parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.video.livestream.v1.Input prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Input resource represents the endpoint from which the channel ingests
    * the input stream.
@@ -2011,43 +2220,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.video.livestream.v1.Input}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.Input)
       com.google.cloud.video.livestream.v1.InputOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto
+          .internal_static_google_cloud_video_livestream_v1_Input_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_fieldAccessorTable
+      return com.google.cloud.video.livestream.v1.ResourcesProto
+          .internal_static_google_cloud_video_livestream_v1_Input_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.livestream.v1.Input.class, com.google.cloud.video.livestream.v1.Input.Builder.class);
+              com.google.cloud.video.livestream.v1.Input.class,
+              com.google.cloud.video.livestream.v1.Input.Builder.class);
     }
 
     // Construct using com.google.cloud.video.livestream.v1.Input.newBuilder()
@@ -2055,16 +2264,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();
@@ -2111,9 +2319,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_Input_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto
+          .internal_static_google_cloud_video_livestream_v1_Input_descriptor;
     }
 
     @java.lang.Override
@@ -2132,7 +2340,8 @@ public com.google.cloud.video.livestream.v1.Input build() {
 
     @java.lang.Override
     public com.google.cloud.video.livestream.v1.Input buildPartial() {
-      com.google.cloud.video.livestream.v1.Input result = new com.google.cloud.video.livestream.v1.Input(this);
+      com.google.cloud.video.livestream.v1.Input result =
+          new com.google.cloud.video.livestream.v1.Input(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (createTimeBuilder_ == null) {
@@ -2173,38 +2382,39 @@ public com.google.cloud.video.livestream.v1.Input buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.video.livestream.v1.Input) {
-        return mergeFrom((com.google.cloud.video.livestream.v1.Input)other);
+        return mergeFrom((com.google.cloud.video.livestream.v1.Input) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2223,8 +2433,7 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.Input other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       if (other.type_ != 0) {
         setTypeValue(other.getTypeValue());
       }
@@ -2272,23 +2481,26 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * 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; @@ -2297,21 +2509,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * 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 { @@ -2319,57 +2532,64 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * 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 input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The resource name of the input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * 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; @@ -2377,39 +2597,58 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2425,14 +2664,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2443,17 +2685,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2465,11 +2711,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2483,48 +2733,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The creation time.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2532,39 +2798,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2580,14 +2865,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - 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(); @@ -2598,17 +2886,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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; } @@ -2620,11 +2912,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2638,69 +2934,84 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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. The update time.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2712,28 +3023,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * User-defined key/value metadata.
      * 
@@ -2741,11 +3054,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * User-defined key/value metadata.
      * 
@@ -2753,16 +3067,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * User-defined key/value metadata.
      * 
@@ -2770,12 +3085,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2783,114 +3097,125 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * User-defined key/value metadata.
      * 
* * map<string, string> labels = 4; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } private int type_ = 0; /** + * + * *
      * Source type.
      * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Source type.
      * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * Source type.
      * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; + * * @return The type. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Input.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Input.Type result = com.google.cloud.video.livestream.v1.Input.Type.valueOf(type_); + com.google.cloud.video.livestream.v1.Input.Type result = + com.google.cloud.video.livestream.v1.Input.Type.valueOf(type_); return result == null ? com.google.cloud.video.livestream.v1.Input.Type.UNRECOGNIZED : result; } /** + * + * *
      * Source type.
      * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; + * * @param value The type to set. * @return This builder for chaining. */ @@ -2898,21 +3223,24 @@ public Builder setType(com.google.cloud.video.livestream.v1.Input.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Source type.
      * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -2920,6 +3248,8 @@ public Builder clearType() { private int tier_ = 0; /** + * + * *
      * Tier defines the maximum input specification that is accepted by the
      * video pipeline. The billing is charged based on the tier specified here.
@@ -2928,12 +3258,16 @@ public Builder clearType() {
      * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; + * * @return The enum numeric value on the wire for tier. */ - @java.lang.Override public int getTierValue() { + @java.lang.Override + public int getTierValue() { return tier_; } /** + * + * *
      * Tier defines the maximum input specification that is accepted by the
      * video pipeline. The billing is charged based on the tier specified here.
@@ -2942,16 +3276,19 @@ public Builder clearType() {
      * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; + * * @param value The enum numeric value on the wire for tier to set. * @return This builder for chaining. */ public Builder setTierValue(int value) { - + tier_ = value; onChanged(); return this; } /** + * + * *
      * Tier defines the maximum input specification that is accepted by the
      * video pipeline. The billing is charged based on the tier specified here.
@@ -2960,15 +3297,19 @@ public Builder setTierValue(int value) {
      * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; + * * @return The tier. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Input.Tier getTier() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Input.Tier result = com.google.cloud.video.livestream.v1.Input.Tier.valueOf(tier_); + com.google.cloud.video.livestream.v1.Input.Tier result = + com.google.cloud.video.livestream.v1.Input.Tier.valueOf(tier_); return result == null ? com.google.cloud.video.livestream.v1.Input.Tier.UNRECOGNIZED : result; } /** + * + * *
      * Tier defines the maximum input specification that is accepted by the
      * video pipeline. The billing is charged based on the tier specified here.
@@ -2977,6 +3318,7 @@ public com.google.cloud.video.livestream.v1.Input.Tier getTier() {
      * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; + * * @param value The tier to set. * @return This builder for chaining. */ @@ -2984,12 +3326,14 @@ public Builder setTier(com.google.cloud.video.livestream.v1.Input.Tier value) { if (value == null) { throw new NullPointerException(); } - + tier_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Tier defines the maximum input specification that is accepted by the
      * video pipeline. The billing is charged based on the tier specified here.
@@ -2998,10 +3342,11 @@ public Builder setTier(com.google.cloud.video.livestream.v1.Input.Tier value) {
      * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; + * * @return This builder for chaining. */ public Builder clearTier() { - + tier_ = 0; onChanged(); return this; @@ -3009,6 +3354,8 @@ public Builder clearTier() { private java.lang.Object uri_ = ""; /** + * + * *
      * Output only. URI to push the input stream to.
      * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -3017,13 +3364,13 @@ public Builder clearTier() {
      * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -3032,6 +3379,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * Output only. URI to push the input stream to.
      * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -3040,15 +3389,14 @@ public java.lang.String getUri() {
      * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -3056,6 +3404,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * Output only. URI to push the input stream to.
      * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -3064,20 +3414,22 @@ public java.lang.String getUri() {
      * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
      * Output only. URI to push the input stream to.
      * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -3086,15 +3438,18 @@ public Builder setUri(
      * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** + * + * *
      * Output only. URI to push the input stream to.
      * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -3103,16 +3458,16 @@ public Builder clearUri() {
      * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -3120,41 +3475,55 @@ public Builder setUriBytes( private com.google.cloud.video.livestream.v1.PreprocessingConfig preprocessingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig, com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder> preprocessingConfigBuilder_; + com.google.cloud.video.livestream.v1.PreprocessingConfig, + com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder, + com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder> + preprocessingConfigBuilder_; /** + * + * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; + * * @return Whether the preprocessingConfig field is set. */ public boolean hasPreprocessingConfig() { return preprocessingConfigBuilder_ != null || preprocessingConfig_ != null; } /** + * + * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; + * * @return The preprocessingConfig. */ public com.google.cloud.video.livestream.v1.PreprocessingConfig getPreprocessingConfig() { if (preprocessingConfigBuilder_ == null) { - return preprocessingConfig_ == null ? com.google.cloud.video.livestream.v1.PreprocessingConfig.getDefaultInstance() : preprocessingConfig_; + return preprocessingConfig_ == null + ? com.google.cloud.video.livestream.v1.PreprocessingConfig.getDefaultInstance() + : preprocessingConfig_; } else { return preprocessingConfigBuilder_.getMessage(); } } /** + * + * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; */ - public Builder setPreprocessingConfig(com.google.cloud.video.livestream.v1.PreprocessingConfig value) { + public Builder setPreprocessingConfig( + com.google.cloud.video.livestream.v1.PreprocessingConfig value) { if (preprocessingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3168,6 +3537,8 @@ public Builder setPreprocessingConfig(com.google.cloud.video.livestream.v1.Prepr return this; } /** + * + * *
      * Preprocessing configurations.
      * 
@@ -3186,17 +3557,23 @@ public Builder setPreprocessingConfig( return this; } /** + * + * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; */ - public Builder mergePreprocessingConfig(com.google.cloud.video.livestream.v1.PreprocessingConfig value) { + public Builder mergePreprocessingConfig( + com.google.cloud.video.livestream.v1.PreprocessingConfig value) { if (preprocessingConfigBuilder_ == null) { if (preprocessingConfig_ != null) { preprocessingConfig_ = - com.google.cloud.video.livestream.v1.PreprocessingConfig.newBuilder(preprocessingConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.video.livestream.v1.PreprocessingConfig.newBuilder( + preprocessingConfig_) + .mergeFrom(value) + .buildPartial(); } else { preprocessingConfig_ = value; } @@ -3208,6 +3585,8 @@ public Builder mergePreprocessingConfig(com.google.cloud.video.livestream.v1.Pre return this; } /** + * + * *
      * Preprocessing configurations.
      * 
@@ -3226,33 +3605,42 @@ public Builder clearPreprocessingConfig() { return this; } /** + * + * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; */ - public com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder getPreprocessingConfigBuilder() { - + public com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder + getPreprocessingConfigBuilder() { + onChanged(); return getPreprocessingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; */ - public com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder() { + public com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder + getPreprocessingConfigOrBuilder() { if (preprocessingConfigBuilder_ != null) { return preprocessingConfigBuilder_.getMessageOrBuilder(); } else { - return preprocessingConfig_ == null ? - com.google.cloud.video.livestream.v1.PreprocessingConfig.getDefaultInstance() : preprocessingConfig_; + return preprocessingConfig_ == null + ? com.google.cloud.video.livestream.v1.PreprocessingConfig.getDefaultInstance() + : preprocessingConfig_; } } /** + * + * *
      * Preprocessing configurations.
      * 
@@ -3260,14 +3648,17 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder getPrep * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig, com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder> + com.google.cloud.video.livestream.v1.PreprocessingConfig, + com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder, + com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder> getPreprocessingConfigFieldBuilder() { if (preprocessingConfigBuilder_ == null) { - preprocessingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig, com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder>( - getPreprocessingConfig(), - getParentForChildren(), - isClean()); + preprocessingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.PreprocessingConfig, + com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder, + com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder>( + getPreprocessingConfig(), getParentForChildren(), isClean()); preprocessingConfig_ = null; } return preprocessingConfigBuilder_; @@ -3275,34 +3666,47 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder getPrep private com.google.cloud.video.livestream.v1.Input.SecurityRule securityRules_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input.SecurityRule, com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder, com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder> securityRulesBuilder_; + com.google.cloud.video.livestream.v1.Input.SecurityRule, + com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder, + com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder> + securityRulesBuilder_; /** + * + * *
      * Security rule for access control.
      * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; + * * @return Whether the securityRules field is set. */ public boolean hasSecurityRules() { return securityRulesBuilder_ != null || securityRules_ != null; } /** + * + * *
      * Security rule for access control.
      * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; + * * @return The securityRules. */ public com.google.cloud.video.livestream.v1.Input.SecurityRule getSecurityRules() { if (securityRulesBuilder_ == null) { - return securityRules_ == null ? com.google.cloud.video.livestream.v1.Input.SecurityRule.getDefaultInstance() : securityRules_; + return securityRules_ == null + ? com.google.cloud.video.livestream.v1.Input.SecurityRule.getDefaultInstance() + : securityRules_; } else { return securityRulesBuilder_.getMessage(); } } /** + * + * *
      * Security rule for access control.
      * 
@@ -3323,6 +3727,8 @@ public Builder setSecurityRules(com.google.cloud.video.livestream.v1.Input.Secur return this; } /** + * + * *
      * Security rule for access control.
      * 
@@ -3341,17 +3747,22 @@ public Builder setSecurityRules( return this; } /** + * + * *
      * Security rule for access control.
      * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; */ - public Builder mergeSecurityRules(com.google.cloud.video.livestream.v1.Input.SecurityRule value) { + public Builder mergeSecurityRules( + com.google.cloud.video.livestream.v1.Input.SecurityRule value) { if (securityRulesBuilder_ == null) { if (securityRules_ != null) { securityRules_ = - com.google.cloud.video.livestream.v1.Input.SecurityRule.newBuilder(securityRules_).mergeFrom(value).buildPartial(); + com.google.cloud.video.livestream.v1.Input.SecurityRule.newBuilder(securityRules_) + .mergeFrom(value) + .buildPartial(); } else { securityRules_ = value; } @@ -3363,6 +3774,8 @@ public Builder mergeSecurityRules(com.google.cloud.video.livestream.v1.Input.Sec return this; } /** + * + * *
      * Security rule for access control.
      * 
@@ -3381,33 +3794,42 @@ public Builder clearSecurityRules() { return this; } /** + * + * *
      * Security rule for access control.
      * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; */ - public com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder getSecurityRulesBuilder() { - + public com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder + getSecurityRulesBuilder() { + onChanged(); return getSecurityRulesFieldBuilder().getBuilder(); } /** + * + * *
      * Security rule for access control.
      * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; */ - public com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder getSecurityRulesOrBuilder() { + public com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder + getSecurityRulesOrBuilder() { if (securityRulesBuilder_ != null) { return securityRulesBuilder_.getMessageOrBuilder(); } else { - return securityRules_ == null ? - com.google.cloud.video.livestream.v1.Input.SecurityRule.getDefaultInstance() : securityRules_; + return securityRules_ == null + ? com.google.cloud.video.livestream.v1.Input.SecurityRule.getDefaultInstance() + : securityRules_; } } /** + * + * *
      * Security rule for access control.
      * 
@@ -3415,14 +3837,17 @@ public com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder getSecur * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input.SecurityRule, com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder, com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder> + com.google.cloud.video.livestream.v1.Input.SecurityRule, + com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder, + com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder> getSecurityRulesFieldBuilder() { if (securityRulesBuilder_ == null) { - securityRulesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input.SecurityRule, com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder, com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder>( - getSecurityRules(), - getParentForChildren(), - isClean()); + securityRulesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.Input.SecurityRule, + com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder, + com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder>( + getSecurityRules(), getParentForChildren(), isClean()); securityRules_ = null; } return securityRulesBuilder_; @@ -3430,44 +3855,64 @@ public com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder getSecur private com.google.cloud.video.livestream.v1.InputStreamProperty inputStreamProperty_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputStreamProperty, com.google.cloud.video.livestream.v1.InputStreamProperty.Builder, com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder> inputStreamPropertyBuilder_; + com.google.cloud.video.livestream.v1.InputStreamProperty, + com.google.cloud.video.livestream.v1.InputStreamProperty.Builder, + com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder> + inputStreamPropertyBuilder_; /** + * + * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the inputStreamProperty field is set. */ public boolean hasInputStreamProperty() { return inputStreamPropertyBuilder_ != null || inputStreamProperty_ != null; } /** + * + * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The inputStreamProperty. */ public com.google.cloud.video.livestream.v1.InputStreamProperty getInputStreamProperty() { if (inputStreamPropertyBuilder_ == null) { - return inputStreamProperty_ == null ? com.google.cloud.video.livestream.v1.InputStreamProperty.getDefaultInstance() : inputStreamProperty_; + return inputStreamProperty_ == null + ? com.google.cloud.video.livestream.v1.InputStreamProperty.getDefaultInstance() + : inputStreamProperty_; } else { return inputStreamPropertyBuilder_.getMessage(); } } /** + * + * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setInputStreamProperty(com.google.cloud.video.livestream.v1.InputStreamProperty value) { + public Builder setInputStreamProperty( + com.google.cloud.video.livestream.v1.InputStreamProperty value) { if (inputStreamPropertyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3481,12 +3926,16 @@ public Builder setInputStreamProperty(com.google.cloud.video.livestream.v1.Input return this; } /** + * + * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setInputStreamProperty( com.google.cloud.video.livestream.v1.InputStreamProperty.Builder builderForValue) { @@ -3500,18 +3949,26 @@ public Builder setInputStreamProperty( return this; } /** + * + * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeInputStreamProperty(com.google.cloud.video.livestream.v1.InputStreamProperty value) { + public Builder mergeInputStreamProperty( + com.google.cloud.video.livestream.v1.InputStreamProperty value) { if (inputStreamPropertyBuilder_ == null) { if (inputStreamProperty_ != null) { inputStreamProperty_ = - com.google.cloud.video.livestream.v1.InputStreamProperty.newBuilder(inputStreamProperty_).mergeFrom(value).buildPartial(); + com.google.cloud.video.livestream.v1.InputStreamProperty.newBuilder( + inputStreamProperty_) + .mergeFrom(value) + .buildPartial(); } else { inputStreamProperty_ = value; } @@ -3523,12 +3980,16 @@ public Builder mergeInputStreamProperty(com.google.cloud.video.livestream.v1.Inp return this; } /** + * + * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearInputStreamProperty() { if (inputStreamPropertyBuilder_ == null) { @@ -3542,58 +4003,76 @@ public Builder clearInputStreamProperty() { return this; } /** + * + * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.video.livestream.v1.InputStreamProperty.Builder getInputStreamPropertyBuilder() { - + public com.google.cloud.video.livestream.v1.InputStreamProperty.Builder + getInputStreamPropertyBuilder() { + onChanged(); return getInputStreamPropertyFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder getInputStreamPropertyOrBuilder() { + public com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder + getInputStreamPropertyOrBuilder() { if (inputStreamPropertyBuilder_ != null) { return inputStreamPropertyBuilder_.getMessageOrBuilder(); } else { - return inputStreamProperty_ == null ? - com.google.cloud.video.livestream.v1.InputStreamProperty.getDefaultInstance() : inputStreamProperty_; + return inputStreamProperty_ == null + ? com.google.cloud.video.livestream.v1.InputStreamProperty.getDefaultInstance() + : inputStreamProperty_; } } /** + * + * *
      * Output only. The information for the input stream. This field will be present only when
      * this input receives the input stream.
      * 
* - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputStreamProperty, com.google.cloud.video.livestream.v1.InputStreamProperty.Builder, com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder> + com.google.cloud.video.livestream.v1.InputStreamProperty, + com.google.cloud.video.livestream.v1.InputStreamProperty.Builder, + com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder> getInputStreamPropertyFieldBuilder() { if (inputStreamPropertyBuilder_ == null) { - inputStreamPropertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputStreamProperty, com.google.cloud.video.livestream.v1.InputStreamProperty.Builder, com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder>( - getInputStreamProperty(), - getParentForChildren(), - isClean()); + inputStreamPropertyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.InputStreamProperty, + com.google.cloud.video.livestream.v1.InputStreamProperty.Builder, + com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder>( + getInputStreamProperty(), getParentForChildren(), isClean()); inputStreamProperty_ = null; } return inputStreamPropertyBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3603,12 +4082,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.Input) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.Input) private static final com.google.cloud.video.livestream.v1.Input DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.Input(); } @@ -3617,16 +4096,16 @@ public static com.google.cloud.video.livestream.v1.Input getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Input parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Input(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Input parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Input(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3641,6 +4120,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.Input getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachment.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachment.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachment.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachment.java index 5215f3e..fb05de8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachment.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachment.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/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * A group of information for attaching an input resource to this channel.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.InputAttachment} */ -public final class InputAttachment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InputAttachment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.InputAttachment) InputAttachmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InputAttachment.newBuilder() to construct. private InputAttachment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InputAttachment() { key_ = ""; input_ = ""; @@ -26,16 +44,15 @@ private InputAttachment() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InputAttachment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InputAttachment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,46 @@ private InputAttachment( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - key_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - input_ = s; - break; - } - case 26: { - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder subBuilder = null; - if (automaticFailover_ != null) { - subBuilder = automaticFailover_.toBuilder(); + key_ = s; + break; } - automaticFailover_ = input.readMessage(com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(automaticFailover_); - automaticFailover_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + input_ = s; + break; } + case 26: + { + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder + subBuilder = null; + if (automaticFailover_ != null) { + subBuilder = automaticFailover_.toBuilder(); + } + automaticFailover_ = + input.readMessage( + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(automaticFailover_); + automaticFailover_ = 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,107 +118,122 @@ private InputAttachment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_InputAttachment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.InputAttachment.class, com.google.cloud.video.livestream.v1.InputAttachment.Builder.class); + com.google.cloud.video.livestream.v1.InputAttachment.class, + com.google.cloud.video.livestream.v1.InputAttachment.Builder.class); } - public interface AutomaticFailoverOrBuilder extends + public interface AutomaticFailoverOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
      * disconnected. Currently, only up to one backup input is supported.
      * 
* * repeated string input_keys = 1; + * * @return A list containing the inputKeys. */ - java.util.List - getInputKeysList(); + java.util.List getInputKeysList(); /** + * + * *
      * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
      * disconnected. Currently, only up to one backup input is supported.
      * 
* * repeated string input_keys = 1; + * * @return The count of inputKeys. */ int getInputKeysCount(); /** + * + * *
      * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
      * disconnected. Currently, only up to one backup input is supported.
      * 
* * repeated string input_keys = 1; + * * @param index The index of the element to return. * @return The inputKeys at the given index. */ java.lang.String getInputKeys(int index); /** + * + * *
      * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
      * disconnected. Currently, only up to one backup input is supported.
      * 
* * repeated string input_keys = 1; + * * @param index The index of the value to return. * @return The bytes of the inputKeys at the given index. */ - com.google.protobuf.ByteString - getInputKeysBytes(int index); + com.google.protobuf.ByteString getInputKeysBytes(int index); } /** + * + * *
    * Configurations to follow when automatic failover happens.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover} */ - public static final class AutomaticFailover extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AutomaticFailover extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) AutomaticFailoverOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AutomaticFailover.newBuilder() to construct. private AutomaticFailover(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AutomaticFailover() { inputKeys_ = 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 AutomaticFailover(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AutomaticFailover( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -213,22 +253,23 @@ private AutomaticFailover( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - inputKeys_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + inputKeys_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + inputKeys_.add(s); + break; } - inputKeys_.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) { @@ -236,8 +277,7 @@ private AutomaticFailover( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { inputKeys_ = inputKeys_.getUnmodifiableView(); @@ -246,53 +286,64 @@ private AutomaticFailover( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.class, com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder.class); + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.class, + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder.class); } public static final int INPUT_KEYS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList inputKeys_; /** + * + * *
      * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
      * disconnected. Currently, only up to one backup input is supported.
      * 
* * repeated string input_keys = 1; + * * @return A list containing the inputKeys. */ - public com.google.protobuf.ProtocolStringList - getInputKeysList() { + public com.google.protobuf.ProtocolStringList getInputKeysList() { return inputKeys_; } /** + * + * *
      * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
      * disconnected. Currently, only up to one backup input is supported.
      * 
* * repeated string input_keys = 1; + * * @return The count of inputKeys. */ public int getInputKeysCount() { return inputKeys_.size(); } /** + * + * *
      * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
      * disconnected. Currently, only up to one backup input is supported.
      * 
* * repeated string input_keys = 1; + * * @param index The index of the element to return. * @return The inputKeys at the given index. */ @@ -300,21 +351,24 @@ public java.lang.String getInputKeys(int index) { return inputKeys_.get(index); } /** + * + * *
      * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
      * disconnected. Currently, only up to one backup input is supported.
      * 
* * repeated string input_keys = 1; + * * @param index The index of the value to return. * @return The bytes of the inputKeys at the given index. */ - public com.google.protobuf.ByteString - getInputKeysBytes(int index) { + public com.google.protobuf.ByteString getInputKeysBytes(int index) { return inputKeys_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -326,8 +380,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 < inputKeys_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputKeys_.getRaw(i)); } @@ -356,15 +409,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.video.livestream.v1.InputAttachment.AutomaticFailover)) { + if (!(obj + instanceof com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover other = (com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) obj; + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover other = + (com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) obj; - if (!getInputKeysList() - .equals(other.getInputKeysList())) return false; + if (!getInputKeysList().equals(other.getInputKeysList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -386,87 +440,95 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -476,44 +538,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configurations to follow when automatic failover happens.
      * 
* * Protobuf type {@code google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.class, com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder.class); + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.class, + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder + .class); } - // Construct using com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.newBuilder() + // Construct using + // com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.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,19 +591,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor; } @java.lang.Override - public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover getDefaultInstanceForType() { - return com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.getDefaultInstance(); + public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover + getDefaultInstanceForType() { + return com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover build() { - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover result = buildPartial(); + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -544,7 +615,8 @@ public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover bu @java.lang.Override public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover buildPartial() { - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover result = new com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover(this); + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover result = + new com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { inputKeys_ = inputKeys_.getUnmodifiableView(); @@ -559,46 +631,54 @@ public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) { - return mergeFrom((com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover)other); + if (other + instanceof com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) { + return mergeFrom( + (com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover other) { - if (other == com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover other) { + if (other + == com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover + .getDefaultInstance()) return this; if (!other.inputKeys_.isEmpty()) { if (inputKeys_.isEmpty()) { inputKeys_ = other.inputKeys_; @@ -628,7 +708,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -637,47 +719,58 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList inputKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList inputKeys_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureInputKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { inputKeys_ = new com.google.protobuf.LazyStringArrayList(inputKeys_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; + * * @return A list containing the inputKeys. */ - public com.google.protobuf.ProtocolStringList - getInputKeysList() { + public com.google.protobuf.ProtocolStringList getInputKeysList() { return inputKeys_.getUnmodifiableView(); } /** + * + * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; + * * @return The count of inputKeys. */ public int getInputKeysCount() { return inputKeys_.size(); } /** + * + * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; + * * @param index The index of the element to return. * @return The inputKeys at the given index. */ @@ -685,85 +778,95 @@ public java.lang.String getInputKeys(int index) { return inputKeys_.get(index); } /** + * + * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; + * * @param index The index of the value to return. * @return The bytes of the inputKeys at the given index. */ - public com.google.protobuf.ByteString - getInputKeysBytes(int index) { + public com.google.protobuf.ByteString getInputKeysBytes(int index) { return inputKeys_.getByteString(index); } /** + * + * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; + * * @param index The index to set the value at. * @param value The inputKeys to set. * @return This builder for chaining. */ - public Builder setInputKeys( - int index, java.lang.String value) { + public Builder setInputKeys(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInputKeysIsMutable(); + throw new NullPointerException(); + } + ensureInputKeysIsMutable(); inputKeys_.set(index, value); onChanged(); return this; } /** + * + * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; + * * @param value The inputKeys to add. * @return This builder for chaining. */ - public Builder addInputKeys( - java.lang.String value) { + public Builder addInputKeys(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInputKeysIsMutable(); + throw new NullPointerException(); + } + ensureInputKeysIsMutable(); inputKeys_.add(value); onChanged(); return this; } /** + * + * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; + * * @param values The inputKeys to add. * @return This builder for chaining. */ - public Builder addAllInputKeys( - java.lang.Iterable values) { + public Builder addAllInputKeys(java.lang.Iterable values) { ensureInputKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, inputKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inputKeys_); onChanged(); return this; } /** + * + * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; + * * @return This builder for chaining. */ public Builder clearInputKeys() { @@ -773,26 +876,29 @@ public Builder clearInputKeys() { return this; } /** + * + * *
        * The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is
        * disconnected. Currently, only up to one backup input is supported.
        * 
* * repeated string input_keys = 1; + * * @param value The bytes of the inputKeys to add. * @return This builder for chaining. */ - public Builder addInputKeysBytes( - com.google.protobuf.ByteString value) { + public Builder addInputKeysBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInputKeysIsMutable(); inputKeys_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -805,30 +911,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover) - private static final com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover DEFAULT_INSTANCE; + private static final com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover(); + DEFAULT_INSTANCE = + new com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover(); } - public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover getDefaultInstance() { + public static com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutomaticFailover parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AutomaticFailover(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutomaticFailover parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AutomaticFailover(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -840,20 +949,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover getDefaultInstanceForType() { + public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** + * + * *
    * A unique key for this input attachment.
    * 
* * string key = 1; + * * @return The key. */ @java.lang.Override @@ -862,29 +974,29 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** + * + * *
    * A unique key for this input attachment.
    * 
* * string key = 1; + * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -895,12 +1007,15 @@ public java.lang.String getKey() { public static final int INPUT_FIELD_NUMBER = 2; private volatile java.lang.Object input_; /** + * + * *
    * The resource name of an existing input, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* * string input = 2 [(.google.api.resource_reference) = { ... } + * * @return The input. */ @java.lang.Override @@ -909,30 +1024,30 @@ public java.lang.String getInput() { 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(); input_ = s; return s; } } /** + * + * *
    * The resource name of an existing input, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* * string input = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for input. */ @java.lang.Override - public com.google.protobuf.ByteString - getInputBytes() { + public com.google.protobuf.ByteString getInputBytes() { java.lang.Object ref = input_; 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); input_ = b; return b; } else { @@ -943,11 +1058,16 @@ public java.lang.String getInput() { public static final int AUTOMATIC_FAILOVER_FIELD_NUMBER = 3; private com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automaticFailover_; /** + * + * *
    * Automatic failover configurations.
    * 
* - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * * @return Whether the automaticFailover field is set. */ @java.lang.Override @@ -955,30 +1075,45 @@ public boolean hasAutomaticFailover() { return automaticFailover_ != null; } /** + * + * *
    * Automatic failover configurations.
    * 
* - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * * @return The automaticFailover. */ @java.lang.Override - public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover getAutomaticFailover() { - return automaticFailover_ == null ? com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.getDefaultInstance() : automaticFailover_; + public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover + getAutomaticFailover() { + return automaticFailover_ == null + ? com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover + .getDefaultInstance() + : automaticFailover_; } /** + * + * *
    * Automatic failover configurations.
    * 
* - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * */ @java.lang.Override - public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder getAutomaticFailoverOrBuilder() { + public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder + getAutomaticFailoverOrBuilder() { return getAutomaticFailover(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -990,8 +1125,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(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } @@ -1017,8 +1151,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, input_); } if (automaticFailover_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAutomaticFailover()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAutomaticFailover()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1028,21 +1161,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.InputAttachment)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.InputAttachment other = (com.google.cloud.video.livestream.v1.InputAttachment) obj; + com.google.cloud.video.livestream.v1.InputAttachment other = + (com.google.cloud.video.livestream.v1.InputAttachment) obj; - if (!getKey() - .equals(other.getKey())) return false; - if (!getInput() - .equals(other.getInput())) return false; + if (!getKey().equals(other.getKey())) return false; + if (!getInput().equals(other.getInput())) return false; if (hasAutomaticFailover() != other.hasAutomaticFailover()) return false; if (hasAutomaticFailover()) { - if (!getAutomaticFailover() - .equals(other.getAutomaticFailover())) return false; + if (!getAutomaticFailover().equals(other.getAutomaticFailover())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1069,117 +1200,126 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.InputAttachment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.InputAttachment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.InputAttachment parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.InputAttachment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.video.livestream.v1.InputAttachment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 group of information for attaching an input resource to this channel.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.InputAttachment} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.InputAttachment) com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_InputAttachment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.InputAttachment.class, com.google.cloud.video.livestream.v1.InputAttachment.Builder.class); + com.google.cloud.video.livestream.v1.InputAttachment.class, + com.google.cloud.video.livestream.v1.InputAttachment.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.InputAttachment.newBuilder() @@ -1187,16 +1327,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(); @@ -1214,9 +1353,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor; } @java.lang.Override @@ -1235,7 +1374,8 @@ public com.google.cloud.video.livestream.v1.InputAttachment build() { @java.lang.Override public com.google.cloud.video.livestream.v1.InputAttachment buildPartial() { - com.google.cloud.video.livestream.v1.InputAttachment result = new com.google.cloud.video.livestream.v1.InputAttachment(this); + com.google.cloud.video.livestream.v1.InputAttachment result = + new com.google.cloud.video.livestream.v1.InputAttachment(this); result.key_ = key_; result.input_ = input_; if (automaticFailoverBuilder_ == null) { @@ -1251,38 +1391,39 @@ public com.google.cloud.video.livestream.v1.InputAttachment buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.InputAttachment) { - return mergeFrom((com.google.cloud.video.livestream.v1.InputAttachment)other); + return mergeFrom((com.google.cloud.video.livestream.v1.InputAttachment) other); } else { super.mergeFrom(other); return this; @@ -1290,7 +1431,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.InputAttachment other) { - if (other == com.google.cloud.video.livestream.v1.InputAttachment.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.InputAttachment.getDefaultInstance()) + return this; if (!other.getKey().isEmpty()) { key_ = other.key_; onChanged(); @@ -1321,7 +1463,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.InputAttachment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.InputAttachment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1333,18 +1476,20 @@ public Builder mergeFrom( private java.lang.Object key_ = ""; /** + * + * *
      * A unique key for this input attachment.
      * 
* * string key = 1; + * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -1353,20 +1498,21 @@ public java.lang.String getKey() { } } /** + * + * *
      * A unique key for this input attachment.
      * 
* * string key = 1; + * * @return The bytes for key. */ - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -1374,54 +1520,61 @@ public java.lang.String getKey() { } } /** + * + * *
      * A unique key for this input attachment.
      * 
* * string key = 1; + * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey( - java.lang.String value) { + public Builder setKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** + * + * *
      * A unique key for this input attachment.
      * 
* * string key = 1; + * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** + * + * *
      * A unique key for this input attachment.
      * 
* * string key = 1; + * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; @@ -1429,19 +1582,21 @@ public Builder setKeyBytes( private java.lang.Object input_ = ""; /** + * + * *
      * The resource name of an existing input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * string input = 2 [(.google.api.resource_reference) = { ... } + * * @return The input. */ public java.lang.String getInput() { java.lang.Object ref = input_; 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(); input_ = s; return s; @@ -1450,21 +1605,22 @@ public java.lang.String getInput() { } } /** + * + * *
      * The resource name of an existing input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * string input = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for input. */ - public com.google.protobuf.ByteString - getInputBytes() { + public com.google.protobuf.ByteString getInputBytes() { java.lang.Object ref = input_; 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); input_ = b; return b; } else { @@ -1472,99 +1628,129 @@ public java.lang.String getInput() { } } /** + * + * *
      * The resource name of an existing input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * string input = 2 [(.google.api.resource_reference) = { ... } + * * @param value The input to set. * @return This builder for chaining. */ - public Builder setInput( - java.lang.String value) { + public Builder setInput(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + input_ = value; onChanged(); return this; } /** + * + * *
      * The resource name of an existing input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * string input = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearInput() { - + input_ = getDefaultInstance().getInput(); onChanged(); return this; } /** + * + * *
      * The resource name of an existing input, in the form of:
      * `projects/{project}/locations/{location}/inputs/{inputId}`.
      * 
* * string input = 2 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for input to set. * @return This builder for chaining. */ - public Builder setInputBytes( - com.google.protobuf.ByteString value) { + public Builder setInputBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + input_ = value; onChanged(); return this; } - private com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automaticFailover_; + private com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover + automaticFailover_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover, com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder, com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder> automaticFailoverBuilder_; + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover, + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder, + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder> + automaticFailoverBuilder_; /** + * + * *
      * Automatic failover configurations.
      * 
* - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * * @return Whether the automaticFailover field is set. */ public boolean hasAutomaticFailover() { return automaticFailoverBuilder_ != null || automaticFailover_ != null; } /** + * + * *
      * Automatic failover configurations.
      * 
* - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * * @return The automaticFailover. */ - public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover getAutomaticFailover() { + public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover + getAutomaticFailover() { if (automaticFailoverBuilder_ == null) { - return automaticFailover_ == null ? com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.getDefaultInstance() : automaticFailover_; + return automaticFailover_ == null + ? com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover + .getDefaultInstance() + : automaticFailover_; } else { return automaticFailoverBuilder_.getMessage(); } } /** + * + * *
      * Automatic failover configurations.
      * 
* - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * */ - public Builder setAutomaticFailover(com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover value) { + public Builder setAutomaticFailover( + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover value) { if (automaticFailoverBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1578,14 +1764,19 @@ public Builder setAutomaticFailover(com.google.cloud.video.livestream.v1.InputAt return this; } /** + * + * *
      * Automatic failover configurations.
      * 
* - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * */ public Builder setAutomaticFailover( - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder builderForValue) { + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder + builderForValue) { if (automaticFailoverBuilder_ == null) { automaticFailover_ = builderForValue.build(); onChanged(); @@ -1596,17 +1787,25 @@ public Builder setAutomaticFailover( return this; } /** + * + * *
      * Automatic failover configurations.
      * 
* - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * */ - public Builder mergeAutomaticFailover(com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover value) { + public Builder mergeAutomaticFailover( + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover value) { if (automaticFailoverBuilder_ == null) { if (automaticFailover_ != null) { automaticFailover_ = - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.newBuilder(automaticFailover_).mergeFrom(value).buildPartial(); + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.newBuilder( + automaticFailover_) + .mergeFrom(value) + .buildPartial(); } else { automaticFailover_ = value; } @@ -1618,11 +1817,15 @@ public Builder mergeAutomaticFailover(com.google.cloud.video.livestream.v1.Input return this; } /** + * + * *
      * Automatic failover configurations.
      * 
* - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * */ public Builder clearAutomaticFailover() { if (automaticFailoverBuilder_ == null) { @@ -1636,55 +1839,74 @@ public Builder clearAutomaticFailover() { return this; } /** + * + * *
      * Automatic failover configurations.
      * 
* - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * */ - public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder getAutomaticFailoverBuilder() { - + public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder + getAutomaticFailoverBuilder() { + onChanged(); return getAutomaticFailoverFieldBuilder().getBuilder(); } /** + * + * *
      * Automatic failover configurations.
      * 
* - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * */ - public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder getAutomaticFailoverOrBuilder() { + public com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder + getAutomaticFailoverOrBuilder() { if (automaticFailoverBuilder_ != null) { return automaticFailoverBuilder_.getMessageOrBuilder(); } else { - return automaticFailover_ == null ? - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.getDefaultInstance() : automaticFailover_; + return automaticFailover_ == null + ? com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover + .getDefaultInstance() + : automaticFailover_; } } /** + * + * *
      * Automatic failover configurations.
      * 
* - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover, com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder, com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder> + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover, + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder, + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder> getAutomaticFailoverFieldBuilder() { if (automaticFailoverBuilder_ == null) { - automaticFailoverBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover, com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder, com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder>( - getAutomaticFailover(), - getParentForChildren(), - isClean()); + automaticFailoverBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover, + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover.Builder, + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder>( + getAutomaticFailover(), getParentForChildren(), isClean()); automaticFailover_ = null; } return automaticFailoverBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1694,12 +1916,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.InputAttachment) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.InputAttachment) private static final com.google.cloud.video.livestream.v1.InputAttachment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.InputAttachment(); } @@ -1708,16 +1930,16 @@ public static com.google.cloud.video.livestream.v1.InputAttachment getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InputAttachment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InputAttachment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InputAttachment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InputAttachment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1732,6 +1954,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.InputAttachment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachmentOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachmentOrBuilder.java similarity index 57% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachmentOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachmentOrBuilder.java index cf14f94..caeab31 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachmentOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputAttachmentOrBuilder.java @@ -1,78 +1,119 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface InputAttachmentOrBuilder extends +public interface InputAttachmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.InputAttachment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A unique key for this input attachment.
    * 
* * string key = 1; + * * @return The key. */ java.lang.String getKey(); /** + * + * *
    * A unique key for this input attachment.
    * 
* * string key = 1; + * * @return The bytes for key. */ - com.google.protobuf.ByteString - getKeyBytes(); + com.google.protobuf.ByteString getKeyBytes(); /** + * + * *
    * The resource name of an existing input, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* * string input = 2 [(.google.api.resource_reference) = { ... } + * * @return The input. */ java.lang.String getInput(); /** + * + * *
    * The resource name of an existing input, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* * string input = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for input. */ - com.google.protobuf.ByteString - getInputBytes(); + com.google.protobuf.ByteString getInputBytes(); /** + * + * *
    * Automatic failover configurations.
    * 
* - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * * @return Whether the automaticFailover field is set. */ boolean hasAutomaticFailover(); /** + * + * *
    * Automatic failover configurations.
    * 
* - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * * @return The automaticFailover. */ com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover getAutomaticFailover(); /** + * + * *
    * Automatic failover configurations.
    * 
* - * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * + * .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; + * */ - com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder getAutomaticFailoverOrBuilder(); + com.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailoverOrBuilder + getAutomaticFailoverOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputName.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputName.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputOrBuilder.java index e30e2b2..bb7b245 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputOrBuilder.java @@ -1,89 +1,134 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface InputOrBuilder extends +public interface InputOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.Input) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the input, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the input, in the form of:
    * `projects/{project}/locations/{location}/inputs/{inputId}`.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The update time.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * User-defined key/value metadata.
    * 
@@ -92,30 +137,31 @@ public interface InputOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * User-defined key/value metadata.
    * 
@@ -124,41 +170,49 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * User-defined key/value metadata.
    * 
* * map<string, string> labels = 4; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Source type.
    * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Source type.
    * 
* * .google.cloud.video.livestream.v1.Input.Type type = 5; + * * @return The type. */ com.google.cloud.video.livestream.v1.Input.Type getType(); /** + * + * *
    * Tier defines the maximum input specification that is accepted by the
    * video pipeline. The billing is charged based on the tier specified here.
@@ -167,10 +221,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; + * * @return The enum numeric value on the wire for tier. */ int getTierValue(); /** + * + * *
    * Tier defines the maximum input specification that is accepted by the
    * video pipeline. The billing is charged based on the tier specified here.
@@ -179,11 +236,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.video.livestream.v1.Input.Tier tier = 14; + * * @return The tier. */ com.google.cloud.video.livestream.v1.Input.Tier getTier(); /** + * + * *
    * Output only. URI to push the input stream to.
    * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -192,10 +252,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * Output only. URI to push the input stream to.
    * Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
@@ -204,57 +267,74 @@ java.lang.String getLabelsOrThrow(
    * 
* * string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Preprocessing configurations.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; + * * @return Whether the preprocessingConfig field is set. */ boolean hasPreprocessingConfig(); /** + * + * *
    * Preprocessing configurations.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; + * * @return The preprocessingConfig. */ com.google.cloud.video.livestream.v1.PreprocessingConfig getPreprocessingConfig(); /** + * + * *
    * Preprocessing configurations.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9; */ - com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder(); + com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder + getPreprocessingConfigOrBuilder(); /** + * + * *
    * Security rule for access control.
    * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; + * * @return Whether the securityRules field is set. */ boolean hasSecurityRules(); /** + * + * *
    * Security rule for access control.
    * 
* * .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12; + * * @return The securityRules. */ com.google.cloud.video.livestream.v1.Input.SecurityRule getSecurityRules(); /** + * + * *
    * Security rule for access control.
    * 
@@ -264,32 +344,47 @@ java.lang.String getLabelsOrThrow( com.google.cloud.video.livestream.v1.Input.SecurityRuleOrBuilder getSecurityRulesOrBuilder(); /** + * + * *
    * Output only. The information for the input stream. This field will be present only when
    * this input receives the input stream.
    * 
* - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the inputStreamProperty field is set. */ boolean hasInputStreamProperty(); /** + * + * *
    * Output only. The information for the input stream. This field will be present only when
    * this input receives the input stream.
    * 
* - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The inputStreamProperty. */ com.google.cloud.video.livestream.v1.InputStreamProperty getInputStreamProperty(); /** + * + * *
    * Output only. The information for the input stream. This field will be present only when
    * this input receives the input stream.
    * 
* - * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder getInputStreamPropertyOrBuilder(); + com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder + getInputStreamPropertyOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamProperty.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamProperty.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamProperty.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamProperty.java index 59fbf4f..283e374 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamProperty.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamProperty.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/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Properties of the input stream.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.InputStreamProperty} */ -public final class InputStreamProperty extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InputStreamProperty extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.InputStreamProperty) InputStreamPropertyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InputStreamProperty.newBuilder() to construct. private InputStreamProperty(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InputStreamProperty() { videoStreams_ = java.util.Collections.emptyList(); audioStreams_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private InputStreamProperty() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InputStreamProperty(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InputStreamProperty( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,44 +72,56 @@ private InputStreamProperty( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (lastEstablishTime_ != null) { - subBuilder = lastEstablishTime_.toBuilder(); - } - lastEstablishTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastEstablishTime_); - lastEstablishTime_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (lastEstablishTime_ != null) { + subBuilder = lastEstablishTime_.toBuilder(); + } + lastEstablishTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastEstablishTime_); + lastEstablishTime_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - videoStreams_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - videoStreams_.add( - input.readMessage(com.google.cloud.video.livestream.v1.VideoStreamProperty.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - audioStreams_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + videoStreams_ = + new java.util.ArrayList< + com.google.cloud.video.livestream.v1.VideoStreamProperty>(); + mutable_bitField0_ |= 0x00000001; + } + videoStreams_.add( + input.readMessage( + com.google.cloud.video.livestream.v1.VideoStreamProperty.parser(), + extensionRegistry)); + break; } - audioStreams_.add( - input.readMessage(com.google.cloud.video.livestream.v1.AudioStreamProperty.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + audioStreams_ = + new java.util.ArrayList< + com.google.cloud.video.livestream.v1.AudioStreamProperty>(); + mutable_bitField0_ |= 0x00000002; + } + audioStreams_.add( + input.readMessage( + com.google.cloud.video.livestream.v1.AudioStreamProperty.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,8 +129,7 @@ private InputStreamProperty( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { videoStreams_ = java.util.Collections.unmodifiableList(videoStreams_); @@ -113,28 +141,34 @@ private InputStreamProperty( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputStreamProperty_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_InputStreamProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.InputStreamProperty.class, com.google.cloud.video.livestream.v1.InputStreamProperty.Builder.class); + com.google.cloud.video.livestream.v1.InputStreamProperty.class, + com.google.cloud.video.livestream.v1.InputStreamProperty.Builder.class); } public static final int LAST_ESTABLISH_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp lastEstablishTime_; /** + * + * *
    * The time that the current input stream is accepted and the connection is
    * established.
    * 
* * .google.protobuf.Timestamp last_establish_time = 1; + * * @return Whether the lastEstablishTime field is set. */ @java.lang.Override @@ -142,19 +176,26 @@ public boolean hasLastEstablishTime() { return lastEstablishTime_ != null; } /** + * + * *
    * The time that the current input stream is accepted and the connection is
    * established.
    * 
* * .google.protobuf.Timestamp last_establish_time = 1; + * * @return The lastEstablishTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastEstablishTime() { - return lastEstablishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastEstablishTime_; + return lastEstablishTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastEstablishTime_; } /** + * + * *
    * The time that the current input stream is accepted and the connection is
    * established.
@@ -170,6 +211,8 @@ public com.google.protobuf.TimestampOrBuilder getLastEstablishTimeOrBuilder() {
   public static final int VIDEO_STREAMS_FIELD_NUMBER = 2;
   private java.util.List videoStreams_;
   /**
+   *
+   *
    * 
    * Properties of the video streams.
    * 
@@ -177,10 +220,13 @@ public com.google.protobuf.TimestampOrBuilder getLastEstablishTimeOrBuilder() { * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ @java.lang.Override - public java.util.List getVideoStreamsList() { + public java.util.List + getVideoStreamsList() { return videoStreams_; } /** + * + * *
    * Properties of the video streams.
    * 
@@ -188,11 +234,13 @@ public java.util.List * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ @java.lang.Override - public java.util.List + public java.util.List getVideoStreamsOrBuilderList() { return videoStreams_; } /** + * + * *
    * Properties of the video streams.
    * 
@@ -204,6 +252,8 @@ public int getVideoStreamsCount() { return videoStreams_.size(); } /** + * + * *
    * Properties of the video streams.
    * 
@@ -215,6 +265,8 @@ public com.google.cloud.video.livestream.v1.VideoStreamProperty getVideoStreams( return videoStreams_.get(index); } /** + * + * *
    * Properties of the video streams.
    * 
@@ -230,6 +282,8 @@ public com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder getVide public static final int AUDIO_STREAMS_FIELD_NUMBER = 3; private java.util.List audioStreams_; /** + * + * *
    * Properties of the audio streams.
    * 
@@ -237,10 +291,13 @@ public com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder getVide * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ @java.lang.Override - public java.util.List getAudioStreamsList() { + public java.util.List + getAudioStreamsList() { return audioStreams_; } /** + * + * *
    * Properties of the audio streams.
    * 
@@ -248,11 +305,13 @@ public java.util.List * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ @java.lang.Override - public java.util.List + public java.util.List getAudioStreamsOrBuilderList() { return audioStreams_; } /** + * + * *
    * Properties of the audio streams.
    * 
@@ -264,6 +323,8 @@ public int getAudioStreamsCount() { return audioStreams_.size(); } /** + * + * *
    * Properties of the audio streams.
    * 
@@ -275,6 +336,8 @@ public com.google.cloud.video.livestream.v1.AudioStreamProperty getAudioStreams( return audioStreams_.get(index); } /** + * + * *
    * Properties of the audio streams.
    * 
@@ -288,6 +351,7 @@ public com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder getAudi } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -299,8 +363,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 (lastEstablishTime_ != null) { output.writeMessage(1, getLastEstablishTime()); } @@ -320,16 +383,13 @@ public int getSerializedSize() { size = 0; if (lastEstablishTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getLastEstablishTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLastEstablishTime()); } for (int i = 0; i < videoStreams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, videoStreams_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, videoStreams_.get(i)); } for (int i = 0; i < audioStreams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, audioStreams_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, audioStreams_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -339,22 +399,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.InputStreamProperty)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.InputStreamProperty other = (com.google.cloud.video.livestream.v1.InputStreamProperty) obj; + com.google.cloud.video.livestream.v1.InputStreamProperty other = + (com.google.cloud.video.livestream.v1.InputStreamProperty) obj; if (hasLastEstablishTime() != other.hasLastEstablishTime()) return false; if (hasLastEstablishTime()) { - if (!getLastEstablishTime() - .equals(other.getLastEstablishTime())) return false; + if (!getLastEstablishTime().equals(other.getLastEstablishTime())) return false; } - if (!getVideoStreamsList() - .equals(other.getVideoStreamsList())) return false; - if (!getAudioStreamsList() - .equals(other.getAudioStreamsList())) return false; + if (!getVideoStreamsList().equals(other.getVideoStreamsList())) return false; + if (!getAudioStreamsList().equals(other.getAudioStreamsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -384,117 +442,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.InputStreamProperty parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.InputStreamProperty parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.InputStreamProperty parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.InputStreamProperty parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.InputStreamProperty prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.InputStreamProperty prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Properties of the input stream.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.InputStreamProperty} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.InputStreamProperty) com.google.cloud.video.livestream.v1.InputStreamPropertyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputStreamProperty_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_InputStreamProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.InputStreamProperty.class, com.google.cloud.video.livestream.v1.InputStreamProperty.Builder.class); + com.google.cloud.video.livestream.v1.InputStreamProperty.class, + com.google.cloud.video.livestream.v1.InputStreamProperty.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.InputStreamProperty.newBuilder() @@ -502,18 +570,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) { getVideoStreamsFieldBuilder(); getAudioStreamsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -539,9 +607,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor; } @java.lang.Override @@ -560,7 +628,8 @@ public com.google.cloud.video.livestream.v1.InputStreamProperty build() { @java.lang.Override public com.google.cloud.video.livestream.v1.InputStreamProperty buildPartial() { - com.google.cloud.video.livestream.v1.InputStreamProperty result = new com.google.cloud.video.livestream.v1.InputStreamProperty(this); + com.google.cloud.video.livestream.v1.InputStreamProperty result = + new com.google.cloud.video.livestream.v1.InputStreamProperty(this); int from_bitField0_ = bitField0_; if (lastEstablishTimeBuilder_ == null) { result.lastEstablishTime_ = lastEstablishTime_; @@ -593,38 +662,39 @@ public com.google.cloud.video.livestream.v1.InputStreamProperty buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.InputStreamProperty) { - return mergeFrom((com.google.cloud.video.livestream.v1.InputStreamProperty)other); + return mergeFrom((com.google.cloud.video.livestream.v1.InputStreamProperty) other); } else { super.mergeFrom(other); return this; @@ -632,7 +702,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.InputStreamProperty other) { - if (other == com.google.cloud.video.livestream.v1.InputStreamProperty.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.InputStreamProperty.getDefaultInstance()) + return this; if (other.hasLastEstablishTime()) { mergeLastEstablishTime(other.getLastEstablishTime()); } @@ -654,9 +725,10 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.InputStreamPropert videoStreamsBuilder_ = null; videoStreams_ = other.videoStreams_; bitField0_ = (bitField0_ & ~0x00000001); - videoStreamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVideoStreamsFieldBuilder() : null; + videoStreamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVideoStreamsFieldBuilder() + : null; } else { videoStreamsBuilder_.addAllMessages(other.videoStreams_); } @@ -680,9 +752,10 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.InputStreamPropert audioStreamsBuilder_ = null; audioStreams_ = other.audioStreams_; bitField0_ = (bitField0_ & ~0x00000002); - audioStreamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAudioStreamsFieldBuilder() : null; + audioStreamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAudioStreamsFieldBuilder() + : null; } else { audioStreamsBuilder_.addAllMessages(other.audioStreams_); } @@ -707,7 +780,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.InputStreamProperty) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.InputStreamProperty) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -716,40 +790,54 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.protobuf.Timestamp lastEstablishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastEstablishTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastEstablishTimeBuilder_; /** + * + * *
      * The time that the current input stream is accepted and the connection is
      * established.
      * 
* * .google.protobuf.Timestamp last_establish_time = 1; + * * @return Whether the lastEstablishTime field is set. */ public boolean hasLastEstablishTime() { return lastEstablishTimeBuilder_ != null || lastEstablishTime_ != null; } /** + * + * *
      * The time that the current input stream is accepted and the connection is
      * established.
      * 
* * .google.protobuf.Timestamp last_establish_time = 1; + * * @return The lastEstablishTime. */ public com.google.protobuf.Timestamp getLastEstablishTime() { if (lastEstablishTimeBuilder_ == null) { - return lastEstablishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastEstablishTime_; + return lastEstablishTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastEstablishTime_; } else { return lastEstablishTimeBuilder_.getMessage(); } } /** + * + * *
      * The time that the current input stream is accepted and the connection is
      * established.
@@ -771,6 +859,8 @@ public Builder setLastEstablishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time that the current input stream is accepted and the connection is
      * established.
@@ -778,8 +868,7 @@ public Builder setLastEstablishTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp last_establish_time = 1;
      */
-    public Builder setLastEstablishTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setLastEstablishTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (lastEstablishTimeBuilder_ == null) {
         lastEstablishTime_ = builderForValue.build();
         onChanged();
@@ -790,6 +879,8 @@ public Builder setLastEstablishTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time that the current input stream is accepted and the connection is
      * established.
@@ -801,7 +892,9 @@ public Builder mergeLastEstablishTime(com.google.protobuf.Timestamp value) {
       if (lastEstablishTimeBuilder_ == null) {
         if (lastEstablishTime_ != null) {
           lastEstablishTime_ =
-            com.google.protobuf.Timestamp.newBuilder(lastEstablishTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(lastEstablishTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           lastEstablishTime_ = value;
         }
@@ -813,6 +906,8 @@ public Builder mergeLastEstablishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time that the current input stream is accepted and the connection is
      * established.
@@ -832,6 +927,8 @@ public Builder clearLastEstablishTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time that the current input stream is accepted and the connection is
      * established.
@@ -840,11 +937,13 @@ public Builder clearLastEstablishTime() {
      * .google.protobuf.Timestamp last_establish_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getLastEstablishTimeBuilder() {
-      
+
       onChanged();
       return getLastEstablishTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time that the current input stream is accepted and the connection is
      * established.
@@ -856,11 +955,14 @@ public com.google.protobuf.TimestampOrBuilder getLastEstablishTimeOrBuilder() {
       if (lastEstablishTimeBuilder_ != null) {
         return lastEstablishTimeBuilder_.getMessageOrBuilder();
       } else {
-        return lastEstablishTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : lastEstablishTime_;
+        return lastEstablishTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : lastEstablishTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time that the current input stream is accepted and the connection is
      * established.
@@ -869,39 +971,52 @@ public com.google.protobuf.TimestampOrBuilder getLastEstablishTimeOrBuilder() {
      * .google.protobuf.Timestamp last_establish_time = 1;
      */
     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>
         getLastEstablishTimeFieldBuilder() {
       if (lastEstablishTimeBuilder_ == null) {
-        lastEstablishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getLastEstablishTime(),
-                getParentForChildren(),
-                isClean());
+        lastEstablishTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getLastEstablishTime(), getParentForChildren(), isClean());
         lastEstablishTime_ = null;
       }
       return lastEstablishTimeBuilder_;
     }
 
     private java.util.List videoStreams_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureVideoStreamsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        videoStreams_ = new java.util.ArrayList(videoStreams_);
+        videoStreams_ =
+            new java.util.ArrayList(
+                videoStreams_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.video.livestream.v1.VideoStreamProperty, com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder, com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder> videoStreamsBuilder_;
+            com.google.cloud.video.livestream.v1.VideoStreamProperty,
+            com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder,
+            com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder>
+        videoStreamsBuilder_;
 
     /**
+     *
+     *
      * 
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ - public java.util.List getVideoStreamsList() { + public java.util.List + getVideoStreamsList() { if (videoStreamsBuilder_ == null) { return java.util.Collections.unmodifiableList(videoStreams_); } else { @@ -909,11 +1024,14 @@ public java.util.List } } /** + * + * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ public int getVideoStreamsCount() { if (videoStreamsBuilder_ == null) { @@ -923,11 +1041,14 @@ public int getVideoStreamsCount() { } } /** + * + * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ public com.google.cloud.video.livestream.v1.VideoStreamProperty getVideoStreams(int index) { if (videoStreamsBuilder_ == null) { @@ -937,11 +1058,14 @@ public com.google.cloud.video.livestream.v1.VideoStreamProperty getVideoStreams( } } /** + * + * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ public Builder setVideoStreams( int index, com.google.cloud.video.livestream.v1.VideoStreamProperty value) { @@ -958,14 +1082,18 @@ public Builder setVideoStreams( return this; } /** + * + * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ public Builder setVideoStreams( - int index, com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder builderForValue) { + int index, + com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder builderForValue) { if (videoStreamsBuilder_ == null) { ensureVideoStreamsIsMutable(); videoStreams_.set(index, builderForValue.build()); @@ -976,11 +1104,14 @@ public Builder setVideoStreams( return this; } /** + * + * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ public Builder addVideoStreams(com.google.cloud.video.livestream.v1.VideoStreamProperty value) { if (videoStreamsBuilder_ == null) { @@ -996,11 +1127,14 @@ public Builder addVideoStreams(com.google.cloud.video.livestream.v1.VideoStreamP return this; } /** + * + * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ public Builder addVideoStreams( int index, com.google.cloud.video.livestream.v1.VideoStreamProperty value) { @@ -1017,11 +1151,14 @@ public Builder addVideoStreams( return this; } /** + * + * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ public Builder addVideoStreams( com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder builderForValue) { @@ -1035,14 +1172,18 @@ public Builder addVideoStreams( return this; } /** + * + * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ public Builder addVideoStreams( - int index, com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder builderForValue) { + int index, + com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder builderForValue) { if (videoStreamsBuilder_ == null) { ensureVideoStreamsIsMutable(); videoStreams_.add(index, builderForValue.build()); @@ -1053,18 +1194,21 @@ public Builder addVideoStreams( return this; } /** + * + * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ public Builder addAllVideoStreams( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (videoStreamsBuilder_ == null) { ensureVideoStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, videoStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, videoStreams_); onChanged(); } else { videoStreamsBuilder_.addAllMessages(values); @@ -1072,11 +1216,14 @@ public Builder addAllVideoStreams( return this; } /** + * + * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ public Builder clearVideoStreams() { if (videoStreamsBuilder_ == null) { @@ -1089,11 +1236,14 @@ public Builder clearVideoStreams() { return this; } /** + * + * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ public Builder removeVideoStreams(int index) { if (videoStreamsBuilder_ == null) { @@ -1106,39 +1256,50 @@ public Builder removeVideoStreams(int index) { return this; } /** + * + * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ public com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder getVideoStreamsBuilder( int index) { return getVideoStreamsFieldBuilder().getBuilder(index); } /** + * + * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ - public com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder getVideoStreamsOrBuilder( - int index) { + public com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder + getVideoStreamsOrBuilder(int index) { if (videoStreamsBuilder_ == null) { - return videoStreams_.get(index); } else { + return videoStreams_.get(index); + } else { return videoStreamsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ - public java.util.List - getVideoStreamsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder> + getVideoStreamsOrBuilderList() { if (videoStreamsBuilder_ != null) { return videoStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -1146,74 +1307,99 @@ public com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder getVide } } /** + * + * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ - public com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder addVideoStreamsBuilder() { - return getVideoStreamsFieldBuilder().addBuilder( - com.google.cloud.video.livestream.v1.VideoStreamProperty.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder + addVideoStreamsBuilder() { + return getVideoStreamsFieldBuilder() + .addBuilder( + com.google.cloud.video.livestream.v1.VideoStreamProperty.getDefaultInstance()); } /** + * + * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ public com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder addVideoStreamsBuilder( int index) { - return getVideoStreamsFieldBuilder().addBuilder( - index, com.google.cloud.video.livestream.v1.VideoStreamProperty.getDefaultInstance()); + return getVideoStreamsFieldBuilder() + .addBuilder( + index, com.google.cloud.video.livestream.v1.VideoStreamProperty.getDefaultInstance()); } /** + * + * *
      * Properties of the video streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; + * */ - public java.util.List - getVideoStreamsBuilderList() { + public java.util.List + getVideoStreamsBuilderList() { return getVideoStreamsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoStreamProperty, com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder, com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder> + com.google.cloud.video.livestream.v1.VideoStreamProperty, + com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder, + com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder> getVideoStreamsFieldBuilder() { if (videoStreamsBuilder_ == null) { - videoStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoStreamProperty, com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder, com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder>( - videoStreams_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + videoStreamsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.VideoStreamProperty, + com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder, + com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder>( + videoStreams_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); videoStreams_ = null; } return videoStreamsBuilder_; } private java.util.List audioStreams_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAudioStreamsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - audioStreams_ = new java.util.ArrayList(audioStreams_); + audioStreams_ = + new java.util.ArrayList( + audioStreams_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStreamProperty, com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder, com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder> audioStreamsBuilder_; + com.google.cloud.video.livestream.v1.AudioStreamProperty, + com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder, + com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder> + audioStreamsBuilder_; /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ - public java.util.List getAudioStreamsList() { + public java.util.List + getAudioStreamsList() { if (audioStreamsBuilder_ == null) { return java.util.Collections.unmodifiableList(audioStreams_); } else { @@ -1221,11 +1407,14 @@ public java.util.List } } /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ public int getAudioStreamsCount() { if (audioStreamsBuilder_ == null) { @@ -1235,11 +1424,14 @@ public int getAudioStreamsCount() { } } /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ public com.google.cloud.video.livestream.v1.AudioStreamProperty getAudioStreams(int index) { if (audioStreamsBuilder_ == null) { @@ -1249,11 +1441,14 @@ public com.google.cloud.video.livestream.v1.AudioStreamProperty getAudioStreams( } } /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ public Builder setAudioStreams( int index, com.google.cloud.video.livestream.v1.AudioStreamProperty value) { @@ -1270,14 +1465,18 @@ public Builder setAudioStreams( return this; } /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ public Builder setAudioStreams( - int index, com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder builderForValue) { + int index, + com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder builderForValue) { if (audioStreamsBuilder_ == null) { ensureAudioStreamsIsMutable(); audioStreams_.set(index, builderForValue.build()); @@ -1288,11 +1487,14 @@ public Builder setAudioStreams( return this; } /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ public Builder addAudioStreams(com.google.cloud.video.livestream.v1.AudioStreamProperty value) { if (audioStreamsBuilder_ == null) { @@ -1308,11 +1510,14 @@ public Builder addAudioStreams(com.google.cloud.video.livestream.v1.AudioStreamP return this; } /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ public Builder addAudioStreams( int index, com.google.cloud.video.livestream.v1.AudioStreamProperty value) { @@ -1329,11 +1534,14 @@ public Builder addAudioStreams( return this; } /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ public Builder addAudioStreams( com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder builderForValue) { @@ -1347,14 +1555,18 @@ public Builder addAudioStreams( return this; } /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ public Builder addAudioStreams( - int index, com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder builderForValue) { + int index, + com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder builderForValue) { if (audioStreamsBuilder_ == null) { ensureAudioStreamsIsMutable(); audioStreams_.add(index, builderForValue.build()); @@ -1365,18 +1577,21 @@ public Builder addAudioStreams( return this; } /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ public Builder addAllAudioStreams( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (audioStreamsBuilder_ == null) { ensureAudioStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, audioStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, audioStreams_); onChanged(); } else { audioStreamsBuilder_.addAllMessages(values); @@ -1384,11 +1599,14 @@ public Builder addAllAudioStreams( return this; } /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ public Builder clearAudioStreams() { if (audioStreamsBuilder_ == null) { @@ -1401,11 +1619,14 @@ public Builder clearAudioStreams() { return this; } /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ public Builder removeAudioStreams(int index) { if (audioStreamsBuilder_ == null) { @@ -1418,39 +1639,50 @@ public Builder removeAudioStreams(int index) { return this; } /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ public com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder getAudioStreamsBuilder( int index) { return getAudioStreamsFieldBuilder().getBuilder(index); } /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ - public com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder getAudioStreamsOrBuilder( - int index) { + public com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder + getAudioStreamsOrBuilder(int index) { if (audioStreamsBuilder_ == null) { - return audioStreams_.get(index); } else { + return audioStreams_.get(index); + } else { return audioStreamsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ - public java.util.List - getAudioStreamsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder> + getAudioStreamsOrBuilderList() { if (audioStreamsBuilder_ != null) { return audioStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -1458,56 +1690,71 @@ public com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder getAudi } } /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ - public com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder addAudioStreamsBuilder() { - return getAudioStreamsFieldBuilder().addBuilder( - com.google.cloud.video.livestream.v1.AudioStreamProperty.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder + addAudioStreamsBuilder() { + return getAudioStreamsFieldBuilder() + .addBuilder( + com.google.cloud.video.livestream.v1.AudioStreamProperty.getDefaultInstance()); } /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ public com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder addAudioStreamsBuilder( int index) { - return getAudioStreamsFieldBuilder().addBuilder( - index, com.google.cloud.video.livestream.v1.AudioStreamProperty.getDefaultInstance()); + return getAudioStreamsFieldBuilder() + .addBuilder( + index, com.google.cloud.video.livestream.v1.AudioStreamProperty.getDefaultInstance()); } /** + * + * *
      * Properties of the audio streams.
      * 
* - * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; + * */ - public java.util.List - getAudioStreamsBuilderList() { + public java.util.List + getAudioStreamsBuilderList() { return getAudioStreamsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStreamProperty, com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder, com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder> + com.google.cloud.video.livestream.v1.AudioStreamProperty, + com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder, + com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder> getAudioStreamsFieldBuilder() { if (audioStreamsBuilder_ == null) { - audioStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.AudioStreamProperty, com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder, com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder>( - audioStreams_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + audioStreamsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.AudioStreamProperty, + com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder, + com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder>( + audioStreams_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); audioStreams_ = null; } return audioStreamsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1517,12 +1764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.InputStreamProperty) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.InputStreamProperty) private static final com.google.cloud.video.livestream.v1.InputStreamProperty DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.InputStreamProperty(); } @@ -1531,16 +1778,16 @@ public static com.google.cloud.video.livestream.v1.InputStreamProperty getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InputStreamProperty parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InputStreamProperty(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InputStreamProperty parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InputStreamProperty(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1555,6 +1802,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.InputStreamProperty getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamPropertyOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamPropertyOrBuilder.java similarity index 80% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamPropertyOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamPropertyOrBuilder.java index f93c18c..d78973a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamPropertyOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputStreamPropertyOrBuilder.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/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface InputStreamPropertyOrBuilder extends +public interface InputStreamPropertyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.InputStreamProperty) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time that the current input stream is accepted and the connection is
    * established.
    * 
* * .google.protobuf.Timestamp last_establish_time = 1; + * * @return Whether the lastEstablishTime field is set. */ boolean hasLastEstablishTime(); /** + * + * *
    * The time that the current input stream is accepted and the connection is
    * established.
    * 
* * .google.protobuf.Timestamp last_establish_time = 1; + * * @return The lastEstablishTime. */ com.google.protobuf.Timestamp getLastEstablishTime(); /** + * + * *
    * The time that the current input stream is accepted and the connection is
    * established.
@@ -38,15 +62,18 @@ public interface InputStreamPropertyOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getLastEstablishTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Properties of the video streams.
    * 
* * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ - java.util.List - getVideoStreamsList(); + java.util.List getVideoStreamsList(); /** + * + * *
    * Properties of the video streams.
    * 
@@ -55,6 +82,8 @@ public interface InputStreamPropertyOrBuilder extends */ com.google.cloud.video.livestream.v1.VideoStreamProperty getVideoStreams(int index); /** + * + * *
    * Properties of the video streams.
    * 
@@ -63,15 +92,19 @@ public interface InputStreamPropertyOrBuilder extends */ int getVideoStreamsCount(); /** + * + * *
    * Properties of the video streams.
    * 
* * repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2; */ - java.util.List + java.util.List getVideoStreamsOrBuilderList(); /** + * + * *
    * Properties of the video streams.
    * 
@@ -82,15 +115,18 @@ com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder getVideoStream int index); /** + * + * *
    * Properties of the audio streams.
    * 
* * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ - java.util.List - getAudioStreamsList(); + java.util.List getAudioStreamsList(); /** + * + * *
    * Properties of the audio streams.
    * 
@@ -99,6 +135,8 @@ com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder getVideoStream */ com.google.cloud.video.livestream.v1.AudioStreamProperty getAudioStreams(int index); /** + * + * *
    * Properties of the audio streams.
    * 
@@ -107,15 +145,19 @@ com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder getVideoStream */ int getAudioStreamsCount(); /** + * + * *
    * Properties of the audio streams.
    * 
* * repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3; */ - java.util.List + java.util.List getAudioStreamsOrBuilderList(); /** + * + * *
    * Properties of the audio streams.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequest.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequest.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequest.java index 6e2a5fe..2dd344e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequest.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequest.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Request message for "LivestreamService.ListChannels".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListChannelsRequest} */ -public final class ListChannelsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListChannelsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.ListChannelsRequest) ListChannelsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListChannelsRequest.newBuilder() to construct. private ListChannelsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListChannelsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListChannelsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListChannelsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListChannelsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListChannelsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +120,42 @@ private ListChannelsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListChannelsRequest.class, com.google.cloud.video.livestream.v1.ListChannelsRequest.Builder.class); + com.google.cloud.video.livestream.v1.ListChannelsRequest.class, + com.google.cloud.video.livestream.v1.ListChannelsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -136,30 +164,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -170,6 +200,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of items to return. If unspecified, server
    * will pick an appropriate default. Server may return fewer items than
@@ -179,6 +211,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -189,11 +222,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -202,29 +238,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -235,11 +271,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * The filter to apply to list results.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -248,29 +287,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * The filter to apply to list results.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -281,12 +320,15 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Specifies the ordering of results following syntax at
    * https://cloud.google.com/apis/design/design_patterns#sorting_order.
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -295,30 +337,30 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Specifies the ordering of results following syntax at
    * https://cloud.google.com/apis/design/design_patterns#sorting_order.
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -327,6 +369,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,8 +381,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -368,8 +410,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -388,23 +429,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.ListChannelsRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.ListChannelsRequest other = (com.google.cloud.video.livestream.v1.ListChannelsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.video.livestream.v1.ListChannelsRequest other = + (com.google.cloud.video.livestream.v1.ListChannelsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -432,117 +469,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListChannelsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.ListChannelsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.ListChannelsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for "LivestreamService.ListChannels".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListChannelsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.ListChannelsRequest) com.google.cloud.video.livestream.v1.ListChannelsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListChannelsRequest.class, com.google.cloud.video.livestream.v1.ListChannelsRequest.Builder.class); + com.google.cloud.video.livestream.v1.ListChannelsRequest.class, + com.google.cloud.video.livestream.v1.ListChannelsRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.ListChannelsRequest.newBuilder() @@ -550,16 +597,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(); @@ -577,9 +623,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor; } @java.lang.Override @@ -598,7 +644,8 @@ public com.google.cloud.video.livestream.v1.ListChannelsRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.ListChannelsRequest buildPartial() { - com.google.cloud.video.livestream.v1.ListChannelsRequest result = new com.google.cloud.video.livestream.v1.ListChannelsRequest(this); + com.google.cloud.video.livestream.v1.ListChannelsRequest result = + new com.google.cloud.video.livestream.v1.ListChannelsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -612,38 +659,39 @@ public com.google.cloud.video.livestream.v1.ListChannelsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.ListChannelsRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.ListChannelsRequest)other); + return mergeFrom((com.google.cloud.video.livestream.v1.ListChannelsRequest) other); } else { super.mergeFrom(other); return this; @@ -651,7 +699,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListChannelsRequest other) { - if (other == com.google.cloud.video.livestream.v1.ListChannelsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.ListChannelsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -690,7 +739,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.ListChannelsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.ListChannelsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -702,19 +752,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -723,21 +777,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -745,64 +802,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -812,6 +884,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -819,6 +892,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -828,16 +903,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -847,10 +925,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -858,18 +937,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -878,20 +959,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -899,54 +981,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -954,18 +1043,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -974,20 +1065,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -995,54 +1087,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1050,19 +1149,21 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1071,21 +1172,22 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1093,64 +1195,71 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1160,12 +1269,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.ListChannelsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.ListChannelsRequest) private static final com.google.cloud.video.livestream.v1.ListChannelsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.ListChannelsRequest(); } @@ -1174,16 +1283,16 @@ public static com.google.cloud.video.livestream.v1.ListChannelsRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListChannelsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListChannelsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListChannelsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListChannelsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1198,6 +1307,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.ListChannelsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequestOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequestOrBuilder.java index d4e5ebb..92a0724 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequestOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface ListChannelsRequestOrBuilder extends +public interface ListChannelsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ListChannelsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of items to return. If unspecified, server
    * will pick an appropriate default. Server may return fewer items than
@@ -39,69 +66,85 @@ public interface ListChannelsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The filter to apply to list results.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * The filter to apply to list results.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Specifies the ordering of results following syntax at
    * https://cloud.google.com/apis/design/design_patterns#sorting_order.
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Specifies the ordering of results following syntax at
    * https://cloud.google.com/apis/design/design_patterns#sorting_order.
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponse.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponse.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponse.java index 8fe5303..1ccf0ed 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponse.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponse.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Response message for "LivestreamService.ListChannels".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListChannelsResponse} */ -public final class ListChannelsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListChannelsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.ListChannelsResponse) ListChannelsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListChannelsResponse.newBuilder() to construct. private ListChannelsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListChannelsResponse() { channels_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +45,15 @@ private ListChannelsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListChannelsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListChannelsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private ListChannelsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - channels_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + channels_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + channels_.add( + input.readMessage( + com.google.cloud.video.livestream.v1.Channel.parser(), extensionRegistry)); + break; } - channels_.add( - input.readMessage(com.google.cloud.video.livestream.v1.Channel.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +115,7 @@ private ListChannelsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { channels_ = java.util.Collections.unmodifiableList(channels_); @@ -107,22 +127,27 @@ private ListChannelsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListChannelsResponse.class, com.google.cloud.video.livestream.v1.ListChannelsResponse.Builder.class); + com.google.cloud.video.livestream.v1.ListChannelsResponse.class, + com.google.cloud.video.livestream.v1.ListChannelsResponse.Builder.class); } public static final int CHANNELS_FIELD_NUMBER = 1; private java.util.List channels_; /** + * + * *
    * A list of channels.
    * 
@@ -134,6 +159,8 @@ public java.util.List getChannelsL return channels_; } /** + * + * *
    * A list of channels.
    * 
@@ -141,11 +168,13 @@ public java.util.List getChannelsL * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ @java.lang.Override - public java.util.List + public java.util.List getChannelsOrBuilderList() { return channels_; } /** + * + * *
    * A list of channels.
    * 
@@ -157,6 +186,8 @@ public int getChannelsCount() { return channels_.size(); } /** + * + * *
    * A list of channels.
    * 
@@ -168,6 +199,8 @@ public com.google.cloud.video.livestream.v1.Channel getChannels(int index) { return channels_.get(index); } /** + * + * *
    * A list of channels.
    * 
@@ -175,20 +208,22 @@ public com.google.cloud.video.livestream.v1.Channel getChannels(int index) { * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelsOrBuilder( - int index) { + public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelsOrBuilder(int index) { return channels_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +232,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -231,34 +266,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +309,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +337,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 < channels_.size(); i++) { output.writeMessage(1, channels_.get(i)); } @@ -312,8 +357,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < channels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, channels_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, channels_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +378,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.ListChannelsResponse)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.ListChannelsResponse other = (com.google.cloud.video.livestream.v1.ListChannelsResponse) obj; + com.google.cloud.video.livestream.v1.ListChannelsResponse other = + (com.google.cloud.video.livestream.v1.ListChannelsResponse) obj; - if (!getChannelsList() - .equals(other.getChannelsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getChannelsList().equals(other.getChannelsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +416,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListChannelsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.ListChannelsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.ListChannelsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for "LivestreamService.ListChannels".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListChannelsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.ListChannelsResponse) com.google.cloud.video.livestream.v1.ListChannelsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListChannelsResponse.class, com.google.cloud.video.livestream.v1.ListChannelsResponse.Builder.class); + com.google.cloud.video.livestream.v1.ListChannelsResponse.class, + com.google.cloud.video.livestream.v1.ListChannelsResponse.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.ListChannelsResponse.newBuilder() @@ -492,17 +544,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) { getChannelsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +572,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor; } @java.lang.Override @@ -541,7 +593,8 @@ public com.google.cloud.video.livestream.v1.ListChannelsResponse build() { @java.lang.Override public com.google.cloud.video.livestream.v1.ListChannelsResponse buildPartial() { - com.google.cloud.video.livestream.v1.ListChannelsResponse result = new com.google.cloud.video.livestream.v1.ListChannelsResponse(this); + com.google.cloud.video.livestream.v1.ListChannelsResponse result = + new com.google.cloud.video.livestream.v1.ListChannelsResponse(this); int from_bitField0_ = bitField0_; if (channelsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,38 +619,39 @@ public com.google.cloud.video.livestream.v1.ListChannelsResponse buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.ListChannelsResponse) { - return mergeFrom((com.google.cloud.video.livestream.v1.ListChannelsResponse)other); + return mergeFrom((com.google.cloud.video.livestream.v1.ListChannelsResponse) other); } else { super.mergeFrom(other); return this; @@ -605,7 +659,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListChannelsResponse other) { - if (other == com.google.cloud.video.livestream.v1.ListChannelsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.ListChannelsResponse.getDefaultInstance()) + return this; if (channelsBuilder_ == null) { if (!other.channels_.isEmpty()) { if (channels_.isEmpty()) { @@ -624,9 +679,10 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListChannelsRespon channelsBuilder_ = null; channels_ = other.channels_; bitField0_ = (bitField0_ & ~0x00000001); - channelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getChannelsFieldBuilder() : null; + channelsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getChannelsFieldBuilder() + : null; } else { channelsBuilder_.addAllMessages(other.channels_); } @@ -665,7 +721,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.ListChannelsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.ListChannelsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,21 +731,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List channels_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureChannelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - channels_ = new java.util.ArrayList(channels_); + channels_ = + new java.util.ArrayList(channels_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder> channelsBuilder_; + com.google.cloud.video.livestream.v1.Channel, + com.google.cloud.video.livestream.v1.Channel.Builder, + com.google.cloud.video.livestream.v1.ChannelOrBuilder> + channelsBuilder_; /** + * + * *
      * A list of channels.
      * 
@@ -703,6 +768,8 @@ public java.util.List getChannelsL } } /** + * + * *
      * A list of channels.
      * 
@@ -717,6 +784,8 @@ public int getChannelsCount() { } } /** + * + * *
      * A list of channels.
      * 
@@ -731,14 +800,15 @@ public com.google.cloud.video.livestream.v1.Channel getChannels(int index) { } } /** + * + * *
      * A list of channels.
      * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - public Builder setChannels( - int index, com.google.cloud.video.livestream.v1.Channel value) { + public Builder setChannels(int index, com.google.cloud.video.livestream.v1.Channel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,6 +822,8 @@ public Builder setChannels( return this; } /** + * + * *
      * A list of channels.
      * 
@@ -770,6 +842,8 @@ public Builder setChannels( return this; } /** + * + * *
      * A list of channels.
      * 
@@ -790,14 +864,15 @@ public Builder addChannels(com.google.cloud.video.livestream.v1.Channel value) { return this; } /** + * + * *
      * A list of channels.
      * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - public Builder addChannels( - int index, com.google.cloud.video.livestream.v1.Channel value) { + public Builder addChannels(int index, com.google.cloud.video.livestream.v1.Channel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -811,6 +886,8 @@ public Builder addChannels( return this; } /** + * + * *
      * A list of channels.
      * 
@@ -829,6 +906,8 @@ public Builder addChannels( return this; } /** + * + * *
      * A list of channels.
      * 
@@ -847,6 +926,8 @@ public Builder addChannels( return this; } /** + * + * *
      * A list of channels.
      * 
@@ -857,8 +938,7 @@ public Builder addAllChannels( java.lang.Iterable values) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, channels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, channels_); onChanged(); } else { channelsBuilder_.addAllMessages(values); @@ -866,6 +946,8 @@ public Builder addAllChannels( return this; } /** + * + * *
      * A list of channels.
      * 
@@ -883,6 +965,8 @@ public Builder clearChannels() { return this; } /** + * + * *
      * A list of channels.
      * 
@@ -900,39 +984,44 @@ public Builder removeChannels(int index) { return this; } /** + * + * *
      * A list of channels.
      * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - public com.google.cloud.video.livestream.v1.Channel.Builder getChannelsBuilder( - int index) { + public com.google.cloud.video.livestream.v1.Channel.Builder getChannelsBuilder(int index) { return getChannelsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of channels.
      * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelsOrBuilder( - int index) { + public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelsOrBuilder(int index) { if (channelsBuilder_ == null) { - return channels_.get(index); } else { + return channels_.get(index); + } else { return channelsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of channels.
      * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - public java.util.List - getChannelsOrBuilderList() { + public java.util.List + getChannelsOrBuilderList() { if (channelsBuilder_ != null) { return channelsBuilder_.getMessageOrBuilderList(); } else { @@ -940,6 +1029,8 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelsOrBuilde } } /** + * + * *
      * A list of channels.
      * 
@@ -947,42 +1038,48 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelsOrBuilde * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ public com.google.cloud.video.livestream.v1.Channel.Builder addChannelsBuilder() { - return getChannelsFieldBuilder().addBuilder( - com.google.cloud.video.livestream.v1.Channel.getDefaultInstance()); + return getChannelsFieldBuilder() + .addBuilder(com.google.cloud.video.livestream.v1.Channel.getDefaultInstance()); } /** + * + * *
      * A list of channels.
      * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - public com.google.cloud.video.livestream.v1.Channel.Builder addChannelsBuilder( - int index) { - return getChannelsFieldBuilder().addBuilder( - index, com.google.cloud.video.livestream.v1.Channel.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.Channel.Builder addChannelsBuilder(int index) { + return getChannelsFieldBuilder() + .addBuilder(index, com.google.cloud.video.livestream.v1.Channel.getDefaultInstance()); } /** + * + * *
      * A list of channels.
      * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - public java.util.List - getChannelsBuilderList() { + public java.util.List + getChannelsBuilderList() { return getChannelsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder> + com.google.cloud.video.livestream.v1.Channel, + com.google.cloud.video.livestream.v1.Channel.Builder, + com.google.cloud.video.livestream.v1.ChannelOrBuilder> getChannelsFieldBuilder() { if (channelsBuilder_ == null) { - channelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder>( - channels_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + channelsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.Channel, + com.google.cloud.video.livestream.v1.Channel.Builder, + com.google.cloud.video.livestream.v1.ChannelOrBuilder>( + channels_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); channels_ = null; } return channelsBuilder_; @@ -990,19 +1087,21 @@ public com.google.cloud.video.livestream.v1.Channel.Builder addChannelsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1011,21 +1110,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1033,98 +1133,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1249,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1342,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,12 +1375,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.ListChannelsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.ListChannelsResponse) private static final com.google.cloud.video.livestream.v1.ListChannelsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.ListChannelsResponse(); } @@ -1260,16 +1389,16 @@ public static com.google.cloud.video.livestream.v1.ListChannelsResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListChannelsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListChannelsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListChannelsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListChannelsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,6 +1413,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.ListChannelsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponseOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponseOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponseOrBuilder.java index af5c472..1929bee 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponseOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListChannelsResponseOrBuilder.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface ListChannelsResponseOrBuilder extends +public interface ListChannelsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ListChannelsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of channels.
    * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - java.util.List - getChannelsList(); + java.util.List getChannelsList(); /** + * + * *
    * A list of channels.
    * 
@@ -25,6 +44,8 @@ public interface ListChannelsResponseOrBuilder extends */ com.google.cloud.video.livestream.v1.Channel getChannels(int index); /** + * + * *
    * A list of channels.
    * 
@@ -33,84 +54,102 @@ public interface ListChannelsResponseOrBuilder extends */ int getChannelsCount(); /** + * + * *
    * A list of channels.
    * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - java.util.List + java.util.List getChannelsOrBuilderList(); /** + * + * *
    * A list of channels.
    * 
* * repeated .google.cloud.video.livestream.v1.Channel channels = 1; */ - com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelsOrBuilder( - int index); + com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelsOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequest.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequest.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequest.java index 12b32fc..50a8fdb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequest.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequest.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Request message for "LivestreamService.ListEvents".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListEventsRequest} */ -public final class ListEventsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListEventsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.ListEventsRequest) ListEventsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListEventsRequest.newBuilder() to construct. private ListEventsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListEventsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListEventsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListEventsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListEventsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListEventsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +120,42 @@ private ListEventsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListEventsRequest.class, com.google.cloud.video.livestream.v1.ListEventsRequest.Builder.class); + com.google.cloud.video.livestream.v1.ListEventsRequest.class, + com.google.cloud.video.livestream.v1.ListEventsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent channel for the resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -136,30 +164,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent channel for the resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -170,6 +200,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of items to return. If unspecified, server
    * will pick an appropriate default. Server may return fewer items than
@@ -179,6 +211,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -189,11 +222,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -202,29 +238,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -235,11 +271,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * The filter to apply to list results.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -248,29 +287,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * The filter to apply to list results.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -281,12 +320,15 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Specifies the ordering of results following syntax at
    * https://cloud.google.com/apis/design/design_patterns#sorting_order.
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -295,30 +337,30 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Specifies the ordering of results following syntax at
    * https://cloud.google.com/apis/design/design_patterns#sorting_order.
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -327,6 +369,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,8 +381,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -368,8 +410,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -388,23 +429,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.ListEventsRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.ListEventsRequest other = (com.google.cloud.video.livestream.v1.ListEventsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.video.livestream.v1.ListEventsRequest other = + (com.google.cloud.video.livestream.v1.ListEventsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -432,117 +469,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListEventsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.ListEventsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListEventsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListEventsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.ListEventsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.ListEventsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for "LivestreamService.ListEvents".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListEventsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.ListEventsRequest) com.google.cloud.video.livestream.v1.ListEventsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListEventsRequest.class, com.google.cloud.video.livestream.v1.ListEventsRequest.Builder.class); + com.google.cloud.video.livestream.v1.ListEventsRequest.class, + com.google.cloud.video.livestream.v1.ListEventsRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.ListEventsRequest.newBuilder() @@ -550,16 +597,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(); @@ -577,9 +623,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor; } @java.lang.Override @@ -598,7 +644,8 @@ public com.google.cloud.video.livestream.v1.ListEventsRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.ListEventsRequest buildPartial() { - com.google.cloud.video.livestream.v1.ListEventsRequest result = new com.google.cloud.video.livestream.v1.ListEventsRequest(this); + com.google.cloud.video.livestream.v1.ListEventsRequest result = + new com.google.cloud.video.livestream.v1.ListEventsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -612,38 +659,39 @@ public com.google.cloud.video.livestream.v1.ListEventsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.ListEventsRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.ListEventsRequest)other); + return mergeFrom((com.google.cloud.video.livestream.v1.ListEventsRequest) other); } else { super.mergeFrom(other); return this; @@ -651,7 +699,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListEventsRequest other) { - if (other == com.google.cloud.video.livestream.v1.ListEventsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.ListEventsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -690,7 +739,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.ListEventsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.ListEventsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -702,19 +752,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -723,21 +777,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -745,64 +802,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent channel for the resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -812,6 +884,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -819,6 +892,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -828,16 +903,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -847,10 +925,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -858,18 +937,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -878,20 +959,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -899,54 +981,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -954,18 +1043,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -974,20 +1065,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -995,54 +1087,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1050,19 +1149,21 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1071,21 +1172,22 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1093,64 +1195,71 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Specifies the ordering of results following syntax at
      * https://cloud.google.com/apis/design/design_patterns#sorting_order.
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1160,12 +1269,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.ListEventsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.ListEventsRequest) private static final com.google.cloud.video.livestream.v1.ListEventsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.ListEventsRequest(); } @@ -1174,16 +1283,16 @@ public static com.google.cloud.video.livestream.v1.ListEventsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEventsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEventsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEventsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEventsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1198,6 +1307,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.ListEventsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequestOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequestOrBuilder.java index 052075b..120bcb9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequestOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface ListEventsRequestOrBuilder extends +public interface ListEventsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ListEventsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent channel for the resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent channel for the resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of items to return. If unspecified, server
    * will pick an appropriate default. Server may return fewer items than
@@ -39,69 +66,85 @@ public interface ListEventsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The filter to apply to list results.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * The filter to apply to list results.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Specifies the ordering of results following syntax at
    * https://cloud.google.com/apis/design/design_patterns#sorting_order.
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Specifies the ordering of results following syntax at
    * https://cloud.google.com/apis/design/design_patterns#sorting_order.
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponse.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponse.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponse.java index e6914ff..1d5be18 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponse.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponse.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Response message for "LivestreamService.ListEvents".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListEventsResponse} */ -public final class ListEventsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListEventsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.ListEventsResponse) ListEventsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListEventsResponse.newBuilder() to construct. private ListEventsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListEventsResponse() { events_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +45,15 @@ private ListEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListEventsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListEventsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private ListEventsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - events_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + events_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + events_.add( + input.readMessage( + com.google.cloud.video.livestream.v1.Event.parser(), extensionRegistry)); + break; } - events_.add( - input.readMessage(com.google.cloud.video.livestream.v1.Event.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +115,7 @@ private ListEventsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { events_ = java.util.Collections.unmodifiableList(events_); @@ -107,22 +127,27 @@ private ListEventsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsResponse_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListEventsResponse.class, com.google.cloud.video.livestream.v1.ListEventsResponse.Builder.class); + com.google.cloud.video.livestream.v1.ListEventsResponse.class, + com.google.cloud.video.livestream.v1.ListEventsResponse.Builder.class); } public static final int EVENTS_FIELD_NUMBER = 1; private java.util.List events_; /** + * + * *
    * A list of events.
    * 
@@ -134,6 +159,8 @@ public java.util.List getEventsList( return events_; } /** + * + * *
    * A list of events.
    * 
@@ -141,11 +168,13 @@ public java.util.List getEventsList( * repeated .google.cloud.video.livestream.v1.Event events = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEventsOrBuilderList() { return events_; } /** + * + * *
    * A list of events.
    * 
@@ -157,6 +186,8 @@ public int getEventsCount() { return events_.size(); } /** + * + * *
    * A list of events.
    * 
@@ -168,6 +199,8 @@ public com.google.cloud.video.livestream.v1.Event getEvents(int index) { return events_.get(index); } /** + * + * *
    * A list of events.
    * 
@@ -175,20 +208,22 @@ public com.google.cloud.video.livestream.v1.Event getEvents(int index) { * repeated .google.cloud.video.livestream.v1.Event events = 1; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.EventOrBuilder getEventsOrBuilder( - int index) { + public com.google.cloud.video.livestream.v1.EventOrBuilder getEventsOrBuilder(int index) { return events_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +232,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -231,34 +266,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +309,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +337,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 < events_.size(); i++) { output.writeMessage(1, events_.get(i)); } @@ -312,8 +357,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < events_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, events_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, events_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +378,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.ListEventsResponse)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.ListEventsResponse other = (com.google.cloud.video.livestream.v1.ListEventsResponse) obj; + com.google.cloud.video.livestream.v1.ListEventsResponse other = + (com.google.cloud.video.livestream.v1.ListEventsResponse) obj; - if (!getEventsList() - .equals(other.getEventsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getEventsList().equals(other.getEventsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +416,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListEventsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.ListEventsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListEventsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListEventsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.ListEventsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.ListEventsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for "LivestreamService.ListEvents".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListEventsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.ListEventsResponse) com.google.cloud.video.livestream.v1.ListEventsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsResponse_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListEventsResponse.class, com.google.cloud.video.livestream.v1.ListEventsResponse.Builder.class); + com.google.cloud.video.livestream.v1.ListEventsResponse.class, + com.google.cloud.video.livestream.v1.ListEventsResponse.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.ListEventsResponse.newBuilder() @@ -492,17 +544,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) { getEventsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +572,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor; } @java.lang.Override @@ -541,7 +593,8 @@ public com.google.cloud.video.livestream.v1.ListEventsResponse build() { @java.lang.Override public com.google.cloud.video.livestream.v1.ListEventsResponse buildPartial() { - com.google.cloud.video.livestream.v1.ListEventsResponse result = new com.google.cloud.video.livestream.v1.ListEventsResponse(this); + com.google.cloud.video.livestream.v1.ListEventsResponse result = + new com.google.cloud.video.livestream.v1.ListEventsResponse(this); int from_bitField0_ = bitField0_; if (eventsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,38 +619,39 @@ public com.google.cloud.video.livestream.v1.ListEventsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.ListEventsResponse) { - return mergeFrom((com.google.cloud.video.livestream.v1.ListEventsResponse)other); + return mergeFrom((com.google.cloud.video.livestream.v1.ListEventsResponse) other); } else { super.mergeFrom(other); return this; @@ -605,7 +659,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListEventsResponse other) { - if (other == com.google.cloud.video.livestream.v1.ListEventsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.ListEventsResponse.getDefaultInstance()) + return this; if (eventsBuilder_ == null) { if (!other.events_.isEmpty()) { if (events_.isEmpty()) { @@ -624,9 +679,10 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListEventsResponse eventsBuilder_ = null; events_ = other.events_; bitField0_ = (bitField0_ & ~0x00000001); - eventsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEventsFieldBuilder() : null; + eventsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEventsFieldBuilder() + : null; } else { eventsBuilder_.addAllMessages(other.events_); } @@ -665,7 +721,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.ListEventsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.ListEventsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,21 +731,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List events_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEventsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { events_ = new java.util.ArrayList(events_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event, com.google.cloud.video.livestream.v1.Event.Builder, com.google.cloud.video.livestream.v1.EventOrBuilder> eventsBuilder_; + com.google.cloud.video.livestream.v1.Event, + com.google.cloud.video.livestream.v1.Event.Builder, + com.google.cloud.video.livestream.v1.EventOrBuilder> + eventsBuilder_; /** + * + * *
      * A list of events.
      * 
@@ -703,6 +767,8 @@ public java.util.List getEventsList( } } /** + * + * *
      * A list of events.
      * 
@@ -717,6 +783,8 @@ public int getEventsCount() { } } /** + * + * *
      * A list of events.
      * 
@@ -731,14 +799,15 @@ public com.google.cloud.video.livestream.v1.Event getEvents(int index) { } } /** + * + * *
      * A list of events.
      * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - public Builder setEvents( - int index, com.google.cloud.video.livestream.v1.Event value) { + public Builder setEvents(int index, com.google.cloud.video.livestream.v1.Event value) { if (eventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,6 +821,8 @@ public Builder setEvents( return this; } /** + * + * *
      * A list of events.
      * 
@@ -770,6 +841,8 @@ public Builder setEvents( return this; } /** + * + * *
      * A list of events.
      * 
@@ -790,14 +863,15 @@ public Builder addEvents(com.google.cloud.video.livestream.v1.Event value) { return this; } /** + * + * *
      * A list of events.
      * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - public Builder addEvents( - int index, com.google.cloud.video.livestream.v1.Event value) { + public Builder addEvents(int index, com.google.cloud.video.livestream.v1.Event value) { if (eventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -811,14 +885,15 @@ public Builder addEvents( return this; } /** + * + * *
      * A list of events.
      * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - public Builder addEvents( - com.google.cloud.video.livestream.v1.Event.Builder builderForValue) { + public Builder addEvents(com.google.cloud.video.livestream.v1.Event.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.add(builderForValue.build()); @@ -829,6 +904,8 @@ public Builder addEvents( return this; } /** + * + * *
      * A list of events.
      * 
@@ -847,6 +924,8 @@ public Builder addEvents( return this; } /** + * + * *
      * A list of events.
      * 
@@ -857,8 +936,7 @@ public Builder addAllEvents( java.lang.Iterable values) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, events_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, events_); onChanged(); } else { eventsBuilder_.addAllMessages(values); @@ -866,6 +944,8 @@ public Builder addAllEvents( return this; } /** + * + * *
      * A list of events.
      * 
@@ -883,6 +963,8 @@ public Builder clearEvents() { return this; } /** + * + * *
      * A list of events.
      * 
@@ -900,39 +982,44 @@ public Builder removeEvents(int index) { return this; } /** + * + * *
      * A list of events.
      * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - public com.google.cloud.video.livestream.v1.Event.Builder getEventsBuilder( - int index) { + public com.google.cloud.video.livestream.v1.Event.Builder getEventsBuilder(int index) { return getEventsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of events.
      * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - public com.google.cloud.video.livestream.v1.EventOrBuilder getEventsOrBuilder( - int index) { + public com.google.cloud.video.livestream.v1.EventOrBuilder getEventsOrBuilder(int index) { if (eventsBuilder_ == null) { - return events_.get(index); } else { + return events_.get(index); + } else { return eventsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of events.
      * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - public java.util.List - getEventsOrBuilderList() { + public java.util.List + getEventsOrBuilderList() { if (eventsBuilder_ != null) { return eventsBuilder_.getMessageOrBuilderList(); } else { @@ -940,6 +1027,8 @@ public com.google.cloud.video.livestream.v1.EventOrBuilder getEventsOrBuilder( } } /** + * + * *
      * A list of events.
      * 
@@ -947,42 +1036,48 @@ public com.google.cloud.video.livestream.v1.EventOrBuilder getEventsOrBuilder( * repeated .google.cloud.video.livestream.v1.Event events = 1; */ public com.google.cloud.video.livestream.v1.Event.Builder addEventsBuilder() { - return getEventsFieldBuilder().addBuilder( - com.google.cloud.video.livestream.v1.Event.getDefaultInstance()); + return getEventsFieldBuilder() + .addBuilder(com.google.cloud.video.livestream.v1.Event.getDefaultInstance()); } /** + * + * *
      * A list of events.
      * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - public com.google.cloud.video.livestream.v1.Event.Builder addEventsBuilder( - int index) { - return getEventsFieldBuilder().addBuilder( - index, com.google.cloud.video.livestream.v1.Event.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.Event.Builder addEventsBuilder(int index) { + return getEventsFieldBuilder() + .addBuilder(index, com.google.cloud.video.livestream.v1.Event.getDefaultInstance()); } /** + * + * *
      * A list of events.
      * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - public java.util.List - getEventsBuilderList() { + public java.util.List + getEventsBuilderList() { return getEventsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event, com.google.cloud.video.livestream.v1.Event.Builder, com.google.cloud.video.livestream.v1.EventOrBuilder> + com.google.cloud.video.livestream.v1.Event, + com.google.cloud.video.livestream.v1.Event.Builder, + com.google.cloud.video.livestream.v1.EventOrBuilder> getEventsFieldBuilder() { if (eventsBuilder_ == null) { - eventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Event, com.google.cloud.video.livestream.v1.Event.Builder, com.google.cloud.video.livestream.v1.EventOrBuilder>( - events_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + eventsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.Event, + com.google.cloud.video.livestream.v1.Event.Builder, + com.google.cloud.video.livestream.v1.EventOrBuilder>( + events_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); events_ = null; } return eventsBuilder_; @@ -990,19 +1085,21 @@ public com.google.cloud.video.livestream.v1.Event.Builder addEventsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1011,21 +1108,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1033,98 +1131,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1247,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1340,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,12 +1373,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.ListEventsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.ListEventsResponse) private static final com.google.cloud.video.livestream.v1.ListEventsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.ListEventsResponse(); } @@ -1260,16 +1387,16 @@ public static com.google.cloud.video.livestream.v1.ListEventsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEventsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEventsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEventsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEventsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,6 +1411,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.ListEventsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponseOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponseOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponseOrBuilder.java index 81375f3..9c51dce 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponseOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListEventsResponseOrBuilder.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface ListEventsResponseOrBuilder extends +public interface ListEventsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ListEventsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of events.
    * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - java.util.List - getEventsList(); + java.util.List getEventsList(); /** + * + * *
    * A list of events.
    * 
@@ -25,6 +44,8 @@ public interface ListEventsResponseOrBuilder extends */ com.google.cloud.video.livestream.v1.Event getEvents(int index); /** + * + * *
    * A list of events.
    * 
@@ -33,84 +54,102 @@ public interface ListEventsResponseOrBuilder extends */ int getEventsCount(); /** + * + * *
    * A list of events.
    * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - java.util.List + java.util.List getEventsOrBuilderList(); /** + * + * *
    * A list of events.
    * 
* * repeated .google.cloud.video.livestream.v1.Event events = 1; */ - com.google.cloud.video.livestream.v1.EventOrBuilder getEventsOrBuilder( - int index); + com.google.cloud.video.livestream.v1.EventOrBuilder getEventsOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequest.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequest.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequest.java index 2d70ec8..e87aab4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequest.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequest.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Request message for "LivestreamService.ListInputs".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListInputsRequest} */ -public final class ListInputsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListInputsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.ListInputsRequest) ListInputsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListInputsRequest.newBuilder() to construct. private ListInputsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListInputsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListInputsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInputsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListInputsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListInputsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +120,42 @@ private ListInputsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListInputsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListInputsRequest.class, com.google.cloud.video.livestream.v1.ListInputsRequest.Builder.class); + com.google.cloud.video.livestream.v1.ListInputsRequest.class, + com.google.cloud.video.livestream.v1.ListInputsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -136,30 +164,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -170,6 +200,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of items to return. If unspecified, server
    * will pick an appropriate default. Server may return fewer items than
@@ -179,6 +211,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -189,11 +222,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -202,29 +238,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -235,11 +271,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * The filter to apply to list results.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -248,29 +287,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * The filter to apply to list results.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -281,12 +320,15 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Specifies the ordering of results following syntax at [Sorting
    * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -295,30 +337,30 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Specifies the ordering of results following syntax at [Sorting
    * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -327,6 +369,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,8 +381,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -368,8 +410,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -388,23 +429,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.ListInputsRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.ListInputsRequest other = (com.google.cloud.video.livestream.v1.ListInputsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.video.livestream.v1.ListInputsRequest other = + (com.google.cloud.video.livestream.v1.ListInputsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -432,117 +469,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListInputsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.ListInputsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListInputsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListInputsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.ListInputsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.ListInputsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for "LivestreamService.ListInputs".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListInputsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.ListInputsRequest) com.google.cloud.video.livestream.v1.ListInputsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListInputsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListInputsRequest.class, com.google.cloud.video.livestream.v1.ListInputsRequest.Builder.class); + com.google.cloud.video.livestream.v1.ListInputsRequest.class, + com.google.cloud.video.livestream.v1.ListInputsRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.ListInputsRequest.newBuilder() @@ -550,16 +597,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(); @@ -577,9 +623,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor; } @java.lang.Override @@ -598,7 +644,8 @@ public com.google.cloud.video.livestream.v1.ListInputsRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.ListInputsRequest buildPartial() { - com.google.cloud.video.livestream.v1.ListInputsRequest result = new com.google.cloud.video.livestream.v1.ListInputsRequest(this); + com.google.cloud.video.livestream.v1.ListInputsRequest result = + new com.google.cloud.video.livestream.v1.ListInputsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -612,38 +659,39 @@ public com.google.cloud.video.livestream.v1.ListInputsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.ListInputsRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.ListInputsRequest)other); + return mergeFrom((com.google.cloud.video.livestream.v1.ListInputsRequest) other); } else { super.mergeFrom(other); return this; @@ -651,7 +699,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListInputsRequest other) { - if (other == com.google.cloud.video.livestream.v1.ListInputsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.ListInputsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -690,7 +739,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.ListInputsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.ListInputsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -702,19 +752,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -723,21 +777,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -745,64 +802,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent location for the resource, in the form of:
      * `projects/{project}/locations/{location}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -812,6 +884,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -819,6 +892,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -828,16 +903,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of items to return. If unspecified, server
      * will pick an appropriate default. Server may return fewer items than
@@ -847,10 +925,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -858,18 +937,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -878,20 +959,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -899,54 +981,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -954,18 +1043,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -974,20 +1065,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -995,54 +1087,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1050,19 +1149,21 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Specifies the ordering of results following syntax at [Sorting
      * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1071,21 +1172,22 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Specifies the ordering of results following syntax at [Sorting
      * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1093,64 +1195,71 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Specifies the ordering of results following syntax at [Sorting
      * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Specifies the ordering of results following syntax at [Sorting
      * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Specifies the ordering of results following syntax at [Sorting
      * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1160,12 +1269,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.ListInputsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.ListInputsRequest) private static final com.google.cloud.video.livestream.v1.ListInputsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.ListInputsRequest(); } @@ -1174,16 +1283,16 @@ public static com.google.cloud.video.livestream.v1.ListInputsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInputsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInputsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInputsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInputsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1198,6 +1307,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.ListInputsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequestOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequestOrBuilder.java index 796b36e..3bc4e2a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequestOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface ListInputsRequestOrBuilder extends +public interface ListInputsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ListInputsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent location for the resource, in the form of:
    * `projects/{project}/locations/{location}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of items to return. If unspecified, server
    * will pick an appropriate default. Server may return fewer items than
@@ -39,69 +66,85 @@ public interface ListInputsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The filter to apply to list results.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * The filter to apply to list results.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Specifies the ordering of results following syntax at [Sorting
    * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Specifies the ordering of results following syntax at [Sorting
    * Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponse.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponse.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponse.java index 92e3cd4..8fab050 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponse.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponse.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Response message for "LivestreamService.ListInputs".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListInputsResponse} */ -public final class ListInputsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListInputsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.ListInputsResponse) ListInputsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListInputsResponse.newBuilder() to construct. private ListInputsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListInputsResponse() { inputs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +45,15 @@ private ListInputsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInputsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListInputsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private ListInputsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - inputs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + inputs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + inputs_.add( + input.readMessage( + com.google.cloud.video.livestream.v1.Input.parser(), extensionRegistry)); + break; } - inputs_.add( - input.readMessage(com.google.cloud.video.livestream.v1.Input.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +115,7 @@ private ListInputsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { inputs_ = java.util.Collections.unmodifiableList(inputs_); @@ -107,22 +127,27 @@ private ListInputsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsResponse_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListInputsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListInputsResponse.class, com.google.cloud.video.livestream.v1.ListInputsResponse.Builder.class); + com.google.cloud.video.livestream.v1.ListInputsResponse.class, + com.google.cloud.video.livestream.v1.ListInputsResponse.Builder.class); } public static final int INPUTS_FIELD_NUMBER = 1; private java.util.List inputs_; /** + * + * *
    * A list of inputs.
    * 
@@ -134,6 +159,8 @@ public java.util.List getInputsList( return inputs_; } /** + * + * *
    * A list of inputs.
    * 
@@ -141,11 +168,13 @@ public java.util.List getInputsList( * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInputsOrBuilderList() { return inputs_; } /** + * + * *
    * A list of inputs.
    * 
@@ -157,6 +186,8 @@ public int getInputsCount() { return inputs_.size(); } /** + * + * *
    * A list of inputs.
    * 
@@ -168,6 +199,8 @@ public com.google.cloud.video.livestream.v1.Input getInputs(int index) { return inputs_.get(index); } /** + * + * *
    * A list of inputs.
    * 
@@ -175,20 +208,22 @@ public com.google.cloud.video.livestream.v1.Input getInputs(int index) { * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.InputOrBuilder getInputsOrBuilder( - int index) { + public com.google.cloud.video.livestream.v1.InputOrBuilder getInputsOrBuilder(int index) { return inputs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +232,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -231,34 +266,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +309,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +337,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 < inputs_.size(); i++) { output.writeMessage(1, inputs_.get(i)); } @@ -312,8 +357,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < inputs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, inputs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, inputs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +378,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.ListInputsResponse)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.ListInputsResponse other = (com.google.cloud.video.livestream.v1.ListInputsResponse) obj; + com.google.cloud.video.livestream.v1.ListInputsResponse other = + (com.google.cloud.video.livestream.v1.ListInputsResponse) obj; - if (!getInputsList() - .equals(other.getInputsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getInputsList().equals(other.getInputsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +416,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.ListInputsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.ListInputsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListInputsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.ListInputsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.ListInputsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.ListInputsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for "LivestreamService.ListInputs".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.ListInputsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.ListInputsResponse) com.google.cloud.video.livestream.v1.ListInputsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsResponse_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListInputsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.ListInputsResponse.class, com.google.cloud.video.livestream.v1.ListInputsResponse.Builder.class); + com.google.cloud.video.livestream.v1.ListInputsResponse.class, + com.google.cloud.video.livestream.v1.ListInputsResponse.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.ListInputsResponse.newBuilder() @@ -492,17 +544,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) { getInputsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +572,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor; } @java.lang.Override @@ -541,7 +593,8 @@ public com.google.cloud.video.livestream.v1.ListInputsResponse build() { @java.lang.Override public com.google.cloud.video.livestream.v1.ListInputsResponse buildPartial() { - com.google.cloud.video.livestream.v1.ListInputsResponse result = new com.google.cloud.video.livestream.v1.ListInputsResponse(this); + com.google.cloud.video.livestream.v1.ListInputsResponse result = + new com.google.cloud.video.livestream.v1.ListInputsResponse(this); int from_bitField0_ = bitField0_; if (inputsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,38 +619,39 @@ public com.google.cloud.video.livestream.v1.ListInputsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.ListInputsResponse) { - return mergeFrom((com.google.cloud.video.livestream.v1.ListInputsResponse)other); + return mergeFrom((com.google.cloud.video.livestream.v1.ListInputsResponse) other); } else { super.mergeFrom(other); return this; @@ -605,7 +659,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListInputsResponse other) { - if (other == com.google.cloud.video.livestream.v1.ListInputsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.ListInputsResponse.getDefaultInstance()) + return this; if (inputsBuilder_ == null) { if (!other.inputs_.isEmpty()) { if (inputs_.isEmpty()) { @@ -624,9 +679,10 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.ListInputsResponse inputsBuilder_ = null; inputs_ = other.inputs_; bitField0_ = (bitField0_ & ~0x00000001); - inputsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getInputsFieldBuilder() : null; + inputsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getInputsFieldBuilder() + : null; } else { inputsBuilder_.addAllMessages(other.inputs_); } @@ -665,7 +721,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.ListInputsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.ListInputsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,21 +731,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List inputs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInputsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { inputs_ = new java.util.ArrayList(inputs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder> inputsBuilder_; + com.google.cloud.video.livestream.v1.Input, + com.google.cloud.video.livestream.v1.Input.Builder, + com.google.cloud.video.livestream.v1.InputOrBuilder> + inputsBuilder_; /** + * + * *
      * A list of inputs.
      * 
@@ -703,6 +767,8 @@ public java.util.List getInputsList( } } /** + * + * *
      * A list of inputs.
      * 
@@ -717,6 +783,8 @@ public int getInputsCount() { } } /** + * + * *
      * A list of inputs.
      * 
@@ -731,14 +799,15 @@ public com.google.cloud.video.livestream.v1.Input getInputs(int index) { } } /** + * + * *
      * A list of inputs.
      * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - public Builder setInputs( - int index, com.google.cloud.video.livestream.v1.Input value) { + public Builder setInputs(int index, com.google.cloud.video.livestream.v1.Input value) { if (inputsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,6 +821,8 @@ public Builder setInputs( return this; } /** + * + * *
      * A list of inputs.
      * 
@@ -770,6 +841,8 @@ public Builder setInputs( return this; } /** + * + * *
      * A list of inputs.
      * 
@@ -790,14 +863,15 @@ public Builder addInputs(com.google.cloud.video.livestream.v1.Input value) { return this; } /** + * + * *
      * A list of inputs.
      * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - public Builder addInputs( - int index, com.google.cloud.video.livestream.v1.Input value) { + public Builder addInputs(int index, com.google.cloud.video.livestream.v1.Input value) { if (inputsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -811,14 +885,15 @@ public Builder addInputs( return this; } /** + * + * *
      * A list of inputs.
      * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - public Builder addInputs( - com.google.cloud.video.livestream.v1.Input.Builder builderForValue) { + public Builder addInputs(com.google.cloud.video.livestream.v1.Input.Builder builderForValue) { if (inputsBuilder_ == null) { ensureInputsIsMutable(); inputs_.add(builderForValue.build()); @@ -829,6 +904,8 @@ public Builder addInputs( return this; } /** + * + * *
      * A list of inputs.
      * 
@@ -847,6 +924,8 @@ public Builder addInputs( return this; } /** + * + * *
      * A list of inputs.
      * 
@@ -857,8 +936,7 @@ public Builder addAllInputs( java.lang.Iterable values) { if (inputsBuilder_ == null) { ensureInputsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, inputs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inputs_); onChanged(); } else { inputsBuilder_.addAllMessages(values); @@ -866,6 +944,8 @@ public Builder addAllInputs( return this; } /** + * + * *
      * A list of inputs.
      * 
@@ -883,6 +963,8 @@ public Builder clearInputs() { return this; } /** + * + * *
      * A list of inputs.
      * 
@@ -900,39 +982,44 @@ public Builder removeInputs(int index) { return this; } /** + * + * *
      * A list of inputs.
      * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - public com.google.cloud.video.livestream.v1.Input.Builder getInputsBuilder( - int index) { + public com.google.cloud.video.livestream.v1.Input.Builder getInputsBuilder(int index) { return getInputsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of inputs.
      * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - public com.google.cloud.video.livestream.v1.InputOrBuilder getInputsOrBuilder( - int index) { + public com.google.cloud.video.livestream.v1.InputOrBuilder getInputsOrBuilder(int index) { if (inputsBuilder_ == null) { - return inputs_.get(index); } else { + return inputs_.get(index); + } else { return inputsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of inputs.
      * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - public java.util.List - getInputsOrBuilderList() { + public java.util.List + getInputsOrBuilderList() { if (inputsBuilder_ != null) { return inputsBuilder_.getMessageOrBuilderList(); } else { @@ -940,6 +1027,8 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputsOrBuilder( } } /** + * + * *
      * A list of inputs.
      * 
@@ -947,42 +1036,48 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputsOrBuilder( * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ public com.google.cloud.video.livestream.v1.Input.Builder addInputsBuilder() { - return getInputsFieldBuilder().addBuilder( - com.google.cloud.video.livestream.v1.Input.getDefaultInstance()); + return getInputsFieldBuilder() + .addBuilder(com.google.cloud.video.livestream.v1.Input.getDefaultInstance()); } /** + * + * *
      * A list of inputs.
      * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - public com.google.cloud.video.livestream.v1.Input.Builder addInputsBuilder( - int index) { - return getInputsFieldBuilder().addBuilder( - index, com.google.cloud.video.livestream.v1.Input.getDefaultInstance()); + public com.google.cloud.video.livestream.v1.Input.Builder addInputsBuilder(int index) { + return getInputsFieldBuilder() + .addBuilder(index, com.google.cloud.video.livestream.v1.Input.getDefaultInstance()); } /** + * + * *
      * A list of inputs.
      * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - public java.util.List - getInputsBuilderList() { + public java.util.List + getInputsBuilderList() { return getInputsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder> + com.google.cloud.video.livestream.v1.Input, + com.google.cloud.video.livestream.v1.Input.Builder, + com.google.cloud.video.livestream.v1.InputOrBuilder> getInputsFieldBuilder() { if (inputsBuilder_ == null) { - inputsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder>( - inputs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + inputsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.livestream.v1.Input, + com.google.cloud.video.livestream.v1.Input.Builder, + com.google.cloud.video.livestream.v1.InputOrBuilder>( + inputs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); inputs_ = null; } return inputsBuilder_; @@ -990,19 +1085,21 @@ public com.google.cloud.video.livestream.v1.Input.Builder addInputsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1011,21 +1108,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1033,98 +1131,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1247,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1340,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,12 +1373,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.ListInputsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.ListInputsResponse) private static final com.google.cloud.video.livestream.v1.ListInputsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.ListInputsResponse(); } @@ -1260,16 +1387,16 @@ public static com.google.cloud.video.livestream.v1.ListInputsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInputsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInputsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInputsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInputsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,6 +1411,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.ListInputsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponseOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponseOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponseOrBuilder.java index a8496aa..f3a53ab 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponseOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ListInputsResponseOrBuilder.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface ListInputsResponseOrBuilder extends +public interface ListInputsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.ListInputsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of inputs.
    * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - java.util.List - getInputsList(); + java.util.List getInputsList(); /** + * + * *
    * A list of inputs.
    * 
@@ -25,6 +44,8 @@ public interface ListInputsResponseOrBuilder extends */ com.google.cloud.video.livestream.v1.Input getInputs(int index); /** + * + * *
    * A list of inputs.
    * 
@@ -33,84 +54,102 @@ public interface ListInputsResponseOrBuilder extends */ int getInputsCount(); /** + * + * *
    * A list of inputs.
    * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - java.util.List + java.util.List getInputsOrBuilderList(); /** + * + * *
    * A list of inputs.
    * 
* * repeated .google.cloud.video.livestream.v1.Input inputs = 1; */ - com.google.cloud.video.livestream.v1.InputOrBuilder getInputsOrBuilder( - int index); + com.google.cloud.video.livestream.v1.InputOrBuilder getInputsOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LocationName.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LocationName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LocationName.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LocationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfig.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfig.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfig.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfig.java index 7bddd21..481386b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfig.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfig.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/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Configuration of platform logs.
  * See [Using and managing platform
@@ -13,31 +30,31 @@
  *
  * Protobuf type {@code google.cloud.video.livestream.v1.LogConfig}
  */
-public final class LogConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class LogConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.LogConfig)
     LogConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use LogConfig.newBuilder() to construct.
   private LogConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private LogConfig() {
     logSeverity_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new LogConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private LogConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,19 +73,20 @@ private LogConfig(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            logSeverity_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              logSeverity_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -76,27 +94,31 @@ private LogConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.video.livestream.v1.ResourcesProto
+        .internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_LogConfig_fieldAccessorTable
+    return com.google.cloud.video.livestream.v1.ResourcesProto
+        .internal_static_google_cloud_video_livestream_v1_LogConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.video.livestream.v1.LogConfig.class, com.google.cloud.video.livestream.v1.LogConfig.Builder.class);
+            com.google.cloud.video.livestream.v1.LogConfig.class,
+            com.google.cloud.video.livestream.v1.LogConfig.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The severity level of platform logging for this channel. Logs with a
    * severity level higher than or equal to the chosen severity level will be
@@ -110,9 +132,10 @@ private LogConfig(
    *
    * Protobuf enum {@code google.cloud.video.livestream.v1.LogConfig.LogSeverity}
    */
-  public enum LogSeverity
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum LogSeverity implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Log severity is not specified. This is the same as log severity is OFF.
      * 
@@ -121,6 +144,8 @@ public enum LogSeverity */ LOG_SEVERITY_UNSPECIFIED(0), /** + * + * *
      * Log is turned off.
      * 
@@ -129,6 +154,8 @@ public enum LogSeverity */ OFF(1), /** + * + * *
      * Log with severity higher than or equal to DEBUG are logged.
      * 
@@ -137,6 +164,8 @@ public enum LogSeverity */ DEBUG(100), /** + * + * *
      * Logs with severity higher than or equal to INFO are logged.
      * 
@@ -145,6 +174,8 @@ public enum LogSeverity */ INFO(200), /** + * + * *
      * Logs with severity higher than or equal to WARNING are logged.
      * 
@@ -153,6 +184,8 @@ public enum LogSeverity */ WARNING(400), /** + * + * *
      * Logs with severity higher than or equal to ERROR are logged.
      * 
@@ -164,6 +197,8 @@ public enum LogSeverity ; /** + * + * *
      * Log severity is not specified. This is the same as log severity is OFF.
      * 
@@ -172,6 +207,8 @@ public enum LogSeverity */ public static final int LOG_SEVERITY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Log is turned off.
      * 
@@ -180,6 +217,8 @@ public enum LogSeverity */ public static final int OFF_VALUE = 1; /** + * + * *
      * Log with severity higher than or equal to DEBUG are logged.
      * 
@@ -188,6 +227,8 @@ public enum LogSeverity */ public static final int DEBUG_VALUE = 100; /** + * + * *
      * Logs with severity higher than or equal to INFO are logged.
      * 
@@ -196,6 +237,8 @@ public enum LogSeverity */ public static final int INFO_VALUE = 200; /** + * + * *
      * Logs with severity higher than or equal to WARNING are logged.
      * 
@@ -204,6 +247,8 @@ public enum LogSeverity */ public static final int WARNING_VALUE = 400; /** + * + * *
      * Logs with severity higher than or equal to ERROR are logged.
      * 
@@ -212,7 +257,6 @@ public enum LogSeverity */ public static final int ERROR_VALUE = 500; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -237,52 +281,55 @@ public static LogSeverity valueOf(int value) { */ public static LogSeverity forNumber(int value) { switch (value) { - case 0: return LOG_SEVERITY_UNSPECIFIED; - case 1: return OFF; - case 100: return DEBUG; - case 200: return INFO; - case 400: return WARNING; - case 500: return ERROR; - default: return null; + case 0: + return LOG_SEVERITY_UNSPECIFIED; + case 1: + return OFF; + case 100: + return DEBUG; + case 200: + return INFO; + case 400: + return WARNING; + case 500: + return ERROR; + 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< - LogSeverity> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LogSeverity findValueByNumber(int number) { - return LogSeverity.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 LogSeverity findValueByNumber(int number) { + return LogSeverity.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.video.livestream.v1.LogConfig.getDescriptor().getEnumTypes().get(0); } private static final LogSeverity[] VALUES = values(); - public static LogSeverity valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LogSeverity 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; @@ -302,31 +349,43 @@ private LogSeverity(int value) { public static final int LOG_SEVERITY_FIELD_NUMBER = 1; private int logSeverity_; /** + * + * *
    * The severity level of platform logging for this resource.
    * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; + * * @return The enum numeric value on the wire for logSeverity. */ - @java.lang.Override public int getLogSeverityValue() { + @java.lang.Override + public int getLogSeverityValue() { return logSeverity_; } /** + * + * *
    * The severity level of platform logging for this resource.
    * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; + * * @return The logSeverity. */ - @java.lang.Override public com.google.cloud.video.livestream.v1.LogConfig.LogSeverity getLogSeverity() { + @java.lang.Override + public com.google.cloud.video.livestream.v1.LogConfig.LogSeverity getLogSeverity() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.LogConfig.LogSeverity result = com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.valueOf(logSeverity_); - return result == null ? com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.UNRECOGNIZED : result; + com.google.cloud.video.livestream.v1.LogConfig.LogSeverity result = + com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.valueOf(logSeverity_); + return result == null + ? com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,9 +397,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (logSeverity_ != com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.LOG_SEVERITY_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (logSeverity_ + != com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.LOG_SEVERITY_UNSPECIFIED + .getNumber()) { output.writeEnum(1, logSeverity_); } unknownFields.writeTo(output); @@ -352,9 +412,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (logSeverity_ != com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.LOG_SEVERITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, logSeverity_); + if (logSeverity_ + != com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.LOG_SEVERITY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, logSeverity_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -364,12 +425,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.LogConfig)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.LogConfig other = (com.google.cloud.video.livestream.v1.LogConfig) obj; + com.google.cloud.video.livestream.v1.LogConfig other = + (com.google.cloud.video.livestream.v1.LogConfig) obj; if (logSeverity_ != other.logSeverity_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -390,97 +452,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.LogConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.LogConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.LogConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.LogConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.LogConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.LogConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.LogConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.LogConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.LogConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.LogConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.LogConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.LogConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.LogConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.LogConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.video.livestream.v1.LogConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration of platform logs.
    * See [Using and managing platform
@@ -490,21 +559,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.video.livestream.v1.LogConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.LogConfig)
       com.google.cloud.video.livestream.v1.LogConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto
+          .internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_LogConfig_fieldAccessorTable
+      return com.google.cloud.video.livestream.v1.ResourcesProto
+          .internal_static_google_cloud_video_livestream_v1_LogConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.livestream.v1.LogConfig.class, com.google.cloud.video.livestream.v1.LogConfig.Builder.class);
+              com.google.cloud.video.livestream.v1.LogConfig.class,
+              com.google.cloud.video.livestream.v1.LogConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.video.livestream.v1.LogConfig.newBuilder()
@@ -512,16 +583,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();
@@ -531,9 +601,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.video.livestream.v1.ResourcesProto
+          .internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor;
     }
 
     @java.lang.Override
@@ -552,7 +622,8 @@ public com.google.cloud.video.livestream.v1.LogConfig build() {
 
     @java.lang.Override
     public com.google.cloud.video.livestream.v1.LogConfig buildPartial() {
-      com.google.cloud.video.livestream.v1.LogConfig result = new com.google.cloud.video.livestream.v1.LogConfig(this);
+      com.google.cloud.video.livestream.v1.LogConfig result =
+          new com.google.cloud.video.livestream.v1.LogConfig(this);
       result.logSeverity_ = logSeverity_;
       onBuilt();
       return result;
@@ -562,38 +633,39 @@ public com.google.cloud.video.livestream.v1.LogConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.video.livestream.v1.LogConfig) {
-        return mergeFrom((com.google.cloud.video.livestream.v1.LogConfig)other);
+        return mergeFrom((com.google.cloud.video.livestream.v1.LogConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -636,80 +708,100 @@ public Builder mergeFrom(
 
     private int logSeverity_ = 0;
     /**
+     *
+     *
      * 
      * The severity level of platform logging for this resource.
      * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; + * * @return The enum numeric value on the wire for logSeverity. */ - @java.lang.Override public int getLogSeverityValue() { + @java.lang.Override + public int getLogSeverityValue() { return logSeverity_; } /** + * + * *
      * The severity level of platform logging for this resource.
      * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; + * * @param value The enum numeric value on the wire for logSeverity to set. * @return This builder for chaining. */ public Builder setLogSeverityValue(int value) { - + logSeverity_ = value; onChanged(); return this; } /** + * + * *
      * The severity level of platform logging for this resource.
      * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; + * * @return The logSeverity. */ @java.lang.Override public com.google.cloud.video.livestream.v1.LogConfig.LogSeverity getLogSeverity() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.LogConfig.LogSeverity result = com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.valueOf(logSeverity_); - return result == null ? com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.UNRECOGNIZED : result; + com.google.cloud.video.livestream.v1.LogConfig.LogSeverity result = + com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.valueOf(logSeverity_); + return result == null + ? com.google.cloud.video.livestream.v1.LogConfig.LogSeverity.UNRECOGNIZED + : result; } /** + * + * *
      * The severity level of platform logging for this resource.
      * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; + * * @param value The logSeverity to set. * @return This builder for chaining. */ - public Builder setLogSeverity(com.google.cloud.video.livestream.v1.LogConfig.LogSeverity value) { + public Builder setLogSeverity( + com.google.cloud.video.livestream.v1.LogConfig.LogSeverity value) { if (value == null) { throw new NullPointerException(); } - + logSeverity_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The severity level of platform logging for this resource.
      * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; + * * @return This builder for chaining. */ public Builder clearLogSeverity() { - + logSeverity_ = 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); } @@ -719,12 +811,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.LogConfig) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.LogConfig) private static final com.google.cloud.video.livestream.v1.LogConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.LogConfig(); } @@ -733,16 +825,16 @@ public static com.google.cloud.video.livestream.v1.LogConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LogConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LogConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LogConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LogConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -757,6 +849,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.LogConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfigOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfigOrBuilder.java similarity index 57% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfigOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfigOrBuilder.java index c41954a..57d8bf7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfigOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/LogConfigOrBuilder.java @@ -1,27 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface LogConfigOrBuilder extends +public interface LogConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.LogConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The severity level of platform logging for this resource.
    * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; + * * @return The enum numeric value on the wire for logSeverity. */ int getLogSeverityValue(); /** + * + * *
    * The severity level of platform logging for this resource.
    * 
* * .google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1; + * * @return The logSeverity. */ com.google.cloud.video.livestream.v1.LogConfig.LogSeverity getLogSeverity(); diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Manifest.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Manifest.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Manifest.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Manifest.java index 2d12057..2c4bfa3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Manifest.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Manifest.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/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Manifest configuration.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.Manifest} */ -public final class Manifest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Manifest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.Manifest) ManifestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Manifest.newBuilder() to construct. private Manifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Manifest() { fileName_ = ""; type_ = 0; @@ -27,16 +45,15 @@ private Manifest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Manifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Manifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,52 +73,57 @@ private Manifest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - fileName_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - type_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - muxStreams_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + fileName_ = s; + break; } - muxStreams_.add(s); - break; - } - case 32: { + case 16: + { + int rawValue = input.readEnum(); - maxSegmentCount_ = input.readInt32(); - break; - } - case 42: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (segmentKeepDuration_ != null) { - subBuilder = segmentKeepDuration_.toBuilder(); + type_ = rawValue; + break; } - segmentKeepDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segmentKeepDuration_); - segmentKeepDuration_ = subBuilder.buildPartial(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + muxStreams_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + muxStreams_.add(s); + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 32: + { + maxSegmentCount_ = input.readInt32(); + break; + } + case 42: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (segmentKeepDuration_ != null) { + subBuilder = segmentKeepDuration_.toBuilder(); + } + segmentKeepDuration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segmentKeepDuration_); + segmentKeepDuration_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,8 +131,7 @@ private Manifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { muxStreams_ = muxStreams_.getUnmodifiableView(); @@ -119,29 +140,35 @@ private Manifest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_Manifest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_Manifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_Manifest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_Manifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.Manifest.class, com.google.cloud.video.livestream.v1.Manifest.Builder.class); + com.google.cloud.video.livestream.v1.Manifest.class, + com.google.cloud.video.livestream.v1.Manifest.Builder.class); } /** + * + * *
    * The manifest type can be either `HLS` or `DASH`.
    * 
* * Protobuf enum {@code google.cloud.video.livestream.v1.Manifest.ManifestType} */ - public enum ManifestType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The manifest type is not specified.
      * 
@@ -150,6 +177,8 @@ public enum ManifestType */ MANIFEST_TYPE_UNSPECIFIED(0), /** + * + * *
      * Create an `HLS` manifest. The corresponding file extension is `.m3u8`.
      * 
@@ -158,6 +187,8 @@ public enum ManifestType */ HLS(1), /** + * + * *
      * Create a `DASH` manifest. The corresponding file extension is `.mpd`.
      * 
@@ -169,6 +200,8 @@ public enum ManifestType ; /** + * + * *
      * The manifest type is not specified.
      * 
@@ -177,6 +210,8 @@ public enum ManifestType */ public static final int MANIFEST_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Create an `HLS` manifest. The corresponding file extension is `.m3u8`.
      * 
@@ -185,6 +220,8 @@ public enum ManifestType */ public static final int HLS_VALUE = 1; /** + * + * *
      * Create a `DASH` manifest. The corresponding file extension is `.mpd`.
      * 
@@ -193,7 +230,6 @@ public enum ManifestType */ public static final int DASH_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -218,49 +254,49 @@ public static ManifestType valueOf(int value) { */ public static ManifestType forNumber(int value) { switch (value) { - case 0: return MANIFEST_TYPE_UNSPECIFIED; - case 1: return HLS; - case 2: return DASH; - default: return null; + case 0: + return MANIFEST_TYPE_UNSPECIFIED; + case 1: + return HLS; + case 2: + return DASH; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ManifestType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ManifestType findValueByNumber(int number) { - return ManifestType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ManifestType findValueByNumber(int number) { + return ManifestType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.video.livestream.v1.Manifest.getDescriptor().getEnumTypes().get(0); } private static final ManifestType[] VALUES = values(); - public static ManifestType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ManifestType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -280,6 +316,8 @@ private ManifestType(int value) { public static final int FILE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object fileName_; /** + * + * *
    * The name of the generated file. The default is `manifest` with the
    * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -287,6 +325,7 @@ private ManifestType(int value) {
    * 
* * string file_name = 1; + * * @return The fileName. */ @java.lang.Override @@ -295,14 +334,15 @@ public java.lang.String getFileName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileName_ = s; return s; } } /** + * + * *
    * The name of the generated file. The default is `manifest` with the
    * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -310,16 +350,15 @@ public java.lang.String getFileName() {
    * 
* * string file_name = 1; + * * @return The bytes for fileName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFileNameBytes() { + public com.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fileName_ = b; return b; } else { @@ -330,33 +369,50 @@ public java.lang.String getFileName() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** + * + * *
    * Required. Type of the manifest, can be `HLS` or `DASH`.
    * 
* - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. Type of the manifest, can be `HLS` or `DASH`.
    * 
* - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.video.livestream.v1.Manifest.ManifestType getType() { + @java.lang.Override + public com.google.cloud.video.livestream.v1.Manifest.ManifestType getType() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Manifest.ManifestType result = com.google.cloud.video.livestream.v1.Manifest.ManifestType.valueOf(type_); - return result == null ? com.google.cloud.video.livestream.v1.Manifest.ManifestType.UNRECOGNIZED : result; + com.google.cloud.video.livestream.v1.Manifest.ManifestType result = + com.google.cloud.video.livestream.v1.Manifest.ManifestType.valueOf(type_); + return result == null + ? com.google.cloud.video.livestream.v1.Manifest.ManifestType.UNRECOGNIZED + : result; } public static final int MUX_STREAMS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList muxStreams_; /** + * + * *
    * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
    * manifest.
@@ -366,13 +422,15 @@ public java.lang.String getFileName() {
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the muxStreams. */ - public com.google.protobuf.ProtocolStringList - getMuxStreamsList() { + public com.google.protobuf.ProtocolStringList getMuxStreamsList() { return muxStreams_; } /** + * + * *
    * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
    * manifest.
@@ -382,12 +440,15 @@ public java.lang.String getFileName() {
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of muxStreams. */ public int getMuxStreamsCount() { return muxStreams_.size(); } /** + * + * *
    * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
    * manifest.
@@ -397,6 +458,7 @@ public int getMuxStreamsCount() {
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The muxStreams at the given index. */ @@ -404,6 +466,8 @@ public java.lang.String getMuxStreams(int index) { return muxStreams_.get(index); } /** + * + * *
    * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
    * manifest.
@@ -413,17 +477,19 @@ public java.lang.String getMuxStreams(int index) {
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the muxStreams at the given index. */ - public com.google.protobuf.ByteString - getMuxStreamsBytes(int index) { + public com.google.protobuf.ByteString getMuxStreamsBytes(int index) { return muxStreams_.getByteString(index); } public static final int MAX_SEGMENT_COUNT_FIELD_NUMBER = 4; private int maxSegmentCount_; /** + * + * *
    * Maximum number of segments that this manifest holds. Once the manifest
    * reaches this maximum number of segments, whenever a new segment is added to
@@ -432,6 +498,7 @@ public java.lang.String getMuxStreams(int index) {
    * 
* * int32 max_segment_count = 4; + * * @return The maxSegmentCount. */ @java.lang.Override @@ -442,6 +509,8 @@ public int getMaxSegmentCount() { public static final int SEGMENT_KEEP_DURATION_FIELD_NUMBER = 5; private com.google.protobuf.Duration segmentKeepDuration_; /** + * + * *
    * How long to keep a segment on the output Google Cloud Storage bucket after
    * it is removed from the manifest. This field should be large enough to cover
@@ -452,6 +521,7 @@ public int getMaxSegmentCount() {
    * 
* * .google.protobuf.Duration segment_keep_duration = 5; + * * @return Whether the segmentKeepDuration field is set. */ @java.lang.Override @@ -459,6 +529,8 @@ public boolean hasSegmentKeepDuration() { return segmentKeepDuration_ != null; } /** + * + * *
    * How long to keep a segment on the output Google Cloud Storage bucket after
    * it is removed from the manifest. This field should be large enough to cover
@@ -469,13 +541,18 @@ public boolean hasSegmentKeepDuration() {
    * 
* * .google.protobuf.Duration segment_keep_duration = 5; + * * @return The segmentKeepDuration. */ @java.lang.Override public com.google.protobuf.Duration getSegmentKeepDuration() { - return segmentKeepDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : segmentKeepDuration_; + return segmentKeepDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : segmentKeepDuration_; } /** + * + * *
    * How long to keep a segment on the output Google Cloud Storage bucket after
    * it is removed from the manifest. This field should be large enough to cover
@@ -493,6 +570,7 @@ public com.google.protobuf.DurationOrBuilder getSegmentKeepDurationOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -504,12 +582,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fileName_);
     }
-    if (type_ != com.google.cloud.video.livestream.v1.Manifest.ManifestType.MANIFEST_TYPE_UNSPECIFIED.getNumber()) {
+    if (type_
+        != com.google.cloud.video.livestream.v1.Manifest.ManifestType.MANIFEST_TYPE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(2, type_);
     }
     for (int i = 0; i < muxStreams_.size(); i++) {
@@ -533,9 +612,10 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fileName_);
     }
-    if (type_ != com.google.cloud.video.livestream.v1.Manifest.ManifestType.MANIFEST_TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(2, type_);
+    if (type_
+        != com.google.cloud.video.livestream.v1.Manifest.ManifestType.MANIFEST_TYPE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_);
     }
     {
       int dataSize = 0;
@@ -546,12 +626,10 @@ public int getSerializedSize() {
       size += 1 * getMuxStreamsList().size();
     }
     if (maxSegmentCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(4, maxSegmentCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, maxSegmentCount_);
     }
     if (segmentKeepDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getSegmentKeepDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSegmentKeepDuration());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -561,24 +639,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.video.livestream.v1.Manifest)) {
       return super.equals(obj);
     }
-    com.google.cloud.video.livestream.v1.Manifest other = (com.google.cloud.video.livestream.v1.Manifest) obj;
+    com.google.cloud.video.livestream.v1.Manifest other =
+        (com.google.cloud.video.livestream.v1.Manifest) obj;
 
-    if (!getFileName()
-        .equals(other.getFileName())) return false;
+    if (!getFileName().equals(other.getFileName())) return false;
     if (type_ != other.type_) return false;
-    if (!getMuxStreamsList()
-        .equals(other.getMuxStreamsList())) return false;
-    if (getMaxSegmentCount()
-        != other.getMaxSegmentCount()) return false;
+    if (!getMuxStreamsList().equals(other.getMuxStreamsList())) return false;
+    if (getMaxSegmentCount() != other.getMaxSegmentCount()) return false;
     if (hasSegmentKeepDuration() != other.hasSegmentKeepDuration()) return false;
     if (hasSegmentKeepDuration()) {
-      if (!getSegmentKeepDuration()
-          .equals(other.getSegmentKeepDuration())) return false;
+      if (!getSegmentKeepDuration().equals(other.getSegmentKeepDuration())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -610,118 +685,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.video.livestream.v1.Manifest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.video.livestream.v1.Manifest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.video.livestream.v1.Manifest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.video.livestream.v1.Manifest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.video.livestream.v1.Manifest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.video.livestream.v1.Manifest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.video.livestream.v1.Manifest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Manifest configuration.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.Manifest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.Manifest) com.google.cloud.video.livestream.v1.ManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_Manifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_Manifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_Manifest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_Manifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.Manifest.class, com.google.cloud.video.livestream.v1.Manifest.Builder.class); + com.google.cloud.video.livestream.v1.Manifest.class, + com.google.cloud.video.livestream.v1.Manifest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.Manifest.newBuilder() @@ -729,16 +813,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(); @@ -760,9 +843,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_Manifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_Manifest_descriptor; } @java.lang.Override @@ -781,7 +864,8 @@ public com.google.cloud.video.livestream.v1.Manifest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.Manifest buildPartial() { - com.google.cloud.video.livestream.v1.Manifest result = new com.google.cloud.video.livestream.v1.Manifest(this); + com.google.cloud.video.livestream.v1.Manifest result = + new com.google.cloud.video.livestream.v1.Manifest(this); int from_bitField0_ = bitField0_; result.fileName_ = fileName_; result.type_ = type_; @@ -804,38 +888,39 @@ public com.google.cloud.video.livestream.v1.Manifest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.Manifest) { - return mergeFrom((com.google.cloud.video.livestream.v1.Manifest)other); + return mergeFrom((com.google.cloud.video.livestream.v1.Manifest) other); } else { super.mergeFrom(other); return this; @@ -895,10 +980,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object fileName_ = ""; /** + * + * *
      * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -906,13 +994,13 @@ public Builder mergeFrom(
      * 
* * string file_name = 1; + * * @return The fileName. */ public java.lang.String getFileName() { java.lang.Object ref = fileName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileName_ = s; return s; @@ -921,6 +1009,8 @@ public java.lang.String getFileName() { } } /** + * + * *
      * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -928,15 +1018,14 @@ public java.lang.String getFileName() {
      * 
* * string file_name = 1; + * * @return The bytes for fileName. */ - public com.google.protobuf.ByteString - getFileNameBytes() { + public com.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fileName_ = b; return b; } else { @@ -944,6 +1033,8 @@ public java.lang.String getFileName() { } } /** + * + * *
      * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -951,20 +1042,22 @@ public java.lang.String getFileName() {
      * 
* * string file_name = 1; + * * @param value The fileName to set. * @return This builder for chaining. */ - public Builder setFileName( - java.lang.String value) { + public Builder setFileName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fileName_ = value; onChanged(); return this; } /** + * + * *
      * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -972,15 +1065,18 @@ public Builder setFileName(
      * 
* * string file_name = 1; + * * @return This builder for chaining. */ public Builder clearFileName() { - + fileName_ = getDefaultInstance().getFileName(); onChanged(); return this; } /** + * + * *
      * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -988,16 +1084,16 @@ public Builder clearFileName() {
      * 
* * string file_name = 1; + * * @param value The bytes for fileName to set. * @return This builder for chaining. */ - public Builder setFileNameBytes( - com.google.protobuf.ByteString value) { + public Builder setFileNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fileName_ = value; onChanged(); return this; @@ -1005,51 +1101,75 @@ public Builder setFileNameBytes( private int type_ = 0; /** + * + * *
      * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Manifest.ManifestType getType() { @SuppressWarnings("deprecation") - com.google.cloud.video.livestream.v1.Manifest.ManifestType result = com.google.cloud.video.livestream.v1.Manifest.ManifestType.valueOf(type_); - return result == null ? com.google.cloud.video.livestream.v1.Manifest.ManifestType.UNRECOGNIZED : result; + com.google.cloud.video.livestream.v1.Manifest.ManifestType result = + com.google.cloud.video.livestream.v1.Manifest.ManifestType.valueOf(type_); + return result == null + ? com.google.cloud.video.livestream.v1.Manifest.ManifestType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -1057,34 +1177,43 @@ public Builder setType(com.google.cloud.video.livestream.v1.Manifest.ManifestTyp if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList muxStreams_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList muxStreams_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureMuxStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { muxStreams_ = new com.google.protobuf.LazyStringArrayList(muxStreams_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1094,13 +1223,15 @@ private void ensureMuxStreamsIsMutable() {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the muxStreams. */ - public com.google.protobuf.ProtocolStringList - getMuxStreamsList() { + public com.google.protobuf.ProtocolStringList getMuxStreamsList() { return muxStreams_.getUnmodifiableView(); } /** + * + * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1110,12 +1241,15 @@ private void ensureMuxStreamsIsMutable() {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of muxStreams. */ public int getMuxStreamsCount() { return muxStreams_.size(); } /** + * + * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1125,6 +1259,7 @@ public int getMuxStreamsCount() {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The muxStreams at the given index. */ @@ -1132,6 +1267,8 @@ public java.lang.String getMuxStreams(int index) { return muxStreams_.get(index); } /** + * + * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1141,14 +1278,16 @@ public java.lang.String getMuxStreams(int index) {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the muxStreams at the given index. */ - public com.google.protobuf.ByteString - getMuxStreamsBytes(int index) { + public com.google.protobuf.ByteString getMuxStreamsBytes(int index) { return muxStreams_.getByteString(index); } /** + * + * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1158,21 +1297,23 @@ public java.lang.String getMuxStreams(int index) {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The muxStreams to set. * @return This builder for chaining. */ - public Builder setMuxStreams( - int index, java.lang.String value) { + public Builder setMuxStreams(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMuxStreamsIsMutable(); + throw new NullPointerException(); + } + ensureMuxStreamsIsMutable(); muxStreams_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1182,20 +1323,22 @@ public Builder setMuxStreams(
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The muxStreams to add. * @return This builder for chaining. */ - public Builder addMuxStreams( - java.lang.String value) { + public Builder addMuxStreams(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMuxStreamsIsMutable(); + throw new NullPointerException(); + } + ensureMuxStreamsIsMutable(); muxStreams_.add(value); onChanged(); return this; } /** + * + * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1205,18 +1348,19 @@ public Builder addMuxStreams(
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The muxStreams to add. * @return This builder for chaining. */ - public Builder addAllMuxStreams( - java.lang.Iterable values) { + public Builder addAllMuxStreams(java.lang.Iterable values) { ensureMuxStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, muxStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, muxStreams_); onChanged(); return this; } /** + * + * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1226,6 +1370,7 @@ public Builder addAllMuxStreams(
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMuxStreams() { @@ -1235,6 +1380,8 @@ public Builder clearMuxStreams() { return this; } /** + * + * *
      * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
      * manifest.
@@ -1244,23 +1391,25 @@ public Builder clearMuxStreams() {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the muxStreams to add. * @return This builder for chaining. */ - public Builder addMuxStreamsBytes( - com.google.protobuf.ByteString value) { + public Builder addMuxStreamsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMuxStreamsIsMutable(); muxStreams_.add(value); onChanged(); return this; } - private int maxSegmentCount_ ; + private int maxSegmentCount_; /** + * + * *
      * Maximum number of segments that this manifest holds. Once the manifest
      * reaches this maximum number of segments, whenever a new segment is added to
@@ -1269,6 +1418,7 @@ public Builder addMuxStreamsBytes(
      * 
* * int32 max_segment_count = 4; + * * @return The maxSegmentCount. */ @java.lang.Override @@ -1276,6 +1426,8 @@ public int getMaxSegmentCount() { return maxSegmentCount_; } /** + * + * *
      * Maximum number of segments that this manifest holds. Once the manifest
      * reaches this maximum number of segments, whenever a new segment is added to
@@ -1284,16 +1436,19 @@ public int getMaxSegmentCount() {
      * 
* * int32 max_segment_count = 4; + * * @param value The maxSegmentCount to set. * @return This builder for chaining. */ public Builder setMaxSegmentCount(int value) { - + maxSegmentCount_ = value; onChanged(); return this; } /** + * + * *
      * Maximum number of segments that this manifest holds. Once the manifest
      * reaches this maximum number of segments, whenever a new segment is added to
@@ -1302,10 +1457,11 @@ public Builder setMaxSegmentCount(int value) {
      * 
* * int32 max_segment_count = 4; + * * @return This builder for chaining. */ public Builder clearMaxSegmentCount() { - + maxSegmentCount_ = 0; onChanged(); return this; @@ -1313,8 +1469,13 @@ public Builder clearMaxSegmentCount() { private com.google.protobuf.Duration segmentKeepDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> segmentKeepDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + segmentKeepDurationBuilder_; /** + * + * *
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1325,12 +1486,15 @@ public Builder clearMaxSegmentCount() {
      * 
* * .google.protobuf.Duration segment_keep_duration = 5; + * * @return Whether the segmentKeepDuration field is set. */ public boolean hasSegmentKeepDuration() { return segmentKeepDurationBuilder_ != null || segmentKeepDuration_ != null; } /** + * + * *
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1341,16 +1505,21 @@ public boolean hasSegmentKeepDuration() {
      * 
* * .google.protobuf.Duration segment_keep_duration = 5; + * * @return The segmentKeepDuration. */ public com.google.protobuf.Duration getSegmentKeepDuration() { if (segmentKeepDurationBuilder_ == null) { - return segmentKeepDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : segmentKeepDuration_; + return segmentKeepDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : segmentKeepDuration_; } else { return segmentKeepDurationBuilder_.getMessage(); } } /** + * + * *
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1376,6 +1545,8 @@ public Builder setSegmentKeepDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1387,8 +1558,7 @@ public Builder setSegmentKeepDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration segment_keep_duration = 5;
      */
-    public Builder setSegmentKeepDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setSegmentKeepDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (segmentKeepDurationBuilder_ == null) {
         segmentKeepDuration_ = builderForValue.build();
         onChanged();
@@ -1399,6 +1569,8 @@ public Builder setSegmentKeepDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1414,7 +1586,9 @@ public Builder mergeSegmentKeepDuration(com.google.protobuf.Duration value) {
       if (segmentKeepDurationBuilder_ == null) {
         if (segmentKeepDuration_ != null) {
           segmentKeepDuration_ =
-            com.google.protobuf.Duration.newBuilder(segmentKeepDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(segmentKeepDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           segmentKeepDuration_ = value;
         }
@@ -1426,6 +1600,8 @@ public Builder mergeSegmentKeepDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1449,6 +1625,8 @@ public Builder clearSegmentKeepDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1461,11 +1639,13 @@ public Builder clearSegmentKeepDuration() {
      * .google.protobuf.Duration segment_keep_duration = 5;
      */
     public com.google.protobuf.Duration.Builder getSegmentKeepDurationBuilder() {
-      
+
       onChanged();
       return getSegmentKeepDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1481,11 +1661,14 @@ public com.google.protobuf.DurationOrBuilder getSegmentKeepDurationOrBuilder() {
       if (segmentKeepDurationBuilder_ != null) {
         return segmentKeepDurationBuilder_.getMessageOrBuilder();
       } else {
-        return segmentKeepDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : segmentKeepDuration_;
+        return segmentKeepDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : segmentKeepDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * How long to keep a segment on the output Google Cloud Storage bucket after
      * it is removed from the manifest. This field should be large enough to cover
@@ -1498,21 +1681,24 @@ public com.google.protobuf.DurationOrBuilder getSegmentKeepDurationOrBuilder() {
      * .google.protobuf.Duration segment_keep_duration = 5;
      */
     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>
         getSegmentKeepDurationFieldBuilder() {
       if (segmentKeepDurationBuilder_ == null) {
-        segmentKeepDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getSegmentKeepDuration(),
-                getParentForChildren(),
-                isClean());
+        segmentKeepDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getSegmentKeepDuration(), getParentForChildren(), isClean());
         segmentKeepDuration_ = null;
       }
       return segmentKeepDurationBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1522,12 +1708,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.Manifest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.Manifest)
   private static final com.google.cloud.video.livestream.v1.Manifest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.Manifest();
   }
@@ -1536,16 +1722,16 @@ public static com.google.cloud.video.livestream.v1.Manifest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Manifest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Manifest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Manifest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Manifest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1560,6 +1746,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.video.livestream.v1.Manifest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ManifestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ManifestOrBuilder.java
similarity index 82%
rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ManifestOrBuilder.java
rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ManifestOrBuilder.java
index 4820f98..7514c59 100644
--- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ManifestOrBuilder.java
+++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ManifestOrBuilder.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/video/livestream/v1/outputs.proto
 
 package com.google.cloud.video.livestream.v1;
 
-public interface ManifestOrBuilder extends
+public interface ManifestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.Manifest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The name of the generated file. The default is `manifest` with the
    * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -15,10 +33,13 @@ public interface ManifestOrBuilder extends
    * 
* * string file_name = 1; + * * @return The fileName. */ java.lang.String getFileName(); /** + * + * *
    * The name of the generated file. The default is `manifest` with the
    * extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
@@ -26,31 +47,43 @@ public interface ManifestOrBuilder extends
    * 
* * string file_name = 1; + * * @return The bytes for fileName. */ - com.google.protobuf.ByteString - getFileNameBytes(); + com.google.protobuf.ByteString getFileNameBytes(); /** + * + * *
    * Required. Type of the manifest, can be `HLS` or `DASH`.
    * 
* - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. Type of the manifest, can be `HLS` or `DASH`.
    * 
* - * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.video.livestream.v1.Manifest.ManifestType getType(); /** + * + * *
    * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
    * manifest.
@@ -60,11 +93,13 @@ public interface ManifestOrBuilder extends
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the muxStreams. */ - java.util.List - getMuxStreamsList(); + java.util.List getMuxStreamsList(); /** + * + * *
    * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
    * manifest.
@@ -74,10 +109,13 @@ public interface ManifestOrBuilder extends
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of muxStreams. */ int getMuxStreamsCount(); /** + * + * *
    * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
    * manifest.
@@ -87,11 +125,14 @@ public interface ManifestOrBuilder extends
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The muxStreams at the given index. */ java.lang.String getMuxStreams(int index); /** + * + * *
    * Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this
    * manifest.
@@ -101,13 +142,15 @@ public interface ManifestOrBuilder extends
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the muxStreams at the given index. */ - com.google.protobuf.ByteString - getMuxStreamsBytes(int index); + com.google.protobuf.ByteString getMuxStreamsBytes(int index); /** + * + * *
    * Maximum number of segments that this manifest holds. Once the manifest
    * reaches this maximum number of segments, whenever a new segment is added to
@@ -116,11 +159,14 @@ public interface ManifestOrBuilder extends
    * 
* * int32 max_segment_count = 4; + * * @return The maxSegmentCount. */ int getMaxSegmentCount(); /** + * + * *
    * How long to keep a segment on the output Google Cloud Storage bucket after
    * it is removed from the manifest. This field should be large enough to cover
@@ -131,10 +177,13 @@ public interface ManifestOrBuilder extends
    * 
* * .google.protobuf.Duration segment_keep_duration = 5; + * * @return Whether the segmentKeepDuration field is set. */ boolean hasSegmentKeepDuration(); /** + * + * *
    * How long to keep a segment on the output Google Cloud Storage bucket after
    * it is removed from the manifest. This field should be large enough to cover
@@ -145,10 +194,13 @@ public interface ManifestOrBuilder extends
    * 
* * .google.protobuf.Duration segment_keep_duration = 5; + * * @return The segmentKeepDuration. */ com.google.protobuf.Duration getSegmentKeepDuration(); /** + * + * *
    * How long to keep a segment on the output Google Cloud Storage bucket after
    * it is removed from the manifest. This field should be large enough to cover
diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStream.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStream.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStream.java
rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStream.java
index d22f035..b83e68d 100644
--- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStream.java
+++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStream.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/video/livestream/v1/outputs.proto
 
 package com.google.cloud.video.livestream.v1;
 
 /**
+ *
+ *
  * 
  * Multiplexing settings for output stream.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.MuxStream} */ -public final class MuxStream extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MuxStream extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.MuxStream) MuxStreamOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MuxStream.newBuilder() to construct. private MuxStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MuxStream() { key_ = ""; container_ = ""; @@ -27,16 +45,15 @@ private MuxStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MuxStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MuxStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,47 +73,54 @@ private MuxStream( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - key_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - container_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - elementaryStreams_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + key_ = s; + break; } - elementaryStreams_.add(s); - break; - } - case 42: { - com.google.cloud.video.livestream.v1.SegmentSettings.Builder subBuilder = null; - if (segmentSettings_ != null) { - subBuilder = segmentSettings_.toBuilder(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + container_ = s; + break; } - segmentSettings_ = input.readMessage(com.google.cloud.video.livestream.v1.SegmentSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segmentSettings_); - segmentSettings_ = subBuilder.buildPartial(); + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + elementaryStreams_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + elementaryStreams_.add(s); + break; } + case 42: + { + com.google.cloud.video.livestream.v1.SegmentSettings.Builder subBuilder = null; + if (segmentSettings_ != null) { + subBuilder = segmentSettings_.toBuilder(); + } + segmentSettings_ = + input.readMessage( + com.google.cloud.video.livestream.v1.SegmentSettings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segmentSettings_); + segmentSettings_ = 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,8 +128,7 @@ private MuxStream( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { elementaryStreams_ = elementaryStreams_.getUnmodifiableView(); @@ -114,27 +137,33 @@ private MuxStream( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_MuxStream_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_MuxStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.MuxStream.class, com.google.cloud.video.livestream.v1.MuxStream.Builder.class); + com.google.cloud.video.livestream.v1.MuxStream.class, + com.google.cloud.video.livestream.v1.MuxStream.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** + * + * *
    * A unique key for this multiplexed stream.
    * 
* * string key = 1; + * * @return The key. */ @java.lang.Override @@ -143,29 +172,29 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** + * + * *
    * A unique key for this multiplexed stream.
    * 
* * string key = 1; + * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -176,6 +205,8 @@ public java.lang.String getKey() { public static final int CONTAINER_FIELD_NUMBER = 3; private volatile java.lang.Object container_; /** + * + * *
    * The container format. The default is `fmp4`.
    * Supported container formats:
@@ -184,6 +215,7 @@ public java.lang.String getKey() {
    * 
* * string container = 3; + * * @return The container. */ @java.lang.Override @@ -192,14 +224,15 @@ public java.lang.String getContainer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); container_ = s; return s; } } /** + * + * *
    * The container format. The default is `fmp4`.
    * Supported container formats:
@@ -208,16 +241,15 @@ public java.lang.String getContainer() {
    * 
* * string container = 3; + * * @return The bytes for container. */ @java.lang.Override - public com.google.protobuf.ByteString - getContainerBytes() { + public com.google.protobuf.ByteString getContainerBytes() { java.lang.Object ref = container_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); container_ = b; return b; } else { @@ -228,6 +260,8 @@ public java.lang.String getContainer() { public static final int ELEMENTARY_STREAMS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList elementaryStreams_; /** + * + * *
    * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
    * stream.
@@ -237,13 +271,15 @@ public java.lang.String getContainer() {
    * 
* * repeated string elementary_streams = 4; + * * @return A list containing the elementaryStreams. */ - public com.google.protobuf.ProtocolStringList - getElementaryStreamsList() { + public com.google.protobuf.ProtocolStringList getElementaryStreamsList() { return elementaryStreams_; } /** + * + * *
    * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
    * stream.
@@ -253,12 +289,15 @@ public java.lang.String getContainer() {
    * 
* * repeated string elementary_streams = 4; + * * @return The count of elementaryStreams. */ public int getElementaryStreamsCount() { return elementaryStreams_.size(); } /** + * + * *
    * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
    * stream.
@@ -268,6 +307,7 @@ public int getElementaryStreamsCount() {
    * 
* * repeated string elementary_streams = 4; + * * @param index The index of the element to return. * @return The elementaryStreams at the given index. */ @@ -275,6 +315,8 @@ public java.lang.String getElementaryStreams(int index) { return elementaryStreams_.get(index); } /** + * + * *
    * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
    * stream.
@@ -284,22 +326,25 @@ public java.lang.String getElementaryStreams(int index) {
    * 
* * repeated string elementary_streams = 4; + * * @param index The index of the value to return. * @return The bytes of the elementaryStreams at the given index. */ - public com.google.protobuf.ByteString - getElementaryStreamsBytes(int index) { + public com.google.protobuf.ByteString getElementaryStreamsBytes(int index) { return elementaryStreams_.getByteString(index); } public static final int SEGMENT_SETTINGS_FIELD_NUMBER = 5; private com.google.cloud.video.livestream.v1.SegmentSettings segmentSettings_; /** + * + * *
    * Segment settings for `fmp4` and `ts`.
    * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; + * * @return Whether the segmentSettings field is set. */ @java.lang.Override @@ -307,18 +352,25 @@ public boolean hasSegmentSettings() { return segmentSettings_ != null; } /** + * + * *
    * Segment settings for `fmp4` and `ts`.
    * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; + * * @return The segmentSettings. */ @java.lang.Override public com.google.cloud.video.livestream.v1.SegmentSettings getSegmentSettings() { - return segmentSettings_ == null ? com.google.cloud.video.livestream.v1.SegmentSettings.getDefaultInstance() : segmentSettings_; + return segmentSettings_ == null + ? com.google.cloud.video.livestream.v1.SegmentSettings.getDefaultInstance() + : segmentSettings_; } /** + * + * *
    * Segment settings for `fmp4` and `ts`.
    * 
@@ -326,11 +378,13 @@ public com.google.cloud.video.livestream.v1.SegmentSettings getSegmentSettings() * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder getSegmentSettingsOrBuilder() { + public com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder + getSegmentSettingsOrBuilder() { return getSegmentSettings(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -342,8 +396,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(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } @@ -380,8 +433,7 @@ public int getSerializedSize() { size += 1 * getElementaryStreamsList().size(); } if (segmentSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getSegmentSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSegmentSettings()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -391,23 +443,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.MuxStream)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.MuxStream other = (com.google.cloud.video.livestream.v1.MuxStream) obj; + com.google.cloud.video.livestream.v1.MuxStream other = + (com.google.cloud.video.livestream.v1.MuxStream) obj; - if (!getKey() - .equals(other.getKey())) return false; - if (!getContainer() - .equals(other.getContainer())) return false; - if (!getElementaryStreamsList() - .equals(other.getElementaryStreamsList())) return false; + if (!getKey().equals(other.getKey())) return false; + if (!getContainer().equals(other.getContainer())) return false; + if (!getElementaryStreamsList().equals(other.getElementaryStreamsList())) return false; if (hasSegmentSettings() != other.hasSegmentSettings()) return false; if (hasSegmentSettings()) { - if (!getSegmentSettings() - .equals(other.getSegmentSettings())) return false; + if (!getSegmentSettings().equals(other.getSegmentSettings())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -437,118 +486,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.MuxStream parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.MuxStream parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.MuxStream parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.MuxStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.MuxStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.MuxStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.MuxStream parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.MuxStream parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.MuxStream parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.MuxStream parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.MuxStream parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.MuxStream parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.MuxStream parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.MuxStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.video.livestream.v1.MuxStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Multiplexing settings for output stream.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.MuxStream} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.MuxStream) com.google.cloud.video.livestream.v1.MuxStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_MuxStream_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_MuxStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.MuxStream.class, com.google.cloud.video.livestream.v1.MuxStream.Builder.class); + com.google.cloud.video.livestream.v1.MuxStream.class, + com.google.cloud.video.livestream.v1.MuxStream.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.MuxStream.newBuilder() @@ -556,16 +614,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 +642,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor; } @java.lang.Override @@ -606,7 +663,8 @@ public com.google.cloud.video.livestream.v1.MuxStream build() { @java.lang.Override public com.google.cloud.video.livestream.v1.MuxStream buildPartial() { - com.google.cloud.video.livestream.v1.MuxStream result = new com.google.cloud.video.livestream.v1.MuxStream(this); + com.google.cloud.video.livestream.v1.MuxStream result = + new com.google.cloud.video.livestream.v1.MuxStream(this); int from_bitField0_ = bitField0_; result.key_ = key_; result.container_ = container_; @@ -628,38 +686,39 @@ public com.google.cloud.video.livestream.v1.MuxStream buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.MuxStream) { - return mergeFrom((com.google.cloud.video.livestream.v1.MuxStream)other); + return mergeFrom((com.google.cloud.video.livestream.v1.MuxStream) other); } else { super.mergeFrom(other); return this; @@ -717,22 +776,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object key_ = ""; /** + * + * *
      * A unique key for this multiplexed stream.
      * 
* * string key = 1; + * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -741,20 +803,21 @@ public java.lang.String getKey() { } } /** + * + * *
      * A unique key for this multiplexed stream.
      * 
* * string key = 1; + * * @return The bytes for key. */ - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -762,54 +825,61 @@ public java.lang.String getKey() { } } /** + * + * *
      * A unique key for this multiplexed stream.
      * 
* * string key = 1; + * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey( - java.lang.String value) { + public Builder setKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** + * + * *
      * A unique key for this multiplexed stream.
      * 
* * string key = 1; + * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** + * + * *
      * A unique key for this multiplexed stream.
      * 
* * string key = 1; + * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; @@ -817,6 +887,8 @@ public Builder setKeyBytes( private java.lang.Object container_ = ""; /** + * + * *
      * The container format. The default is `fmp4`.
      * Supported container formats:
@@ -825,13 +897,13 @@ public Builder setKeyBytes(
      * 
* * string container = 3; + * * @return The container. */ public java.lang.String getContainer() { java.lang.Object ref = container_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); container_ = s; return s; @@ -840,6 +912,8 @@ public java.lang.String getContainer() { } } /** + * + * *
      * The container format. The default is `fmp4`.
      * Supported container formats:
@@ -848,15 +922,14 @@ public java.lang.String getContainer() {
      * 
* * string container = 3; + * * @return The bytes for container. */ - public com.google.protobuf.ByteString - getContainerBytes() { + public com.google.protobuf.ByteString getContainerBytes() { java.lang.Object ref = container_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); container_ = b; return b; } else { @@ -864,6 +937,8 @@ public java.lang.String getContainer() { } } /** + * + * *
      * The container format. The default is `fmp4`.
      * Supported container formats:
@@ -872,20 +947,22 @@ public java.lang.String getContainer() {
      * 
* * string container = 3; + * * @param value The container to set. * @return This builder for chaining. */ - public Builder setContainer( - java.lang.String value) { + public Builder setContainer(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + container_ = value; onChanged(); return this; } /** + * + * *
      * The container format. The default is `fmp4`.
      * Supported container formats:
@@ -894,15 +971,18 @@ public Builder setContainer(
      * 
* * string container = 3; + * * @return This builder for chaining. */ public Builder clearContainer() { - + container_ = getDefaultInstance().getContainer(); onChanged(); return this; } /** + * + * *
      * The container format. The default is `fmp4`.
      * Supported container formats:
@@ -911,29 +991,33 @@ public Builder clearContainer() {
      * 
* * string container = 3; + * * @param value The bytes for container to set. * @return This builder for chaining. */ - public Builder setContainerBytes( - com.google.protobuf.ByteString value) { + public Builder setContainerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + container_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList elementaryStreams_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList elementaryStreams_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureElementaryStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { elementaryStreams_ = new com.google.protobuf.LazyStringArrayList(elementaryStreams_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -943,13 +1027,15 @@ private void ensureElementaryStreamsIsMutable() {
      * 
* * repeated string elementary_streams = 4; + * * @return A list containing the elementaryStreams. */ - public com.google.protobuf.ProtocolStringList - getElementaryStreamsList() { + public com.google.protobuf.ProtocolStringList getElementaryStreamsList() { return elementaryStreams_.getUnmodifiableView(); } /** + * + * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -959,12 +1045,15 @@ private void ensureElementaryStreamsIsMutable() {
      * 
* * repeated string elementary_streams = 4; + * * @return The count of elementaryStreams. */ public int getElementaryStreamsCount() { return elementaryStreams_.size(); } /** + * + * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -974,6 +1063,7 @@ public int getElementaryStreamsCount() {
      * 
* * repeated string elementary_streams = 4; + * * @param index The index of the element to return. * @return The elementaryStreams at the given index. */ @@ -981,6 +1071,8 @@ public java.lang.String getElementaryStreams(int index) { return elementaryStreams_.get(index); } /** + * + * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -990,14 +1082,16 @@ public java.lang.String getElementaryStreams(int index) {
      * 
* * repeated string elementary_streams = 4; + * * @param index The index of the value to return. * @return The bytes of the elementaryStreams at the given index. */ - public com.google.protobuf.ByteString - getElementaryStreamsBytes(int index) { + public com.google.protobuf.ByteString getElementaryStreamsBytes(int index) { return elementaryStreams_.getByteString(index); } /** + * + * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -1007,21 +1101,23 @@ public java.lang.String getElementaryStreams(int index) {
      * 
* * repeated string elementary_streams = 4; + * * @param index The index to set the value at. * @param value The elementaryStreams to set. * @return This builder for chaining. */ - public Builder setElementaryStreams( - int index, java.lang.String value) { + public Builder setElementaryStreams(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureElementaryStreamsIsMutable(); + throw new NullPointerException(); + } + ensureElementaryStreamsIsMutable(); elementaryStreams_.set(index, value); onChanged(); return this; } /** + * + * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -1031,20 +1127,22 @@ public Builder setElementaryStreams(
      * 
* * repeated string elementary_streams = 4; + * * @param value The elementaryStreams to add. * @return This builder for chaining. */ - public Builder addElementaryStreams( - java.lang.String value) { + public Builder addElementaryStreams(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureElementaryStreamsIsMutable(); + throw new NullPointerException(); + } + ensureElementaryStreamsIsMutable(); elementaryStreams_.add(value); onChanged(); return this; } /** + * + * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -1054,18 +1152,19 @@ public Builder addElementaryStreams(
      * 
* * repeated string elementary_streams = 4; + * * @param values The elementaryStreams to add. * @return This builder for chaining. */ - public Builder addAllElementaryStreams( - java.lang.Iterable values) { + public Builder addAllElementaryStreams(java.lang.Iterable values) { ensureElementaryStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, elementaryStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, elementaryStreams_); onChanged(); return this; } /** + * + * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -1075,6 +1174,7 @@ public Builder addAllElementaryStreams(
      * 
* * repeated string elementary_streams = 4; + * * @return This builder for chaining. */ public Builder clearElementaryStreams() { @@ -1084,6 +1184,8 @@ public Builder clearElementaryStreams() { return this; } /** + * + * *
      * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
      * stream.
@@ -1093,15 +1195,15 @@ public Builder clearElementaryStreams() {
      * 
* * repeated string elementary_streams = 4; + * * @param value The bytes of the elementaryStreams to add. * @return This builder for chaining. */ - public Builder addElementaryStreamsBytes( - com.google.protobuf.ByteString value) { + public Builder addElementaryStreamsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureElementaryStreamsIsMutable(); elementaryStreams_.add(value); onChanged(); @@ -1110,34 +1212,47 @@ public Builder addElementaryStreamsBytes( private com.google.cloud.video.livestream.v1.SegmentSettings segmentSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.SegmentSettings, com.google.cloud.video.livestream.v1.SegmentSettings.Builder, com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder> segmentSettingsBuilder_; + com.google.cloud.video.livestream.v1.SegmentSettings, + com.google.cloud.video.livestream.v1.SegmentSettings.Builder, + com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder> + segmentSettingsBuilder_; /** + * + * *
      * Segment settings for `fmp4` and `ts`.
      * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; + * * @return Whether the segmentSettings field is set. */ public boolean hasSegmentSettings() { return segmentSettingsBuilder_ != null || segmentSettings_ != null; } /** + * + * *
      * Segment settings for `fmp4` and `ts`.
      * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; + * * @return The segmentSettings. */ public com.google.cloud.video.livestream.v1.SegmentSettings getSegmentSettings() { if (segmentSettingsBuilder_ == null) { - return segmentSettings_ == null ? com.google.cloud.video.livestream.v1.SegmentSettings.getDefaultInstance() : segmentSettings_; + return segmentSettings_ == null + ? com.google.cloud.video.livestream.v1.SegmentSettings.getDefaultInstance() + : segmentSettings_; } else { return segmentSettingsBuilder_.getMessage(); } } /** + * + * *
      * Segment settings for `fmp4` and `ts`.
      * 
@@ -1158,6 +1273,8 @@ public Builder setSegmentSettings(com.google.cloud.video.livestream.v1.SegmentSe return this; } /** + * + * *
      * Segment settings for `fmp4` and `ts`.
      * 
@@ -1176,17 +1293,22 @@ public Builder setSegmentSettings( return this; } /** + * + * *
      * Segment settings for `fmp4` and `ts`.
      * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; */ - public Builder mergeSegmentSettings(com.google.cloud.video.livestream.v1.SegmentSettings value) { + public Builder mergeSegmentSettings( + com.google.cloud.video.livestream.v1.SegmentSettings value) { if (segmentSettingsBuilder_ == null) { if (segmentSettings_ != null) { segmentSettings_ = - com.google.cloud.video.livestream.v1.SegmentSettings.newBuilder(segmentSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.video.livestream.v1.SegmentSettings.newBuilder(segmentSettings_) + .mergeFrom(value) + .buildPartial(); } else { segmentSettings_ = value; } @@ -1198,6 +1320,8 @@ public Builder mergeSegmentSettings(com.google.cloud.video.livestream.v1.Segment return this; } /** + * + * *
      * Segment settings for `fmp4` and `ts`.
      * 
@@ -1216,33 +1340,42 @@ public Builder clearSegmentSettings() { return this; } /** + * + * *
      * Segment settings for `fmp4` and `ts`.
      * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; */ - public com.google.cloud.video.livestream.v1.SegmentSettings.Builder getSegmentSettingsBuilder() { - + public com.google.cloud.video.livestream.v1.SegmentSettings.Builder + getSegmentSettingsBuilder() { + onChanged(); return getSegmentSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Segment settings for `fmp4` and `ts`.
      * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; */ - public com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder getSegmentSettingsOrBuilder() { + public com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder + getSegmentSettingsOrBuilder() { if (segmentSettingsBuilder_ != null) { return segmentSettingsBuilder_.getMessageOrBuilder(); } else { - return segmentSettings_ == null ? - com.google.cloud.video.livestream.v1.SegmentSettings.getDefaultInstance() : segmentSettings_; + return segmentSettings_ == null + ? com.google.cloud.video.livestream.v1.SegmentSettings.getDefaultInstance() + : segmentSettings_; } } /** + * + * *
      * Segment settings for `fmp4` and `ts`.
      * 
@@ -1250,21 +1383,24 @@ public com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder getSegmentS * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.SegmentSettings, com.google.cloud.video.livestream.v1.SegmentSettings.Builder, com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder> + com.google.cloud.video.livestream.v1.SegmentSettings, + com.google.cloud.video.livestream.v1.SegmentSettings.Builder, + com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder> getSegmentSettingsFieldBuilder() { if (segmentSettingsBuilder_ == null) { - segmentSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.SegmentSettings, com.google.cloud.video.livestream.v1.SegmentSettings.Builder, com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder>( - getSegmentSettings(), - getParentForChildren(), - isClean()); + segmentSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.SegmentSettings, + com.google.cloud.video.livestream.v1.SegmentSettings.Builder, + com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder>( + getSegmentSettings(), getParentForChildren(), isClean()); segmentSettings_ = null; } return segmentSettingsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1274,12 +1410,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.MuxStream) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.MuxStream) private static final com.google.cloud.video.livestream.v1.MuxStream DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.MuxStream(); } @@ -1288,16 +1424,16 @@ public static com.google.cloud.video.livestream.v1.MuxStream getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MuxStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MuxStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MuxStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MuxStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1312,6 +1448,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.MuxStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStreamOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStreamOrBuilder.java similarity index 79% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStreamOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStreamOrBuilder.java index 34e045c..c53292f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStreamOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/MuxStreamOrBuilder.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/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; -public interface MuxStreamOrBuilder extends +public interface MuxStreamOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.MuxStream) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A unique key for this multiplexed stream.
    * 
* * string key = 1; + * * @return The key. */ java.lang.String getKey(); /** + * + * *
    * A unique key for this multiplexed stream.
    * 
* * string key = 1; + * * @return The bytes for key. */ - com.google.protobuf.ByteString - getKeyBytes(); + com.google.protobuf.ByteString getKeyBytes(); /** + * + * *
    * The container format. The default is `fmp4`.
    * Supported container formats:
@@ -36,10 +59,13 @@ public interface MuxStreamOrBuilder extends
    * 
* * string container = 3; + * * @return The container. */ java.lang.String getContainer(); /** + * + * *
    * The container format. The default is `fmp4`.
    * Supported container formats:
@@ -48,12 +74,14 @@ public interface MuxStreamOrBuilder extends
    * 
* * string container = 3; + * * @return The bytes for container. */ - com.google.protobuf.ByteString - getContainerBytes(); + com.google.protobuf.ByteString getContainerBytes(); /** + * + * *
    * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
    * stream.
@@ -63,11 +91,13 @@ public interface MuxStreamOrBuilder extends
    * 
* * repeated string elementary_streams = 4; + * * @return A list containing the elementaryStreams. */ - java.util.List - getElementaryStreamsList(); + java.util.List getElementaryStreamsList(); /** + * + * *
    * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
    * stream.
@@ -77,10 +107,13 @@ public interface MuxStreamOrBuilder extends
    * 
* * repeated string elementary_streams = 4; + * * @return The count of elementaryStreams. */ int getElementaryStreamsCount(); /** + * + * *
    * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
    * stream.
@@ -90,11 +123,14 @@ public interface MuxStreamOrBuilder extends
    * 
* * repeated string elementary_streams = 4; + * * @param index The index of the element to return. * @return The elementaryStreams at the given index. */ java.lang.String getElementaryStreams(int index); /** + * + * *
    * List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this
    * stream.
@@ -104,31 +140,39 @@ public interface MuxStreamOrBuilder extends
    * 
* * repeated string elementary_streams = 4; + * * @param index The index of the value to return. * @return The bytes of the elementaryStreams at the given index. */ - com.google.protobuf.ByteString - getElementaryStreamsBytes(int index); + com.google.protobuf.ByteString getElementaryStreamsBytes(int index); /** + * + * *
    * Segment settings for `fmp4` and `ts`.
    * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; + * * @return Whether the segmentSettings field is set. */ boolean hasSegmentSettings(); /** + * + * *
    * Segment settings for `fmp4` and `ts`.
    * 
* * .google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5; + * * @return The segmentSettings. */ com.google.cloud.video.livestream.v1.SegmentSettings getSegmentSettings(); /** + * + * *
    * Segment settings for `fmp4` and `ts`.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadata.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadata.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadata.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadata.java index f3204c0..09e95b8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadata.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadata.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.OperationMetadata} */ -public final class OperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.OperationMetadata) OperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationMetadata() { target_ = ""; verb_ = ""; @@ -27,16 +45,15 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,62 +72,69 @@ private OperationMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + target_ = s; + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - target_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; - } - case 40: { - - requestedCancellation_ = input.readBool(); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + verb_ = s; + break; + } + case 40: + { + requestedCancellation_ = input.readBool(); + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + apiVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,34 +142,40 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.OperationMetadata.class, com.google.cloud.video.livestream.v1.OperationMetadata.Builder.class); + com.google.cloud.video.livestream.v1.OperationMetadata.class, + com.google.cloud.video.livestream.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -153,11 +183,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -165,11 +199,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -179,11 +216,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -191,11 +232,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -203,11 +248,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -217,11 +265,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ @java.lang.Override @@ -230,29 +281,29 @@ public java.lang.String getTarget() { 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(); target_ = s; return s; } } /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -263,11 +314,14 @@ public java.lang.String getTarget() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ @java.lang.Override @@ -276,29 +330,29 @@ public java.lang.String getVerb() { 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(); verb_ = s; return s; } } /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; 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); verb_ = b; return b; } else { @@ -309,6 +363,8 @@ public java.lang.String getVerb() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 5; private boolean requestedCancellation_; /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -318,6 +374,7 @@ public java.lang.String getVerb() {
    * 
* * bool requested_cancellation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -328,11 +385,14 @@ public boolean getRequestedCancellation() { public static final int API_VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object apiVersion_; /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ @java.lang.Override @@ -341,29 +401,29 @@ public java.lang.String getApiVersion() { 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(); apiVersion_ = s; return s; } } /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; 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); apiVersion_ = b; return b; } else { @@ -372,6 +432,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -383,8 +444,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 (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -413,12 +473,10 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } 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(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -427,8 +485,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, verb_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, apiVersion_); @@ -441,31 +498,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.OperationMetadata other = (com.google.cloud.video.livestream.v1.OperationMetadata) obj; + com.google.cloud.video.livestream.v1.OperationMetadata other = + (com.google.cloud.video.livestream.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getVerb() - .equals(other.getVerb())) return false; - if (getRequestedCancellation() - != other.getRequestedCancellation()) return false; - if (!getApiVersion() - .equals(other.getApiVersion())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (!getTarget().equals(other.getTarget())) return false; + if (!getVerb().equals(other.getVerb())) return false; + if (getRequestedCancellation() != other.getRequestedCancellation()) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -490,8 +542,7 @@ public int hashCode() { hash = (37 * hash) + VERB_FIELD_NUMBER; hash = (53 * hash) + getVerb().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -500,117 +551,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.OperationMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.OperationMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.OperationMetadata) com.google.cloud.video.livestream.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.OperationMetadata.class, com.google.cloud.video.livestream.v1.OperationMetadata.Builder.class); + com.google.cloud.video.livestream.v1.OperationMetadata.class, + com.google.cloud.video.livestream.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.OperationMetadata.newBuilder() @@ -618,16 +679,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(); @@ -655,9 +715,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -676,7 +736,8 @@ public com.google.cloud.video.livestream.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.video.livestream.v1.OperationMetadata buildPartial() { - com.google.cloud.video.livestream.v1.OperationMetadata result = new com.google.cloud.video.livestream.v1.OperationMetadata(this); + com.google.cloud.video.livestream.v1.OperationMetadata result = + new com.google.cloud.video.livestream.v1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -699,38 +760,39 @@ public com.google.cloud.video.livestream.v1.OperationMetadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.video.livestream.v1.OperationMetadata)other); + return mergeFrom((com.google.cloud.video.livestream.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -738,7 +800,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.OperationMetadata other) { - if (other == com.google.cloud.video.livestream.v1.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.OperationMetadata.getDefaultInstance()) + return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -779,7 +842,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -791,39 +855,58 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -839,14 +922,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -857,17 +943,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -879,11 +969,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -897,48 +991,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -946,24 +1056,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -974,11 +1095,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -994,14 +1118,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -1012,17 +1138,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1034,11 +1163,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -1052,48 +1184,59 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1101,18 +1244,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; 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(); target_ = s; return s; @@ -1121,20 +1266,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -1142,54 +1288,61 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { + public Builder setTarget(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1197,18 +1350,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; 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(); verb_ = s; return s; @@ -1217,20 +1372,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; 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); verb_ = b; return b; } else { @@ -1238,61 +1394,70 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { + public Builder setVerb(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { + public Builder setVerbBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; } - private boolean requestedCancellation_ ; + private boolean requestedCancellation_; /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1302,6 +1467,7 @@ public Builder setVerbBytes(
      * 
* * bool requested_cancellation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -1309,6 +1475,8 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1318,16 +1486,19 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The requestedCancellation to set. * @return This builder for chaining. */ public Builder setRequestedCancellation(boolean value) { - + requestedCancellation_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1337,10 +1508,11 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1348,18 +1520,20 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; 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(); apiVersion_ = s; return s; @@ -1368,20 +1542,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; 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); apiVersion_ = b; return b; } else { @@ -1389,61 +1564,68 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion( - java.lang.String value) { + public Builder setApiVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = 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); } @@ -1453,12 +1635,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.OperationMetadata) private static final com.google.cloud.video.livestream.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.OperationMetadata(); } @@ -1467,16 +1649,16 @@ public static com.google.cloud.video.livestream.v1.OperationMetadata getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OperationMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1491,6 +1673,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadataOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadataOrBuilder.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadataOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadataOrBuilder.java index 134686e..bc89842 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadataOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OperationMetadataOrBuilder.java @@ -1,107 +1,157 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -111,27 +161,33 @@ public interface OperationMetadataOrBuilder extends
    * 
* * bool requested_cancellation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); } diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java new file mode 100644 index 0000000..c38030c --- /dev/null +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java @@ -0,0 +1,316 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/video/livestream/v1/outputs.proto + +package com.google.cloud.video.livestream.v1; + +public final class OutputsProto { + private OutputsProto() {} + + 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_video_livestream_v1_ElementaryStream_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_ElementaryStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_MuxStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Manifest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Manifest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_SpriteSheet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_VideoStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_AudioStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_TextStream_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_TextStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_SegmentSettings_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/video/livestream/v1/outpu" + + "ts.proto\022 google.cloud.video.livestream." + + "v1\032\037google/api/field_behavior.proto\032\036goo" + + "gle/protobuf/duration.proto\"\207\002\n\020Elementa" + + "ryStream\022\013\n\003key\030\004 \001(\t\022E\n\014video_stream\030\001 " + + "\001(\0132-.google.cloud.video.livestream.v1.V" + + "ideoStreamH\000\022E\n\014audio_stream\030\002 \001(\0132-.goo" + + "gle.cloud.video.livestream.v1.AudioStrea" + + "mH\000\022C\n\013text_stream\030\003 \001(\0132,.google.cloud." + + "video.livestream.v1.TextStreamH\000B\023\n\021elem" + + "entary_stream\"\224\001\n\tMuxStream\022\013\n\003key\030\001 \001(\t" + + "\022\021\n\tcontainer\030\003 \001(\t\022\032\n\022elementary_stream" + + "s\030\004 \003(\t\022K\n\020segment_settings\030\005 \001(\01321.goog" + + "le.cloud.video.livestream.v1.SegmentSett" + + "ings\"\232\002\n\010Manifest\022\021\n\tfile_name\030\001 \001(\t\022J\n\004" + + "type\030\002 \001(\01627.google.cloud.video.livestre" + + "am.v1.Manifest.ManifestTypeB\003\340A\002\022\030\n\013mux_" + + "streams\030\003 \003(\tB\003\340A\002\022\031\n\021max_segment_count\030" + + "\004 \001(\005\0228\n\025segment_keep_duration\030\005 \001(\0132\031.g" + + "oogle.protobuf.Duration\"@\n\014ManifestType\022" + + "\035\n\031MANIFEST_TYPE_UNSPECIFIED\020\000\022\007\n\003HLS\020\001\022" + + "\010\n\004DASH\020\002\"\343\001\n\013SpriteSheet\022\016\n\006format\030\001 \001(" + + "\t\022\030\n\013file_prefix\030\002 \001(\tB\003\340A\002\022 \n\023sprite_wi" + + "dth_pixels\030\003 \001(\005B\003\340A\002\022!\n\024sprite_height_p" + + "ixels\030\004 \001(\005B\003\340A\002\022\024\n\014column_count\030\005 \001(\005\022\021" + + "\n\trow_count\030\006 \001(\005\022+\n\010interval\030\007 \001(\0132\031.go" + + "ogle.protobuf.Duration\022\017\n\007quality\030\010 \001(\005\"" + + "\342\002\n\023PreprocessingConfig\022H\n\004crop\030\002 \001(\0132:." + + "google.cloud.video.livestream.v1.Preproc" + + "essingConfig.Crop\022F\n\003pad\030\003 \001(\01329.google." + + "cloud.video.livestream.v1.PreprocessingC" + + "onfig.Pad\032\\\n\004Crop\022\022\n\ntop_pixels\030\001 \001(\005\022\025\n" + + "\rbottom_pixels\030\002 \001(\005\022\023\n\013left_pixels\030\003 \001(" + + "\005\022\024\n\014right_pixels\030\004 \001(\005\032[\n\003Pad\022\022\n\ntop_pi" + + "xels\030\001 \001(\005\022\025\n\rbottom_pixels\030\002 \001(\005\022\023\n\013lef" + + "t_pixels\030\003 \001(\005\022\024\n\014right_pixels\030\004 \001(\005\"\377\003\n" + + "\013VideoStream\022O\n\004h264\030\024 \001(\0132?.google.clou" + + "d.video.livestream.v1.VideoStream.H264Co" + + "decSettingsH\000\032\214\003\n\021H264CodecSettings\022\024\n\014w" + + "idth_pixels\030\001 \001(\005\022\025\n\rheight_pixels\030\002 \001(\005" + + "\022\027\n\nframe_rate\030\003 \001(\001B\003\340A\002\022\030\n\013bitrate_bps" + + "\030\004 \001(\005B\003\340A\002\022\026\n\016allow_open_gop\030\006 \001(\010\022\031\n\017g" + + "op_frame_count\030\007 \001(\005H\000\0221\n\014gop_duration\030\010" + + " \001(\0132\031.google.protobuf.DurationH\000\022\025\n\rvbv" + + "_size_bits\030\t \001(\005\022\031\n\021vbv_fullness_bits\030\n " + + "\001(\005\022\025\n\rentropy_coder\030\013 \001(\t\022\021\n\tb_pyramid\030" + + "\014 \001(\010\022\025\n\rb_frame_count\030\r \001(\005\022\023\n\013aq_stren" + + "gth\030\016 \001(\001\022\017\n\007profile\030\017 \001(\t\022\014\n\004tune\030\020 \001(\t" + + "B\n\n\010gop_modeB\020\n\016codec_settings\"\332\002\n\013Audio" + + "Stream\022\020\n\010transmux\030\010 \001(\010\022\r\n\005codec\030\001 \001(\t\022" + + "\030\n\013bitrate_bps\030\002 \001(\005B\003\340A\002\022\025\n\rchannel_cou" + + "nt\030\003 \001(\005\022\026\n\016channel_layout\030\004 \003(\t\022K\n\007mapp" + + "ing\030\005 \003(\0132:.google.cloud.video.livestrea" + + "m.v1.AudioStream.AudioMapping\022\031\n\021sample_" + + "rate_hertz\030\006 \001(\005\032y\n\014AudioMapping\022\026\n\tinpu" + + "t_key\030\006 \001(\tB\003\340A\002\022\030\n\013input_track\030\002 \001(\005B\003\340" + + "A\002\022\032\n\rinput_channel\030\003 \001(\005B\003\340A\002\022\033\n\016output" + + "_channel\030\004 \001(\005B\003\340A\002\" \n\nTextStream\022\022\n\005cod" + + "ec\030\001 \001(\tB\003\340A\002\"F\n\017SegmentSettings\0223\n\020segm" + + "ent_duration\030\001 \001(\0132\031.google.protobuf.Dur" + + "ationB\357\001\n$com.google.cloud.video.livestr" + + "eam.v1B\014OutputsProtoP\001ZJgoogle.golang.or" + + "g/genproto/googleapis/cloud/video/livest" + + "ream/v1;livestream\252\002 Google.Cloud.Video." + + "LiveStream.V1\312\002 Google\\Cloud\\Video\\LiveS" + + "tream\\V1\352\002$Google::Cloud::Video::LiveStr" + + "eam::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + }); + internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_video_livestream_v1_ElementaryStream_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_ElementaryStream_descriptor, + new java.lang.String[] { + "Key", "VideoStream", "AudioStream", "TextStream", "ElementaryStream", + }); + internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_video_livestream_v1_MuxStream_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_MuxStream_descriptor, + new java.lang.String[] { + "Key", "Container", "ElementaryStreams", "SegmentSettings", + }); + internal_static_google_cloud_video_livestream_v1_Manifest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_video_livestream_v1_Manifest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Manifest_descriptor, + new java.lang.String[] { + "FileName", "Type", "MuxStreams", "MaxSegmentCount", "SegmentKeepDuration", + }); + internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_video_livestream_v1_SpriteSheet_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor, + new java.lang.String[] { + "Format", + "FilePrefix", + "SpriteWidthPixels", + "SpriteHeightPixels", + "ColumnCount", + "RowCount", + "Interval", + "Quality", + }); + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor, + new java.lang.String[] { + "Crop", "Pad", + }); + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor = + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor, + new java.lang.String[] { + "TopPixels", "BottomPixels", "LeftPixels", "RightPixels", + }); + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor = + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor, + new java.lang.String[] { + "TopPixels", "BottomPixels", "LeftPixels", "RightPixels", + }); + internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_video_livestream_v1_VideoStream_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor, + new java.lang.String[] { + "H264", "CodecSettings", + }); + internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor = + internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor, + new java.lang.String[] { + "WidthPixels", + "HeightPixels", + "FrameRate", + "BitrateBps", + "AllowOpenGop", + "GopFrameCount", + "GopDuration", + "VbvSizeBits", + "VbvFullnessBits", + "EntropyCoder", + "BPyramid", + "BFrameCount", + "AqStrength", + "Profile", + "Tune", + "GopMode", + }); + internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_video_livestream_v1_AudioStream_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor, + new java.lang.String[] { + "Transmux", + "Codec", + "BitrateBps", + "ChannelCount", + "ChannelLayout", + "Mapping", + "SampleRateHertz", + }); + internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor = + internal_static_google_cloud_video_livestream_v1_AudioStream_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_AudioStream_AudioMapping_descriptor, + new java.lang.String[] { + "InputKey", "InputTrack", "InputChannel", "OutputChannel", + }); + internal_static_google_cloud_video_livestream_v1_TextStream_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_video_livestream_v1_TextStream_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_TextStream_descriptor, + new java.lang.String[] { + "Codec", + }); + internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_video_livestream_v1_SegmentSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor, + new java.lang.String[] { + "SegmentDuration", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfig.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfig.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfig.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfig.java index 0b2d3de..a997dbb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfig.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfig.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/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Preprocessing configurations.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.PreprocessingConfig} */ -public final class PreprocessingConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PreprocessingConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.PreprocessingConfig) PreprocessingConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PreprocessingConfig.newBuilder() to construct. private PreprocessingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PreprocessingConfig() { - } + + private PreprocessingConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PreprocessingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PreprocessingConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,49 @@ private PreprocessingConfig( case 0: done = true; break; - case 18: { - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder subBuilder = null; - if (crop_ != null) { - subBuilder = crop_.toBuilder(); - } - crop_ = input.readMessage(com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(crop_); - crop_ = subBuilder.buildPartial(); - } + case 18: + { + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder subBuilder = + null; + if (crop_ != null) { + subBuilder = crop_.toBuilder(); + } + crop_ = + input.readMessage( + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(crop_); + crop_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder subBuilder = null; - if (pad_ != null) { - subBuilder = pad_.toBuilder(); - } - pad_ = input.readMessage(com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(pad_); - pad_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder subBuilder = + null; + if (pad_ != null) { + subBuilder = pad_.toBuilder(); + } + pad_ = + input.readMessage( + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(pad_); + pad_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,71 +118,88 @@ private PreprocessingConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.PreprocessingConfig.class, com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder.class); + com.google.cloud.video.livestream.v1.PreprocessingConfig.class, + com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder.class); } - public interface CropOrBuilder extends + public interface CropOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.PreprocessingConfig.Crop) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The number of pixels to crop from the top. The default is 0.
      * 
* * int32 top_pixels = 1; + * * @return The topPixels. */ int getTopPixels(); /** + * + * *
      * The number of pixels to crop from the bottom. The default is 0.
      * 
* * int32 bottom_pixels = 2; + * * @return The bottomPixels. */ int getBottomPixels(); /** + * + * *
      * The number of pixels to crop from the left. The default is 0.
      * 
* * int32 left_pixels = 3; + * * @return The leftPixels. */ int getLeftPixels(); /** + * + * *
      * The number of pixels to crop from the right. The default is 0.
      * 
* * int32 right_pixels = 4; + * * @return The rightPixels. */ int getRightPixels(); } /** + * + * *
    * Video cropping configuration for the input video. The cropped input video
    * is scaled to match the output resolution.
@@ -164,30 +207,29 @@ public interface CropOrBuilder extends
    *
    * Protobuf type {@code google.cloud.video.livestream.v1.PreprocessingConfig.Crop}
    */
-  public static final class Crop extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Crop extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.PreprocessingConfig.Crop)
       CropOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Crop.newBuilder() to construct.
     private Crop(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private Crop() {
-    }
+
+    private Crop() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Crop();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Crop(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -206,33 +248,33 @@ private Crop(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              topPixels_ = input.readInt32();
-              break;
-            }
-            case 16: {
-
-              bottomPixels_ = input.readInt32();
-              break;
-            }
-            case 24: {
-
-              leftPixels_ = input.readInt32();
-              break;
-            }
-            case 32: {
-
-              rightPixels_ = input.readInt32();
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 8:
+              {
+                topPixels_ = input.readInt32();
+                break;
+              }
+            case 16:
+              {
+                bottomPixels_ = input.readInt32();
+                break;
+              }
+            case 24:
+              {
+                leftPixels_ = input.readInt32();
+                break;
+              }
+            case 32:
+              {
+                rightPixels_ = input.readInt32();
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -240,34 +282,39 @@ private Crop(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.video.livestream.v1.OutputsProto
+          .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_fieldAccessorTable
+      return com.google.cloud.video.livestream.v1.OutputsProto
+          .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.class, com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder.class);
+              com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.class,
+              com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder.class);
     }
 
     public static final int TOP_PIXELS_FIELD_NUMBER = 1;
     private int topPixels_;
     /**
+     *
+     *
      * 
      * The number of pixels to crop from the top. The default is 0.
      * 
* * int32 top_pixels = 1; + * * @return The topPixels. */ @java.lang.Override @@ -278,11 +325,14 @@ public int getTopPixels() { public static final int BOTTOM_PIXELS_FIELD_NUMBER = 2; private int bottomPixels_; /** + * + * *
      * The number of pixels to crop from the bottom. The default is 0.
      * 
* * int32 bottom_pixels = 2; + * * @return The bottomPixels. */ @java.lang.Override @@ -293,11 +343,14 @@ public int getBottomPixels() { public static final int LEFT_PIXELS_FIELD_NUMBER = 3; private int leftPixels_; /** + * + * *
      * The number of pixels to crop from the left. The default is 0.
      * 
* * int32 left_pixels = 3; + * * @return The leftPixels. */ @java.lang.Override @@ -308,11 +361,14 @@ public int getLeftPixels() { public static final int RIGHT_PIXELS_FIELD_NUMBER = 4; private int rightPixels_; /** + * + * *
      * The number of pixels to crop from the right. The default is 0.
      * 
* * int32 right_pixels = 4; + * * @return The rightPixels. */ @java.lang.Override @@ -321,6 +377,7 @@ public int getRightPixels() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -332,8 +389,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 (topPixels_ != 0) { output.writeInt32(1, topPixels_); } @@ -356,20 +412,16 @@ public int getSerializedSize() { size = 0; if (topPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, topPixels_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, topPixels_); } if (bottomPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, bottomPixels_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, bottomPixels_); } if (leftPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, leftPixels_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, leftPixels_); } if (rightPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, rightPixels_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, rightPixels_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -379,21 +431,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop other = (com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop) obj; + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop other = + (com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop) obj; - if (getTopPixels() - != other.getTopPixels()) return false; - if (getBottomPixels() - != other.getBottomPixels()) return false; - if (getLeftPixels() - != other.getLeftPixels()) return false; - if (getRightPixels() - != other.getRightPixels()) return false; + if (getTopPixels() != other.getTopPixels()) return false; + if (getBottomPixels() != other.getBottomPixels()) return false; + if (getLeftPixels() != other.getLeftPixels()) return false; + if (getRightPixels() != other.getRightPixels()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -419,87 +468,94 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -509,6 +565,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Video cropping configuration for the input video. The cropped input video
      * is scaled to match the output resolution.
@@ -516,21 +574,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.video.livestream.v1.PreprocessingConfig.Crop}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.PreprocessingConfig.Crop)
         com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.video.livestream.v1.OutputsProto
+            .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_fieldAccessorTable
+        return com.google.cloud.video.livestream.v1.OutputsProto
+            .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.class, com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder.class);
+                com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.class,
+                com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder.class);
       }
 
       // Construct using com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.newBuilder()
@@ -538,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();
@@ -563,13 +623,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.video.livestream.v1.OutputsProto
+            .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Crop_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop getDefaultInstanceForType() {
+      public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop
+          getDefaultInstanceForType() {
         return com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance();
       }
 
@@ -584,7 +645,8 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop build() {
 
       @java.lang.Override
       public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop buildPartial() {
-        com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop result = new com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop(this);
+        com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop result =
+            new com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop(this);
         result.topPixels_ = topPixels_;
         result.bottomPixels_ = bottomPixels_;
         result.leftPixels_ = leftPixels_;
@@ -597,46 +659,52 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop buildPartia
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop) {
-          return mergeFrom((com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop)other);
+          return mergeFrom((com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop other) {
-        if (other == com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop other) {
+        if (other
+            == com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance())
+          return this;
         if (other.getTopPixels() != 0) {
           setTopPixels(other.getTopPixels());
         }
@@ -668,7 +736,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -678,13 +748,16 @@ public Builder mergeFrom(
         return this;
       }
 
-      private int topPixels_ ;
+      private int topPixels_;
       /**
+       *
+       *
        * 
        * The number of pixels to crop from the top. The default is 0.
        * 
* * int32 top_pixels = 1; + * * @return The topPixels. */ @java.lang.Override @@ -692,42 +765,51 @@ public int getTopPixels() { return topPixels_; } /** + * + * *
        * The number of pixels to crop from the top. The default is 0.
        * 
* * int32 top_pixels = 1; + * * @param value The topPixels to set. * @return This builder for chaining. */ public Builder setTopPixels(int value) { - + topPixels_ = value; onChanged(); return this; } /** + * + * *
        * The number of pixels to crop from the top. The default is 0.
        * 
* * int32 top_pixels = 1; + * * @return This builder for chaining. */ public Builder clearTopPixels() { - + topPixels_ = 0; onChanged(); return this; } - private int bottomPixels_ ; + private int bottomPixels_; /** + * + * *
        * The number of pixels to crop from the bottom. The default is 0.
        * 
* * int32 bottom_pixels = 2; + * * @return The bottomPixels. */ @java.lang.Override @@ -735,42 +817,51 @@ public int getBottomPixels() { return bottomPixels_; } /** + * + * *
        * The number of pixels to crop from the bottom. The default is 0.
        * 
* * int32 bottom_pixels = 2; + * * @param value The bottomPixels to set. * @return This builder for chaining. */ public Builder setBottomPixels(int value) { - + bottomPixels_ = value; onChanged(); return this; } /** + * + * *
        * The number of pixels to crop from the bottom. The default is 0.
        * 
* * int32 bottom_pixels = 2; + * * @return This builder for chaining. */ public Builder clearBottomPixels() { - + bottomPixels_ = 0; onChanged(); return this; } - private int leftPixels_ ; + private int leftPixels_; /** + * + * *
        * The number of pixels to crop from the left. The default is 0.
        * 
* * int32 left_pixels = 3; + * * @return The leftPixels. */ @java.lang.Override @@ -778,42 +869,51 @@ public int getLeftPixels() { return leftPixels_; } /** + * + * *
        * The number of pixels to crop from the left. The default is 0.
        * 
* * int32 left_pixels = 3; + * * @param value The leftPixels to set. * @return This builder for chaining. */ public Builder setLeftPixels(int value) { - + leftPixels_ = value; onChanged(); return this; } /** + * + * *
        * The number of pixels to crop from the left. The default is 0.
        * 
* * int32 left_pixels = 3; + * * @return This builder for chaining. */ public Builder clearLeftPixels() { - + leftPixels_ = 0; onChanged(); return this; } - private int rightPixels_ ; + private int rightPixels_; /** + * + * *
        * The number of pixels to crop from the right. The default is 0.
        * 
* * int32 right_pixels = 4; + * * @return The rightPixels. */ @java.lang.Override @@ -821,34 +921,41 @@ public int getRightPixels() { return rightPixels_; } /** + * + * *
        * The number of pixels to crop from the right. The default is 0.
        * 
* * int32 right_pixels = 4; + * * @param value The rightPixels to set. * @return This builder for chaining. */ public Builder setRightPixels(int value) { - + rightPixels_ = value; onChanged(); return this; } /** + * + * *
        * The number of pixels to crop from the right. The default is 0.
        * 
* * int32 right_pixels = 4; + * * @return This builder for chaining. */ public Builder clearRightPixels() { - + rightPixels_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -861,30 +968,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.PreprocessingConfig.Crop) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.PreprocessingConfig.Crop) - private static final com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop DEFAULT_INSTANCE; + private static final com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop(); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop getDefaultInstance() { + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Crop parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Crop(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Crop parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Crop(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -896,57 +1005,72 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop getDefaultInstanceForType() { + public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PadOrBuilder extends + public interface PadOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.PreprocessingConfig.Pad) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The number of pixels to add to the top. The default is 0.
      * 
* * int32 top_pixels = 1; + * * @return The topPixels. */ int getTopPixels(); /** + * + * *
      * The number of pixels to add to the bottom. The default is 0.
      * 
* * int32 bottom_pixels = 2; + * * @return The bottomPixels. */ int getBottomPixels(); /** + * + * *
      * The number of pixels to add to the left. The default is 0.
      * 
* * int32 left_pixels = 3; + * * @return The leftPixels. */ int getLeftPixels(); /** + * + * *
      * The number of pixels to add to the right. The default is 0.
      * 
* * int32 right_pixels = 4; + * * @return The rightPixels. */ int getRightPixels(); } /** + * + * *
    * Pad filter configuration for the input video. The padded input video
    * is scaled after padding with black to match the output resolution.
@@ -954,30 +1078,29 @@ public interface PadOrBuilder extends
    *
    * Protobuf type {@code google.cloud.video.livestream.v1.PreprocessingConfig.Pad}
    */
-  public static final class Pad extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Pad extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.PreprocessingConfig.Pad)
       PadOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Pad.newBuilder() to construct.
     private Pad(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private Pad() {
-    }
+
+    private Pad() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Pad();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Pad(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -996,33 +1119,33 @@ private Pad(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              topPixels_ = input.readInt32();
-              break;
-            }
-            case 16: {
-
-              bottomPixels_ = input.readInt32();
-              break;
-            }
-            case 24: {
-
-              leftPixels_ = input.readInt32();
-              break;
-            }
-            case 32: {
-
-              rightPixels_ = input.readInt32();
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 8:
+              {
+                topPixels_ = input.readInt32();
+                break;
+              }
+            case 16:
+              {
+                bottomPixels_ = input.readInt32();
+                break;
+              }
+            case 24:
+              {
+                leftPixels_ = input.readInt32();
+                break;
+              }
+            case 32:
+              {
+                rightPixels_ = input.readInt32();
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1030,34 +1153,39 @@ private Pad(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.video.livestream.v1.OutputsProto
+          .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_fieldAccessorTable
+      return com.google.cloud.video.livestream.v1.OutputsProto
+          .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.class, com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder.class);
+              com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.class,
+              com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder.class);
     }
 
     public static final int TOP_PIXELS_FIELD_NUMBER = 1;
     private int topPixels_;
     /**
+     *
+     *
      * 
      * The number of pixels to add to the top. The default is 0.
      * 
* * int32 top_pixels = 1; + * * @return The topPixels. */ @java.lang.Override @@ -1068,11 +1196,14 @@ public int getTopPixels() { public static final int BOTTOM_PIXELS_FIELD_NUMBER = 2; private int bottomPixels_; /** + * + * *
      * The number of pixels to add to the bottom. The default is 0.
      * 
* * int32 bottom_pixels = 2; + * * @return The bottomPixels. */ @java.lang.Override @@ -1083,11 +1214,14 @@ public int getBottomPixels() { public static final int LEFT_PIXELS_FIELD_NUMBER = 3; private int leftPixels_; /** + * + * *
      * The number of pixels to add to the left. The default is 0.
      * 
* * int32 left_pixels = 3; + * * @return The leftPixels. */ @java.lang.Override @@ -1098,11 +1232,14 @@ public int getLeftPixels() { public static final int RIGHT_PIXELS_FIELD_NUMBER = 4; private int rightPixels_; /** + * + * *
      * The number of pixels to add to the right. The default is 0.
      * 
* * int32 right_pixels = 4; + * * @return The rightPixels. */ @java.lang.Override @@ -1111,6 +1248,7 @@ public int getRightPixels() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1122,8 +1260,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 (topPixels_ != 0) { output.writeInt32(1, topPixels_); } @@ -1146,20 +1283,16 @@ public int getSerializedSize() { size = 0; if (topPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, topPixels_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, topPixels_); } if (bottomPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, bottomPixels_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, bottomPixels_); } if (leftPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, leftPixels_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, leftPixels_); } if (rightPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, rightPixels_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, rightPixels_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1169,21 +1302,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad other = (com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad) obj; + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad other = + (com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad) obj; - if (getTopPixels() - != other.getTopPixels()) return false; - if (getBottomPixels() - != other.getBottomPixels()) return false; - if (getLeftPixels() - != other.getLeftPixels()) return false; - if (getRightPixels() - != other.getRightPixels()) return false; + if (getTopPixels() != other.getTopPixels()) return false; + if (getBottomPixels() != other.getBottomPixels()) return false; + if (getLeftPixels() != other.getLeftPixels()) return false; + if (getRightPixels() != other.getRightPixels()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1209,87 +1339,94 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1299,6 +1436,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Pad filter configuration for the input video. The padded input video
      * is scaled after padding with black to match the output resolution.
@@ -1306,21 +1445,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.video.livestream.v1.PreprocessingConfig.Pad}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.PreprocessingConfig.Pad)
         com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.video.livestream.v1.OutputsProto
+            .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_fieldAccessorTable
+        return com.google.cloud.video.livestream.v1.OutputsProto
+            .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.class, com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder.class);
+                com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.class,
+                com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder.class);
       }
 
       // Construct using com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.newBuilder()
@@ -1328,16 +1470,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();
@@ -1353,13 +1494,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.video.livestream.v1.OutputsProto
+            .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_Pad_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad getDefaultInstanceForType() {
+      public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad
+          getDefaultInstanceForType() {
         return com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance();
       }
 
@@ -1374,7 +1516,8 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad build() {
 
       @java.lang.Override
       public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad buildPartial() {
-        com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad result = new com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad(this);
+        com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad result =
+            new com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad(this);
         result.topPixels_ = topPixels_;
         result.bottomPixels_ = bottomPixels_;
         result.leftPixels_ = leftPixels_;
@@ -1387,38 +1530,41 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad buildPartial
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad) {
-          return mergeFrom((com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad)other);
+          return mergeFrom((com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1426,7 +1572,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad other) {
-        if (other == com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance()) return this;
+        if (other
+            == com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance())
+          return this;
         if (other.getTopPixels() != 0) {
           setTopPixels(other.getTopPixels());
         }
@@ -1458,7 +1606,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1468,13 +1618,16 @@ public Builder mergeFrom(
         return this;
       }
 
-      private int topPixels_ ;
+      private int topPixels_;
       /**
+       *
+       *
        * 
        * The number of pixels to add to the top. The default is 0.
        * 
* * int32 top_pixels = 1; + * * @return The topPixels. */ @java.lang.Override @@ -1482,42 +1635,51 @@ public int getTopPixels() { return topPixels_; } /** + * + * *
        * The number of pixels to add to the top. The default is 0.
        * 
* * int32 top_pixels = 1; + * * @param value The topPixels to set. * @return This builder for chaining. */ public Builder setTopPixels(int value) { - + topPixels_ = value; onChanged(); return this; } /** + * + * *
        * The number of pixels to add to the top. The default is 0.
        * 
* * int32 top_pixels = 1; + * * @return This builder for chaining. */ public Builder clearTopPixels() { - + topPixels_ = 0; onChanged(); return this; } - private int bottomPixels_ ; + private int bottomPixels_; /** + * + * *
        * The number of pixels to add to the bottom. The default is 0.
        * 
* * int32 bottom_pixels = 2; + * * @return The bottomPixels. */ @java.lang.Override @@ -1525,42 +1687,51 @@ public int getBottomPixels() { return bottomPixels_; } /** + * + * *
        * The number of pixels to add to the bottom. The default is 0.
        * 
* * int32 bottom_pixels = 2; + * * @param value The bottomPixels to set. * @return This builder for chaining. */ public Builder setBottomPixels(int value) { - + bottomPixels_ = value; onChanged(); return this; } /** + * + * *
        * The number of pixels to add to the bottom. The default is 0.
        * 
* * int32 bottom_pixels = 2; + * * @return This builder for chaining. */ public Builder clearBottomPixels() { - + bottomPixels_ = 0; onChanged(); return this; } - private int leftPixels_ ; + private int leftPixels_; /** + * + * *
        * The number of pixels to add to the left. The default is 0.
        * 
* * int32 left_pixels = 3; + * * @return The leftPixels. */ @java.lang.Override @@ -1568,42 +1739,51 @@ public int getLeftPixels() { return leftPixels_; } /** + * + * *
        * The number of pixels to add to the left. The default is 0.
        * 
* * int32 left_pixels = 3; + * * @param value The leftPixels to set. * @return This builder for chaining. */ public Builder setLeftPixels(int value) { - + leftPixels_ = value; onChanged(); return this; } /** + * + * *
        * The number of pixels to add to the left. The default is 0.
        * 
* * int32 left_pixels = 3; + * * @return This builder for chaining. */ public Builder clearLeftPixels() { - + leftPixels_ = 0; onChanged(); return this; } - private int rightPixels_ ; + private int rightPixels_; /** + * + * *
        * The number of pixels to add to the right. The default is 0.
        * 
* * int32 right_pixels = 4; + * * @return The rightPixels. */ @java.lang.Override @@ -1611,34 +1791,41 @@ public int getRightPixels() { return rightPixels_; } /** + * + * *
        * The number of pixels to add to the right. The default is 0.
        * 
* * int32 right_pixels = 4; + * * @param value The rightPixels to set. * @return This builder for chaining. */ public Builder setRightPixels(int value) { - + rightPixels_ = value; onChanged(); return this; } /** + * + * *
        * The number of pixels to add to the right. The default is 0.
        * 
* * int32 right_pixels = 4; + * * @return This builder for chaining. */ public Builder clearRightPixels() { - + rightPixels_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1651,30 +1838,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.PreprocessingConfig.Pad) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.PreprocessingConfig.Pad) - private static final com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad DEFAULT_INSTANCE; + private static final com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad(); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad getDefaultInstance() { + public static com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Pad parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Pad(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Pad parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Pad(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1686,20 +1875,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad getDefaultInstanceForType() { + public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int CROP_FIELD_NUMBER = 2; private com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop_; /** + * + * *
    * Specify the video cropping configuration.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; + * * @return Whether the crop field is set. */ @java.lang.Override @@ -1707,18 +1899,25 @@ public boolean hasCrop() { return crop_ != null; } /** + * + * *
    * Specify the video cropping configuration.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; + * * @return The crop. */ @java.lang.Override public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop getCrop() { - return crop_ == null ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance() : crop_; + return crop_ == null + ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance() + : crop_; } /** + * + * *
    * Specify the video cropping configuration.
    * 
@@ -1733,11 +1932,14 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder ge public static final int PAD_FIELD_NUMBER = 3; private com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad_; /** + * + * *
    * Specify the video pad filter configuration.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3; + * * @return Whether the pad field is set. */ @java.lang.Override @@ -1745,18 +1947,25 @@ public boolean hasPad() { return pad_ != null; } /** + * + * *
    * Specify the video pad filter configuration.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3; + * * @return The pad. */ @java.lang.Override public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad getPad() { - return pad_ == null ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance() : pad_; + return pad_ == null + ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance() + : pad_; } /** + * + * *
    * Specify the video pad filter configuration.
    * 
@@ -1769,6 +1978,7 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder get } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1780,8 +1990,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 (crop_ != null) { output.writeMessage(2, getCrop()); } @@ -1798,12 +2007,10 @@ public int getSerializedSize() { size = 0; if (crop_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCrop()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCrop()); } if (pad_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPad()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPad()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1813,22 +2020,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.PreprocessingConfig)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.PreprocessingConfig other = (com.google.cloud.video.livestream.v1.PreprocessingConfig) obj; + com.google.cloud.video.livestream.v1.PreprocessingConfig other = + (com.google.cloud.video.livestream.v1.PreprocessingConfig) obj; if (hasCrop() != other.hasCrop()) return false; if (hasCrop()) { - if (!getCrop() - .equals(other.getCrop())) return false; + if (!getCrop().equals(other.getCrop())) return false; } if (hasPad() != other.hasPad()) return false; if (hasPad()) { - if (!getPad() - .equals(other.getPad())) return false; + if (!getPad().equals(other.getPad())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1855,117 +2061,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.PreprocessingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.PreprocessingConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.PreprocessingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Preprocessing configurations.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.PreprocessingConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.PreprocessingConfig) com.google.cloud.video.livestream.v1.PreprocessingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.PreprocessingConfig.class, com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder.class); + com.google.cloud.video.livestream.v1.PreprocessingConfig.class, + com.google.cloud.video.livestream.v1.PreprocessingConfig.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.PreprocessingConfig.newBuilder() @@ -1973,16 +2189,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(); @@ -2002,9 +2217,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_PreprocessingConfig_descriptor; } @java.lang.Override @@ -2023,7 +2238,8 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig build() { @java.lang.Override public com.google.cloud.video.livestream.v1.PreprocessingConfig buildPartial() { - com.google.cloud.video.livestream.v1.PreprocessingConfig result = new com.google.cloud.video.livestream.v1.PreprocessingConfig(this); + com.google.cloud.video.livestream.v1.PreprocessingConfig result = + new com.google.cloud.video.livestream.v1.PreprocessingConfig(this); if (cropBuilder_ == null) { result.crop_ = crop_; } else { @@ -2042,38 +2258,39 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.PreprocessingConfig) { - return mergeFrom((com.google.cloud.video.livestream.v1.PreprocessingConfig)other); + return mergeFrom((com.google.cloud.video.livestream.v1.PreprocessingConfig) other); } else { super.mergeFrom(other); return this; @@ -2081,7 +2298,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.PreprocessingConfig other) { - if (other == com.google.cloud.video.livestream.v1.PreprocessingConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.PreprocessingConfig.getDefaultInstance()) + return this; if (other.hasCrop()) { mergeCrop(other.getCrop()); } @@ -2107,7 +2325,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.PreprocessingConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.PreprocessingConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2119,34 +2338,47 @@ public Builder mergeFrom( private com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop, com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder> cropBuilder_; + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop, + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder, + com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder> + cropBuilder_; /** + * + * *
      * Specify the video cropping configuration.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; + * * @return Whether the crop field is set. */ public boolean hasCrop() { return cropBuilder_ != null || crop_ != null; } /** + * + * *
      * Specify the video cropping configuration.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; + * * @return The crop. */ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop getCrop() { if (cropBuilder_ == null) { - return crop_ == null ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance() : crop_; + return crop_ == null + ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance() + : crop_; } else { return cropBuilder_.getMessage(); } } /** + * + * *
      * Specify the video cropping configuration.
      * 
@@ -2167,6 +2399,8 @@ public Builder setCrop(com.google.cloud.video.livestream.v1.PreprocessingConfig. return this; } /** + * + * *
      * Specify the video cropping configuration.
      * 
@@ -2185,6 +2419,8 @@ public Builder setCrop( return this; } /** + * + * *
      * Specify the video cropping configuration.
      * 
@@ -2195,7 +2431,9 @@ public Builder mergeCrop(com.google.cloud.video.livestream.v1.PreprocessingConfi if (cropBuilder_ == null) { if (crop_ != null) { crop_ = - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.newBuilder(crop_).mergeFrom(value).buildPartial(); + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.newBuilder(crop_) + .mergeFrom(value) + .buildPartial(); } else { crop_ = value; } @@ -2207,6 +2445,8 @@ public Builder mergeCrop(com.google.cloud.video.livestream.v1.PreprocessingConfi return this; } /** + * + * *
      * Specify the video cropping configuration.
      * 
@@ -2225,6 +2465,8 @@ public Builder clearCrop() { return this; } /** + * + * *
      * Specify the video cropping configuration.
      * 
@@ -2232,26 +2474,32 @@ public Builder clearCrop() { * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; */ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder getCropBuilder() { - + onChanged(); return getCropFieldBuilder().getBuilder(); } /** + * + * *
      * Specify the video cropping configuration.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; */ - public com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder getCropOrBuilder() { + public com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder + getCropOrBuilder() { if (cropBuilder_ != null) { return cropBuilder_.getMessageOrBuilder(); } else { - return crop_ == null ? - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance() : crop_; + return crop_ == null + ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.getDefaultInstance() + : crop_; } } /** + * + * *
      * Specify the video cropping configuration.
      * 
@@ -2259,14 +2507,17 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder ge * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop, com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder> + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop, + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder, + com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder> getCropFieldBuilder() { if (cropBuilder_ == null) { - cropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop, com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder>( - getCrop(), - getParentForChildren(), - isClean()); + cropBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop, + com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop.Builder, + com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder>( + getCrop(), getParentForChildren(), isClean()); crop_ = null; } return cropBuilder_; @@ -2274,34 +2525,47 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder ge private com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad, com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder> padBuilder_; + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad, + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder, + com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder> + padBuilder_; /** + * + * *
      * Specify the video pad filter configuration.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3; + * * @return Whether the pad field is set. */ public boolean hasPad() { return padBuilder_ != null || pad_ != null; } /** + * + * *
      * Specify the video pad filter configuration.
      * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3; + * * @return The pad. */ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad getPad() { if (padBuilder_ == null) { - return pad_ == null ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance() : pad_; + return pad_ == null + ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance() + : pad_; } else { return padBuilder_.getMessage(); } } /** + * + * *
      * Specify the video pad filter configuration.
      * 
@@ -2322,6 +2586,8 @@ public Builder setPad(com.google.cloud.video.livestream.v1.PreprocessingConfig.P return this; } /** + * + * *
      * Specify the video pad filter configuration.
      * 
@@ -2340,6 +2606,8 @@ public Builder setPad( return this; } /** + * + * *
      * Specify the video pad filter configuration.
      * 
@@ -2350,7 +2618,9 @@ public Builder mergePad(com.google.cloud.video.livestream.v1.PreprocessingConfig if (padBuilder_ == null) { if (pad_ != null) { pad_ = - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.newBuilder(pad_).mergeFrom(value).buildPartial(); + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.newBuilder(pad_) + .mergeFrom(value) + .buildPartial(); } else { pad_ = value; } @@ -2362,6 +2632,8 @@ public Builder mergePad(com.google.cloud.video.livestream.v1.PreprocessingConfig return this; } /** + * + * *
      * Specify the video pad filter configuration.
      * 
@@ -2380,6 +2652,8 @@ public Builder clearPad() { return this; } /** + * + * *
      * Specify the video pad filter configuration.
      * 
@@ -2387,11 +2661,13 @@ public Builder clearPad() { * .google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3; */ public com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder getPadBuilder() { - + onChanged(); return getPadFieldBuilder().getBuilder(); } /** + * + * *
      * Specify the video pad filter configuration.
      * 
@@ -2402,11 +2678,14 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder get if (padBuilder_ != null) { return padBuilder_.getMessageOrBuilder(); } else { - return pad_ == null ? - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance() : pad_; + return pad_ == null + ? com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.getDefaultInstance() + : pad_; } } /** + * + * *
      * Specify the video pad filter configuration.
      * 
@@ -2414,21 +2693,24 @@ public com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder get * .google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad, com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder> + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad, + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder, + com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder> getPadFieldBuilder() { if (padBuilder_ == null) { - padBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad, com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder, com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder>( - getPad(), - getParentForChildren(), - isClean()); + padBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad, + com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad.Builder, + com.google.cloud.video.livestream.v1.PreprocessingConfig.PadOrBuilder>( + getPad(), getParentForChildren(), isClean()); pad_ = null; } return padBuilder_; } + @java.lang.Override - 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 +2720,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.PreprocessingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.PreprocessingConfig) private static final com.google.cloud.video.livestream.v1.PreprocessingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.PreprocessingConfig(); } @@ -2452,16 +2734,16 @@ public static com.google.cloud.video.livestream.v1.PreprocessingConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PreprocessingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PreprocessingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PreprocessingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PreprocessingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2476,6 +2758,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.PreprocessingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfigOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfigOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfigOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfigOrBuilder.java index 5da390a..b76d9ed 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfigOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/PreprocessingConfigOrBuilder.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/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; -public interface PreprocessingConfigOrBuilder extends +public interface PreprocessingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.PreprocessingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Specify the video cropping configuration.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; + * * @return Whether the crop field is set. */ boolean hasCrop(); /** + * + * *
    * Specify the video cropping configuration.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2; + * * @return The crop. */ com.google.cloud.video.livestream.v1.PreprocessingConfig.Crop getCrop(); /** + * + * *
    * Specify the video cropping configuration.
    * 
@@ -35,24 +59,32 @@ public interface PreprocessingConfigOrBuilder extends com.google.cloud.video.livestream.v1.PreprocessingConfig.CropOrBuilder getCropOrBuilder(); /** + * + * *
    * Specify the video pad filter configuration.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3; + * * @return Whether the pad field is set. */ boolean hasPad(); /** + * + * *
    * Specify the video pad filter configuration.
    * 
* * .google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3; + * * @return The pad. */ com.google.cloud.video.livestream.v1.PreprocessingConfig.Pad getPad(); /** + * + * *
    * Specify the video pad filter configuration.
    * 
diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java new file mode 100644 index 0000000..bf87f97 --- /dev/null +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java @@ -0,0 +1,416 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/video/livestream/v1/resources.proto + +package com.google.cloud.video.livestream.v1; + +public final class ResourcesProto { + private ResourcesProto() {} + + 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_video_livestream_v1_Input_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Input_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Channel_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Channel_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Channel_Output_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_LogConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_InputStreamProperty_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_VideoFormat_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_AudioFormat_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_InputAttachment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Event_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Event_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n0google/cloud/video/livestream/v1/resou" + + "rces.proto\022 google.cloud.video.livestrea" + + "m.v1\032\037google/api/field_behavior.proto\032\031g" + + "oogle/api/resource.proto\032.google/cloud/v" + + "ideo/livestream/v1/outputs.proto\032\036google" + + "/protobuf/duration.proto\032\037google/protobu" + + "f/timestamp.proto\032\027google/rpc/status.pro" + + "to\"\360\006\n\005Input\022\014\n\004name\030\001 \001(\t\0224\n\013create_tim" + + "e\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0224\n\013update_time\030\003 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\022C\n\006labels\030\004 \003(\01323.google." + + "cloud.video.livestream.v1.Input.LabelsEn" + + "try\022:\n\004type\030\005 \001(\0162,.google.cloud.video.l" + + "ivestream.v1.Input.Type\022:\n\004tier\030\016 \001(\0162,." + + "google.cloud.video.livestream.v1.Input.T" + + "ier\022\020\n\003uri\030\006 \001(\tB\003\340A\003\022S\n\024preprocessing_c" + + "onfig\030\t \001(\01325.google.cloud.video.livestr" + + "eam.v1.PreprocessingConfig\022L\n\016security_r" + + "ules\030\014 \001(\01324.google.cloud.video.livestre" + + "am.v1.Input.SecurityRule\022Y\n\025input_stream" + + "_property\030\017 \001(\01325.google.cloud.video.liv" + + "estream.v1.InputStreamPropertyB\003\340A\003\032!\n\014S" + + "ecurityRule\022\021\n\tip_ranges\030\001 \003(\t\032-\n\013Labels" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"9\n" + + "\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\r\n\tRTMP_PUSH" + + "\020\001\022\014\n\010SRT_PUSH\020\002\"5\n\004Tier\022\024\n\020TIER_UNSPECI" + + "FIED\020\000\022\006\n\002SD\020\001\022\006\n\002HD\020\002\022\007\n\003UHD\020\003:\\\352AY\n\037li" + + "vestream.googleapis.com/Input\0226projects/" + + "{project}/locations/{location}/inputs/{i" + + "nput}\"\263\t\n\007Channel\022\014\n\004name\030\001 \001(\t\0224\n\013creat" + + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\022E\n\006labels\030\004 \003(\01325.go" + + "ogle.cloud.video.livestream.v1.Channel.L" + + "abelsEntry\022L\n\021input_attachments\030\020 \003(\01321." + + "google.cloud.video.livestream.v1.InputAt" + + "tachment\022\031\n\014active_input\030\006 \001(\tB\003\340A\003\022E\n\006o" + + "utput\030\t \001(\01320.google.cloud.video.livestr" + + "eam.v1.Channel.OutputB\003\340A\002\022N\n\022elementary" + + "_streams\030\n \003(\01322.google.cloud.video.live" + + "stream.v1.ElementaryStream\022@\n\013mux_stream" + + "s\030\013 \003(\0132+.google.cloud.video.livestream." + + "v1.MuxStream\022=\n\tmanifests\030\014 \003(\0132*.google" + + ".cloud.video.livestream.v1.Manifest\022D\n\rs" + + "prite_sheets\030\r \003(\0132-.google.cloud.video." + + "livestream.v1.SpriteSheet\022V\n\017streaming_s" + + "tate\030\016 \001(\01628.google.cloud.video.livestre" + + "am.v1.Channel.StreamingStateB\003\340A\003\0220\n\017str" + + "eaming_error\030\022 \001(\0132\022.google.rpc.StatusB\003" + + "\340A\003\022?\n\nlog_config\030\023 \001(\0132+.google.cloud.v" + + "ideo.livestream.v1.LogConfig\032\025\n\006Output\022\013" + + "\n\003uri\030\001 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001\"\252\001\n\016StreamingState\022\037\n" + + "\033STREAMING_STATE_UNSPECIFIED\020\000\022\r\n\tSTREAM" + + "ING\020\001\022\022\n\016AWAITING_INPUT\020\002\022\023\n\017STREAMING_E" + + "RROR\020\004\022\026\n\022STREAMING_NO_INPUT\020\005\022\013\n\007STOPPE" + + "D\020\006\022\014\n\010STARTING\020\007\022\014\n\010STOPPING\020\010:b\352A_\n!li" + + "vestream.googleapis.com/Channel\022:project" + + "s/{project}/locations/{location}/channel" + + "s/{channel}\"\300\001\n\tLogConfig\022M\n\014log_severit" + + "y\030\001 \001(\01627.google.cloud.video.livestream." + + "v1.LogConfig.LogSeverity\"d\n\013LogSeverity\022" + + "\034\n\030LOG_SEVERITY_UNSPECIFIED\020\000\022\007\n\003OFF\020\001\022\t" + + "\n\005DEBUG\020d\022\t\n\004INFO\020\310\001\022\014\n\007WARNING\020\220\003\022\n\n\005ER" + + "ROR\020\364\003\"\352\001\n\023InputStreamProperty\0227\n\023last_e" + + "stablish_time\030\001 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022L\n\rvideo_streams\030\002 \003(\01325.google." + + "cloud.video.livestream.v1.VideoStreamPro" + + "perty\022L\n\raudio_streams\030\003 \003(\01325.google.cl" + + "oud.video.livestream.v1.AudioStreamPrope" + + "rty\"i\n\023VideoStreamProperty\022\r\n\005index\030\001 \001(" + + "\005\022C\n\014video_format\030\002 \001(\0132-.google.cloud.v" + + "ideo.livestream.v1.VideoFormat\"]\n\013VideoF" + + "ormat\022\r\n\005codec\030\001 \001(\t\022\024\n\014width_pixels\030\002 \001" + + "(\005\022\025\n\rheight_pixels\030\003 \001(\005\022\022\n\nframe_rate\030" + + "\004 \001(\001\"i\n\023AudioStreamProperty\022\r\n\005index\030\001 " + + "\001(\005\022C\n\014audio_format\030\002 \001(\0132-.google.cloud" + + ".video.livestream.v1.AudioFormat\"K\n\013Audi" + + "oFormat\022\r\n\005codec\030\001 \001(\t\022\025\n\rchannel_count\030" + + "\002 \001(\005\022\026\n\016channel_layout\030\003 \003(\t\"\335\001\n\017InputA" + + "ttachment\022\013\n\003key\030\001 \001(\t\0223\n\005input\030\002 \001(\tB$\372" + + "A!\n\037livestream.googleapis.com/Input\022_\n\022a" + + "utomatic_failover\030\003 \001(\0132C.google.cloud.v" + + "ideo.livestream.v1.InputAttachment.Autom" + + "aticFailover\032\'\n\021AutomaticFailover\022\022\n\ninp" + + "ut_keys\030\001 \003(\t\"\235\006\n\005Event\022\014\n\004name\030\001 \001(\t\0224\n" + + "\013create_time\030\002 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\022C\n\006labels\030\004 \003(" + + "\01323.google.cloud.video.livestream.v1.Eve" + + "nt.LabelsEntry\022L\n\010ad_break\030\006 \001(\01323.googl" + + "e.cloud.video.livestream.v1.Event.AdBrea" + + "kTaskB\003\340A\002H\000\022\023\n\013execute_now\030\t \001(\010\0222\n\016exe" + + "cution_time\030\n \001(\0132\032.google.protobuf.Time" + + "stamp\022A\n\005state\030\013 \001(\0162-.google.cloud.vide" + + "o.livestream.v1.Event.StateB\003\340A\003\022&\n\005erro" + + "r\030\014 \001(\0132\022.google.rpc.StatusB\003\340A\003\032:\n\013AdBr" + + "eakTask\022+\n\010duration\030\001 \001(\0132\031.google.proto" + + "buf.Duration\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\"o\n\005State\022\025\n\021STATE_UN" + + "SPECIFIED\020\000\022\r\n\tSCHEDULED\020\001\022\013\n\007RUNNING\020\002\022" + + "\r\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022\013\n\007PENDING\020\005\022" + + "\013\n\007STOPPED\020\006:o\352Al\n\037livestream.googleapis" + + ".com/Event\022Iprojects/{project}/locations" + + "/{location}/channels/{channel}/events/{e" + + "vent}B\006\n\004taskB\361\001\n$com.google.cloud.video" + + ".livestream.v1B\016ResourcesProtoP\001ZJgoogle" + + ".golang.org/genproto/googleapis/cloud/vi" + + "deo/livestream/v1;livestream\252\002 Google.Cl" + + "oud.Video.LiveStream.V1\312\002 Google\\Cloud\\V" + + "ideo\\LiveStream\\V1\352\002$Google::Cloud::Vide" + + "o::LiveStream::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.video.livestream.v1.OutputsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_video_livestream_v1_Input_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_video_livestream_v1_Input_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Input_descriptor, + new java.lang.String[] { + "Name", + "CreateTime", + "UpdateTime", + "Labels", + "Type", + "Tier", + "Uri", + "PreprocessingConfig", + "SecurityRules", + "InputStreamProperty", + }); + internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor = + internal_static_google_cloud_video_livestream_v1_Input_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Input_SecurityRule_descriptor, + new java.lang.String[] { + "IpRanges", + }); + internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_descriptor = + internal_static_google_cloud_video_livestream_v1_Input_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Input_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_video_livestream_v1_Channel_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_video_livestream_v1_Channel_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Channel_descriptor, + new java.lang.String[] { + "Name", + "CreateTime", + "UpdateTime", + "Labels", + "InputAttachments", + "ActiveInput", + "Output", + "ElementaryStreams", + "MuxStreams", + "Manifests", + "SpriteSheets", + "StreamingState", + "StreamingError", + "LogConfig", + }); + internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor = + internal_static_google_cloud_video_livestream_v1_Channel_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_video_livestream_v1_Channel_Output_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Channel_Output_descriptor, + new java.lang.String[] { + "Uri", + }); + internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_descriptor = + internal_static_google_cloud_video_livestream_v1_Channel_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Channel_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_video_livestream_v1_LogConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_LogConfig_descriptor, + new java.lang.String[] { + "LogSeverity", + }); + internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_video_livestream_v1_InputStreamProperty_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_InputStreamProperty_descriptor, + new java.lang.String[] { + "LastEstablishTime", "VideoStreams", "AudioStreams", + }); + internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor, + new java.lang.String[] { + "Index", "VideoFormat", + }); + internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_video_livestream_v1_VideoFormat_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor, + new java.lang.String[] { + "Codec", "WidthPixels", "HeightPixels", "FrameRate", + }); + internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_AudioStreamProperty_descriptor, + new java.lang.String[] { + "Index", "AudioFormat", + }); + internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_video_livestream_v1_AudioFormat_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_AudioFormat_descriptor, + new java.lang.String[] { + "Codec", "ChannelCount", "ChannelLayout", + }); + internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_video_livestream_v1_InputAttachment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor, + new java.lang.String[] { + "Key", "Input", "AutomaticFailover", + }); + internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor = + internal_static_google_cloud_video_livestream_v1_InputAttachment_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_InputAttachment_AutomaticFailover_descriptor, + new java.lang.String[] { + "InputKeys", + }); + internal_static_google_cloud_video_livestream_v1_Event_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_video_livestream_v1_Event_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Event_descriptor, + new java.lang.String[] { + "Name", + "CreateTime", + "UpdateTime", + "Labels", + "AdBreak", + "ExecuteNow", + "ExecutionTime", + "State", + "Error", + "Task", + }); + internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor = + internal_static_google_cloud_video_livestream_v1_Event_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Event_AdBreakTask_descriptor, + new java.lang.String[] { + "Duration", + }); + internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_descriptor = + internal_static_google_cloud_video_livestream_v1_Event_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_video_livestream_v1_Event_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.video.livestream.v1.OutputsProto.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-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettings.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettings.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettings.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettings.java index 434c97a..2b81c1b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettings.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettings.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/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Segment settings for `fmp4` and `ts`.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.SegmentSettings} */ -public final class SegmentSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SegmentSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.SegmentSettings) SegmentSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SegmentSettings.newBuilder() to construct. private SegmentSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SegmentSettings() { - } + + private SegmentSettings() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SegmentSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SegmentSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +68,28 @@ private SegmentSettings( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (segmentDuration_ != null) { - subBuilder = segmentDuration_.toBuilder(); + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (segmentDuration_ != null) { + subBuilder = segmentDuration_.toBuilder(); + } + segmentDuration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segmentDuration_); + segmentDuration_ = subBuilder.buildPartial(); + } + + break; } - segmentDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segmentDuration_); - segmentDuration_ = 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,29 +97,33 @@ private SegmentSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SegmentSettings_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_SegmentSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.SegmentSettings.class, com.google.cloud.video.livestream.v1.SegmentSettings.Builder.class); + com.google.cloud.video.livestream.v1.SegmentSettings.class, + com.google.cloud.video.livestream.v1.SegmentSettings.Builder.class); } public static final int SEGMENT_DURATION_FIELD_NUMBER = 1; private com.google.protobuf.Duration segmentDuration_; /** + * + * *
    * Duration of the segments in seconds. The default is `6s`. Note that
    * `segmentDuration` must be greater than or equal to
@@ -114,6 +136,7 @@ private SegmentSettings(
    * 
* * .google.protobuf.Duration segment_duration = 1; + * * @return Whether the segmentDuration field is set. */ @java.lang.Override @@ -121,6 +144,8 @@ public boolean hasSegmentDuration() { return segmentDuration_ != null; } /** + * + * *
    * Duration of the segments in seconds. The default is `6s`. Note that
    * `segmentDuration` must be greater than or equal to
@@ -133,13 +158,18 @@ public boolean hasSegmentDuration() {
    * 
* * .google.protobuf.Duration segment_duration = 1; + * * @return The segmentDuration. */ @java.lang.Override public com.google.protobuf.Duration getSegmentDuration() { - return segmentDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : segmentDuration_; + return segmentDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : segmentDuration_; } /** + * + * *
    * Duration of the segments in seconds. The default is `6s`. Note that
    * `segmentDuration` must be greater than or equal to
@@ -159,6 +189,7 @@ public com.google.protobuf.DurationOrBuilder getSegmentDurationOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -170,8 +201,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 (segmentDuration_ != null) {
       output.writeMessage(1, getSegmentDuration());
     }
@@ -185,8 +215,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (segmentDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getSegmentDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegmentDuration());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -196,17 +225,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.video.livestream.v1.SegmentSettings)) {
       return super.equals(obj);
     }
-    com.google.cloud.video.livestream.v1.SegmentSettings other = (com.google.cloud.video.livestream.v1.SegmentSettings) obj;
+    com.google.cloud.video.livestream.v1.SegmentSettings other =
+        (com.google.cloud.video.livestream.v1.SegmentSettings) obj;
 
     if (hasSegmentDuration() != other.hasSegmentDuration()) return false;
     if (hasSegmentDuration()) {
-      if (!getSegmentDuration()
-          .equals(other.getSegmentDuration())) return false;
+      if (!getSegmentDuration().equals(other.getSegmentDuration())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -229,117 +258,126 @@ public int hashCode() {
   }
 
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.video.livestream.v1.SegmentSettings parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.video.livestream.v1.SegmentSettings parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.video.livestream.v1.SegmentSettings parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.video.livestream.v1.SegmentSettings prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Segment settings for `fmp4` and `ts`.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.SegmentSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.SegmentSettings) com.google.cloud.video.livestream.v1.SegmentSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SegmentSettings_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_SegmentSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.SegmentSettings.class, com.google.cloud.video.livestream.v1.SegmentSettings.Builder.class); + com.google.cloud.video.livestream.v1.SegmentSettings.class, + com.google.cloud.video.livestream.v1.SegmentSettings.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.SegmentSettings.newBuilder() @@ -347,16 +385,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(); @@ -370,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_SegmentSettings_descriptor; } @java.lang.Override @@ -391,7 +428,8 @@ public com.google.cloud.video.livestream.v1.SegmentSettings build() { @java.lang.Override public com.google.cloud.video.livestream.v1.SegmentSettings buildPartial() { - com.google.cloud.video.livestream.v1.SegmentSettings result = new com.google.cloud.video.livestream.v1.SegmentSettings(this); + com.google.cloud.video.livestream.v1.SegmentSettings result = + new com.google.cloud.video.livestream.v1.SegmentSettings(this); if (segmentDurationBuilder_ == null) { result.segmentDuration_ = segmentDuration_; } else { @@ -405,38 +443,39 @@ public com.google.cloud.video.livestream.v1.SegmentSettings buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.SegmentSettings) { - return mergeFrom((com.google.cloud.video.livestream.v1.SegmentSettings)other); + return mergeFrom((com.google.cloud.video.livestream.v1.SegmentSettings) other); } else { super.mergeFrom(other); return this; @@ -444,7 +483,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.SegmentSettings other) { - if (other == com.google.cloud.video.livestream.v1.SegmentSettings.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.SegmentSettings.getDefaultInstance()) + return this; if (other.hasSegmentDuration()) { mergeSegmentDuration(other.getSegmentDuration()); } @@ -467,7 +507,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.SegmentSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.SegmentSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -479,8 +520,13 @@ public Builder mergeFrom( private com.google.protobuf.Duration segmentDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> segmentDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + segmentDurationBuilder_; /** + * + * *
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -493,12 +539,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration segment_duration = 1; + * * @return Whether the segmentDuration field is set. */ public boolean hasSegmentDuration() { return segmentDurationBuilder_ != null || segmentDuration_ != null; } /** + * + * *
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -511,16 +560,21 @@ public boolean hasSegmentDuration() {
      * 
* * .google.protobuf.Duration segment_duration = 1; + * * @return The segmentDuration. */ public com.google.protobuf.Duration getSegmentDuration() { if (segmentDurationBuilder_ == null) { - return segmentDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : segmentDuration_; + return segmentDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : segmentDuration_; } else { return segmentDurationBuilder_.getMessage(); } } /** + * + * *
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -548,6 +602,8 @@ public Builder setSegmentDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -561,8 +617,7 @@ public Builder setSegmentDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration segment_duration = 1;
      */
-    public Builder setSegmentDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setSegmentDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (segmentDurationBuilder_ == null) {
         segmentDuration_ = builderForValue.build();
         onChanged();
@@ -573,6 +628,8 @@ public Builder setSegmentDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -590,7 +647,9 @@ public Builder mergeSegmentDuration(com.google.protobuf.Duration value) {
       if (segmentDurationBuilder_ == null) {
         if (segmentDuration_ != null) {
           segmentDuration_ =
-            com.google.protobuf.Duration.newBuilder(segmentDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(segmentDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           segmentDuration_ = value;
         }
@@ -602,6 +661,8 @@ public Builder mergeSegmentDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -627,6 +688,8 @@ public Builder clearSegmentDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -641,11 +704,13 @@ public Builder clearSegmentDuration() {
      * .google.protobuf.Duration segment_duration = 1;
      */
     public com.google.protobuf.Duration.Builder getSegmentDurationBuilder() {
-      
+
       onChanged();
       return getSegmentDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -663,11 +728,14 @@ public com.google.protobuf.DurationOrBuilder getSegmentDurationOrBuilder() {
       if (segmentDurationBuilder_ != null) {
         return segmentDurationBuilder_.getMessageOrBuilder();
       } else {
-        return segmentDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : segmentDuration_;
+        return segmentDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : segmentDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * Duration of the segments in seconds. The default is `6s`. Note that
      * `segmentDuration` must be greater than or equal to
@@ -682,21 +750,24 @@ public com.google.protobuf.DurationOrBuilder getSegmentDurationOrBuilder() {
      * .google.protobuf.Duration segment_duration = 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>
         getSegmentDurationFieldBuilder() {
       if (segmentDurationBuilder_ == null) {
-        segmentDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getSegmentDuration(),
-                getParentForChildren(),
-                isClean());
+        segmentDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getSegmentDuration(), getParentForChildren(), isClean());
         segmentDuration_ = null;
       }
       return segmentDurationBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -706,12 +777,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.SegmentSettings)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.SegmentSettings)
   private static final com.google.cloud.video.livestream.v1.SegmentSettings DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.SegmentSettings();
   }
@@ -720,16 +791,16 @@ public static com.google.cloud.video.livestream.v1.SegmentSettings getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public SegmentSettings parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new SegmentSettings(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public SegmentSettings parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new SegmentSettings(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -744,6 +815,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.video.livestream.v1.SegmentSettings getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettingsOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettingsOrBuilder.java
similarity index 78%
rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettingsOrBuilder.java
rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettingsOrBuilder.java
index 8cdad83..efcaab1 100644
--- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettingsOrBuilder.java
+++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SegmentSettingsOrBuilder.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/video/livestream/v1/outputs.proto
 
 package com.google.cloud.video.livestream.v1;
 
-public interface SegmentSettingsOrBuilder extends
+public interface SegmentSettingsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.SegmentSettings)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Duration of the segments in seconds. The default is `6s`. Note that
    * `segmentDuration` must be greater than or equal to
@@ -20,10 +38,13 @@ public interface SegmentSettingsOrBuilder extends
    * 
* * .google.protobuf.Duration segment_duration = 1; + * * @return Whether the segmentDuration field is set. */ boolean hasSegmentDuration(); /** + * + * *
    * Duration of the segments in seconds. The default is `6s`. Note that
    * `segmentDuration` must be greater than or equal to
@@ -36,10 +57,13 @@ public interface SegmentSettingsOrBuilder extends
    * 
* * .google.protobuf.Duration segment_duration = 1; + * * @return The segmentDuration. */ com.google.protobuf.Duration getSegmentDuration(); /** + * + * *
    * Duration of the segments in seconds. The default is `6s`. Note that
    * `segmentDuration` must be greater than or equal to
diff --git a/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java
new file mode 100644
index 0000000..9f5c141
--- /dev/null
+++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java
@@ -0,0 +1,493 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/video/livestream/v1/service.proto
+
+package com.google.cloud.video.livestream.v1;
+
+public final class ServiceProto {
+  private ServiceProto() {}
+
+  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_video_livestream_v1_CreateChannelRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_GetChannelRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_StartChannelRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_StopChannelRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_CreateInputRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_ListInputsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_ListInputsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_GetInputRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_CreateEventRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_ListEventsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_ListEventsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_GetEventRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_video_livestream_v1_OperationMetadata_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/video/livestream/v1/servi"
+          + "ce.proto\022 google.cloud.video.livestream."
+          + "v1\032\034google/api/annotations.proto\032\027google"
+          + "/api/client.proto\032\037google/api/field_beha"
+          + "vior.proto\032\031google/api/resource.proto\0320g"
+          + "oogle/cloud/video/livestream/v1/resource"
+          + "s.proto\032#google/longrunning/operations.p"
+          + "roto\032\033google/protobuf/empty.proto\032 googl"
+          + "e/protobuf/field_mask.proto\032\037google/prot"
+          + "obuf/timestamp.proto\"\277\001\n\024CreateChannelRe"
+          + "quest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!livestrea"
+          + "m.googleapis.com/Channel\022?\n\007channel\030\002 \001("
+          + "\0132).google.cloud.video.livestream.v1.Cha"
+          + "nnelB\003\340A\002\022\027\n\nchannel_id\030\003 \001(\tB\003\340A\002\022\022\n\nre"
+          + "quest_id\030\004 \001(\t\"\231\001\n\023ListChannelsRequest\0229"
+          + "\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!livestream.googl"
+          + "eapis.com/Channel\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n"
+          + "page_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010orde"
+          + "r_by\030\005 \001(\t\"\201\001\n\024ListChannelsResponse\022;\n\010c"
+          + "hannels\030\001 \003(\0132).google.cloud.video.lives"
+          + "tream.v1.Channel\022\027\n\017next_page_token\030\002 \001("
+          + "\t\022\023\n\013unreachable\030\003 \003(\t\"L\n\021GetChannelRequ"
+          + "est\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!livestream.go"
+          + "ogleapis.com/Channel\"r\n\024DeleteChannelReq"
+          + "uest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!livestream.g"
+          + "oogleapis.com/Channel\022\022\n\nrequest_id\030\002 \001("
+          + "\t\022\r\n\005force\030\003 \001(\010\"\234\001\n\024UpdateChannelReques"
+          + "t\022/\n\013update_mask\030\001 \001(\0132\032.google.protobuf"
+          + ".FieldMask\022?\n\007channel\030\002 \001(\0132).google.clo"
+          + "ud.video.livestream.v1.ChannelB\003\340A\002\022\022\n\nr"
+          + "equest_id\030\003 \001(\t\"b\n\023StartChannelRequest\0227"
+          + "\n\004name\030\001 \001(\tB)\340A\002\372A#\n!livestream.googlea"
+          + "pis.com/Channel\022\022\n\nrequest_id\030\002 \001(\t\"a\n\022S"
+          + "topChannelRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n"
+          + "!livestream.googleapis.com/Channel\022\022\n\nre"
+          + "quest_id\030\002 \001(\t\"\265\001\n\022CreateInputRequest\0227\n"
+          + "\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037livestream.google"
+          + "apis.com/Input\022;\n\005input\030\002 \001(\0132\'.google.c"
+          + "loud.video.livestream.v1.InputB\003\340A\002\022\025\n\010i"
+          + "nput_id\030\003 \001(\tB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"\225"
+          + "\001\n\021ListInputsRequest\0227\n\006parent\030\001 \001(\tB\'\340A"
+          + "\002\372A!\022\037livestream.googleapis.com/Input\022\021\n"
+          + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006"
+          + "filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"{\n\022ListIn"
+          + "putsResponse\0227\n\006inputs\030\001 \003(\0132\'.google.cl"
+          + "oud.video.livestream.v1.Input\022\027\n\017next_pa"
+          + "ge_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"H\n\017G"
+          + "etInputRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037li"
+          + "vestream.googleapis.com/Input\"_\n\022DeleteI"
+          + "nputRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037lives"
+          + "tream.googleapis.com/Input\022\022\n\nrequest_id"
+          + "\030\002 \001(\t\"\226\001\n\022UpdateInputRequest\022/\n\013update_"
+          + "mask\030\001 \001(\0132\032.google.protobuf.FieldMask\022;"
+          + "\n\005input\030\002 \001(\0132\'.google.cloud.video.lives"
+          + "tream.v1.InputB\003\340A\002\022\022\n\nrequest_id\030\003 \001(\t\""
+          + "\265\001\n\022CreateEventRequest\0227\n\006parent\030\001 \001(\tB\'"
+          + "\340A\002\372A!\022\037livestream.googleapis.com/Event\022"
+          + ";\n\005event\030\002 \001(\0132\'.google.cloud.video.live"
+          + "stream.v1.EventB\003\340A\002\022\025\n\010event_id\030\003 \001(\tB\003"
+          + "\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"\225\001\n\021ListEventsRe"
+          + "quest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037livestrea"
+          + "m.googleapis.com/Event\022\021\n\tpage_size\030\002 \001("
+          + "\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n"
+          + "\010order_by\030\005 \001(\t\"{\n\022ListEventsResponse\0227\n"
+          + "\006events\030\001 \003(\0132\'.google.cloud.video.lives"
+          + "tream.v1.Event\022\027\n\017next_page_token\030\002 \001(\t\022"
+          + "\023\n\013unreachable\030\003 \003(\t\"H\n\017GetEventRequest\022"
+          + "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037livestream.google"
+          + "apis.com/Event\"_\n\022DeleteEventRequest\0225\n\004"
+          + "name\030\001 \001(\tB\'\340A\002\372A!\n\037livestream.googleapi"
+          + "s.com/Event\022\022\n\nrequest_id\030\002 \001(\t\"\032\n\030Chann"
+          + "elOperationResponse\"\343\001\n\021OperationMetadat"
+          + "a\0224\n\013create_time\030\001 \001(\0132\032.google.protobuf"
+          + ".TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.goog"
+          + "le.protobuf.TimestampB\003\340A\003\022\023\n\006target\030\003 \001"
+          + "(\tB\003\340A\003\022\021\n\004verb\030\004 \001(\tB\003\340A\003\022#\n\026requested_"
+          + "cancellation\030\005 \001(\010B\003\340A\003\022\030\n\013api_version\030\006"
+          + " \001(\tB\003\340A\0032\325\031\n\021LivestreamService\022\340\001\n\rCrea"
+          + "teChannel\0226.google.cloud.video.livestrea"
+          + "m.v1.CreateChannelRequest\032\035.google.longr"
+          + "unning.Operation\"x\202\323\344\223\0027\",/v1/{parent=pr"
+          + "ojects/*/locations/*}/channels:\007channel\332"
+          + "A\031parent,channel,channel_id\312A\034\n\007Channel\022"
+          + "\021OperationMetadata\022\274\001\n\014ListChannels\0225.go"
+          + "ogle.cloud.video.livestream.v1.ListChann"
+          + "elsRequest\0326.google.cloud.video.livestre"
+          + "am.v1.ListChannelsResponse\"=\202\323\344\223\002.\022,/v1/"
+          + "{parent=projects/*/locations/*}/channels"
+          + "\332A\006parent\022\251\001\n\nGetChannel\0223.google.cloud."
+          + "video.livestream.v1.GetChannelRequest\032)."
+          + "google.cloud.video.livestream.v1.Channel"
+          + "\";\202\323\344\223\002.\022,/v1/{name=projects/*/locations"
+          + "/*/channels/*}\332A\004name\022\320\001\n\rDeleteChannel\022"
+          + "6.google.cloud.video.livestream.v1.Delet"
+          + "eChannelRequest\032\035.google.longrunning.Ope"
+          + "ration\"h\202\323\344\223\002.*,/v1/{name=projects/*/loc"
+          + "ations/*/channels/*}\332A\004name\312A*\n\025google.p"
+          + "rotobuf.Empty\022\021OperationMetadata\022\342\001\n\rUpd"
+          + "ateChannel\0226.google.cloud.video.livestre"
+          + "am.v1.UpdateChannelRequest\032\035.google.long"
+          + "running.Operation\"z\202\323\344\223\002?24/v1/{channel."
+          + "name=projects/*/locations/*/channels/*}:"
+          + "\007channel\332A\023channel,update_mask\312A\034\n\007Chann"
+          + "el\022\021OperationMetadata\022\332\001\n\014StartChannel\0225"
+          + ".google.cloud.video.livestream.v1.StartC"
+          + "hannelRequest\032\035.google.longrunning.Opera"
+          + "tion\"t\202\323\344\223\0027\"2/v1/{name=projects/*/locat"
+          + "ions/*/channels/*}:start:\001*\332A\004name\312A-\n\030C"
+          + "hannelOperationResponse\022\021OperationMetada"
+          + "ta\022\327\001\n\013StopChannel\0224.google.cloud.video."
+          + "livestream.v1.StopChannelRequest\032\035.googl"
+          + "e.longrunning.Operation\"s\202\323\344\223\0026\"1/v1/{na"
+          + "me=projects/*/locations/*/channels/*}:st"
+          + "op:\001*\332A\004name\312A-\n\030ChannelOperationRespons"
+          + "e\022\021OperationMetadata\022\322\001\n\013CreateInput\0224.g"
+          + "oogle.cloud.video.livestream.v1.CreateIn"
+          + "putRequest\032\035.google.longrunning.Operatio"
+          + "n\"n\202\323\344\223\0023\"*/v1/{parent=projects/*/locati"
+          + "ons/*}/inputs:\005input\332A\025parent,input,inpu"
+          + "t_id\312A\032\n\005Input\022\021OperationMetadata\022\264\001\n\nLi"
+          + "stInputs\0223.google.cloud.video.livestream"
+          + ".v1.ListInputsRequest\0324.google.cloud.vid"
+          + "eo.livestream.v1.ListInputsResponse\";\202\323\344"
+          + "\223\002,\022*/v1/{parent=projects/*/locations/*}"
+          + "/inputs\332A\006parent\022\241\001\n\010GetInput\0221.google.c"
+          + "loud.video.livestream.v1.GetInputRequest"
+          + "\032\'.google.cloud.video.livestream.v1.Inpu"
+          + "t\"9\202\323\344\223\002,\022*/v1/{name=projects/*/location"
+          + "s/*/inputs/*}\332A\004name\022\312\001\n\013DeleteInput\0224.g"
+          + "oogle.cloud.video.livestream.v1.DeleteIn"
+          + "putRequest\032\035.google.longrunning.Operatio"
+          + "n\"f\202\323\344\223\002,**/v1/{name=projects/*/location"
+          + "s/*/inputs/*}\332A\004name\312A*\n\025google.protobuf"
+          + ".Empty\022\021OperationMetadata\022\324\001\n\013UpdateInpu"
+          + "t\0224.google.cloud.video.livestream.v1.Upd"
+          + "ateInputRequest\032\035.google.longrunning.Ope"
+          + "ration\"p\202\323\344\223\002920/v1/{input.name=projects"
+          + "/*/locations/*/inputs/*}:\005input\332A\021input,"
+          + "update_mask\312A\032\n\005Input\022\021OperationMetadata"
+          + "\022\312\001\n\013CreateEvent\0224.google.cloud.video.li"
+          + "vestream.v1.CreateEventRequest\032\'.google."
+          + "cloud.video.livestream.v1.Event\"\\\202\323\344\223\002>\""
+          + "5/v1/{parent=projects/*/locations/*/chan"
+          + "nels/*}/events:\005event\332A\025parent,event,eve"
+          + "nt_id\022\277\001\n\nListEvents\0223.google.cloud.vide"
+          + "o.livestream.v1.ListEventsRequest\0324.goog"
+          + "le.cloud.video.livestream.v1.ListEventsR"
+          + "esponse\"F\202\323\344\223\0027\0225/v1/{parent=projects/*/"
+          + "locations/*/channels/*}/events\332A\006parent\022"
+          + "\254\001\n\010GetEvent\0221.google.cloud.video.livest"
+          + "ream.v1.GetEventRequest\032\'.google.cloud.v"
+          + "ideo.livestream.v1.Event\"D\202\323\344\223\0027\0225/v1/{n"
+          + "ame=projects/*/locations/*/channels/*/ev"
+          + "ents/*}\332A\004name\022\241\001\n\013DeleteEvent\0224.google."
+          + "cloud.video.livestream.v1.DeleteEventReq"
+          + "uest\032\026.google.protobuf.Empty\"D\202\323\344\223\0027*5/v"
+          + "1/{name=projects/*/locations/*/channels/"
+          + "*/events/*}\332A\004name\032M\312A\031livestream.google"
+          + "apis.com\322A.https://www.googleapis.com/au"
+          + "th/cloud-platformB\357\001\n$com.google.cloud.v"
+          + "ideo.livestream.v1B\014ServiceProtoP\001ZJgoog"
+          + "le.golang.org/genproto/googleapis/cloud/"
+          + "video/livestream/v1;livestream\252\002 Google."
+          + "Cloud.Video.LiveStream.V1\312\002 Google\\Cloud"
+          + "\\Video\\LiveStream\\V1\352\002$Google::Cloud::Vi"
+          + "deo::LiveStream::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.api.ResourceProto.getDescriptor(),
+              com.google.cloud.video.livestream.v1.ResourcesProto.getDescriptor(),
+              com.google.longrunning.OperationsProto.getDescriptor(),
+              com.google.protobuf.EmptyProto.getDescriptor(),
+              com.google.protobuf.FieldMaskProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_CreateChannelRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Channel", "ChannelId", "RequestId",
+            });
+    internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_ListChannelsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "Filter", "OrderBy",
+            });
+    internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_ListChannelsResponse_descriptor,
+            new java.lang.String[] {
+              "Channels", "NextPageToken", "Unreachable",
+            });
+    internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_video_livestream_v1_GetChannelRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_GetChannelRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_DeleteChannelRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "RequestId", "Force",
+            });
+    internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor,
+            new java.lang.String[] {
+              "UpdateMask", "Channel", "RequestId",
+            });
+    internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_video_livestream_v1_StartChannelRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "RequestId",
+            });
+    internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_video_livestream_v1_StopChannelRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "RequestId",
+            });
+    internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_video_livestream_v1_CreateInputRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_CreateInputRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Input", "InputId", "RequestId",
+            });
+    internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_video_livestream_v1_ListInputsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_ListInputsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "Filter", "OrderBy",
+            });
+    internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_video_livestream_v1_ListInputsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_ListInputsResponse_descriptor,
+            new java.lang.String[] {
+              "Inputs", "NextPageToken", "Unreachable",
+            });
+    internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor =
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_video_livestream_v1_GetInputRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_GetInputRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor =
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_DeleteInputRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "RequestId",
+            });
+    internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor =
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor,
+            new java.lang.String[] {
+              "UpdateMask", "Input", "RequestId",
+            });
+    internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor =
+        getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_video_livestream_v1_CreateEventRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_CreateEventRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Event", "EventId", "RequestId",
+            });
+    internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_video_livestream_v1_ListEventsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_ListEventsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "Filter", "OrderBy",
+            });
+    internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_video_livestream_v1_ListEventsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_ListEventsResponse_descriptor,
+            new java.lang.String[] {
+              "Events", "NextPageToken", "Unreachable",
+            });
+    internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor =
+        getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_video_livestream_v1_GetEventRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_GetEventRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor =
+        getDescriptor().getMessageTypes().get(18);
+    internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_DeleteEventRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "RequestId",
+            });
+    internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor =
+        getDescriptor().getMessageTypes().get(19);
+    internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_ChannelOperationResponse_descriptor,
+            new java.lang.String[] {});
+    internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor =
+        getDescriptor().getMessageTypes().get(20);
+    internal_static_google_cloud_video_livestream_v1_OperationMetadata_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_video_livestream_v1_OperationMetadata_descriptor,
+            new java.lang.String[] {
+              "CreateTime", "EndTime", "Target", "Verb", "RequestedCancellation", "ApiVersion",
+            });
+    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.api.ResourceProto.resourceReference);
+    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.api.ResourceProto.getDescriptor();
+    com.google.cloud.video.livestream.v1.ResourcesProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheet.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheet.java
similarity index 76%
rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheet.java
rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheet.java
index e5fbf1b..dcae893 100644
--- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheet.java
+++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheet.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/video/livestream/v1/outputs.proto
 
 package com.google.cloud.video.livestream.v1;
 
 /**
+ *
+ *
  * 
  * Sprite sheet configuration.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.SpriteSheet} */ -public final class SpriteSheet extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SpriteSheet extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.SpriteSheet) SpriteSheetOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SpriteSheet.newBuilder() to construct. private SpriteSheet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SpriteSheet() { format_ = ""; filePrefix_ = ""; @@ -26,16 +44,15 @@ private SpriteSheet() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SpriteSheet(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SpriteSheet( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,63 +71,67 @@ private SpriteSheet( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - format_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - filePrefix_ = s; - break; - } - case 24: { - - spriteWidthPixels_ = input.readInt32(); - break; - } - case 32: { - - spriteHeightPixels_ = input.readInt32(); - break; - } - case 40: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - columnCount_ = input.readInt32(); - break; - } - case 48: { + format_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - rowCount_ = input.readInt32(); - break; - } - case 58: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (interval_ != null) { - subBuilder = interval_.toBuilder(); + filePrefix_ = s; + break; } - interval_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interval_); - interval_ = subBuilder.buildPartial(); + case 24: + { + spriteWidthPixels_ = input.readInt32(); + break; } - - break; - } - case 64: { - - quality_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 32: + { + spriteHeightPixels_ = input.readInt32(); + break; + } + case 40: + { + columnCount_ = input.readInt32(); + break; + } + case 48: + { + rowCount_ = input.readInt32(); + break; + } + case 58: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (interval_ != null) { + subBuilder = interval_.toBuilder(); + } + interval_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(interval_); + interval_ = subBuilder.buildPartial(); + } + + break; + } + case 64: + { + quality_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,29 +139,33 @@ private SpriteSheet( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SpriteSheet_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_SpriteSheet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.SpriteSheet.class, com.google.cloud.video.livestream.v1.SpriteSheet.Builder.class); + com.google.cloud.video.livestream.v1.SpriteSheet.class, + com.google.cloud.video.livestream.v1.SpriteSheet.Builder.class); } public static final int FORMAT_FIELD_NUMBER = 1; private volatile java.lang.Object format_; /** + * + * *
    * Format type. The default is `jpeg`.
    * Supported formats:
@@ -148,6 +173,7 @@ private SpriteSheet(
    * 
* * string format = 1; + * * @return The format. */ @java.lang.Override @@ -156,14 +182,15 @@ public java.lang.String getFormat() { 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(); format_ = s; return s; } } /** + * + * *
    * Format type. The default is `jpeg`.
    * Supported formats:
@@ -171,16 +198,15 @@ public java.lang.String getFormat() {
    * 
* * string format = 1; + * * @return The bytes for format. */ @java.lang.Override - public com.google.protobuf.ByteString - getFormatBytes() { + public com.google.protobuf.ByteString getFormatBytes() { java.lang.Object ref = format_; 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); format_ = b; return b; } else { @@ -191,6 +217,8 @@ public java.lang.String getFormat() { public static final int FILE_PREFIX_FIELD_NUMBER = 2; private volatile java.lang.Object filePrefix_; /** + * + * *
    * Required. File name prefix for the generated sprite sheets. If multiple
    * sprite sheets are added to the channel, each must have a unique file
@@ -200,6 +228,7 @@ public java.lang.String getFormat() {
    * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filePrefix. */ @java.lang.Override @@ -208,14 +237,15 @@ public java.lang.String getFilePrefix() { 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(); filePrefix_ = s; return s; } } /** + * + * *
    * Required. File name prefix for the generated sprite sheets. If multiple
    * sprite sheets are added to the channel, each must have a unique file
@@ -225,16 +255,15 @@ public java.lang.String getFilePrefix() {
    * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filePrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilePrefixBytes() { + public com.google.protobuf.ByteString getFilePrefixBytes() { java.lang.Object ref = filePrefix_; 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); filePrefix_ = b; return b; } else { @@ -245,11 +274,14 @@ public java.lang.String getFilePrefix() { public static final int SPRITE_WIDTH_PIXELS_FIELD_NUMBER = 3; private int spriteWidthPixels_; /** + * + * *
    * Required. The width of the sprite in pixels. Must be an even integer.
    * 
* * int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The spriteWidthPixels. */ @java.lang.Override @@ -260,11 +292,14 @@ public int getSpriteWidthPixels() { public static final int SPRITE_HEIGHT_PIXELS_FIELD_NUMBER = 4; private int spriteHeightPixels_; /** + * + * *
    * Required. The height of the sprite in pixels. Must be an even integer.
    * 
* * int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The spriteHeightPixels. */ @java.lang.Override @@ -275,12 +310,15 @@ public int getSpriteHeightPixels() { public static final int COLUMN_COUNT_FIELD_NUMBER = 5; private int columnCount_; /** + * + * *
    * The maximum number of sprites per row in a sprite sheet. Valid range is
    * [1, 10] and the default value is 1.
    * 
* * int32 column_count = 5; + * * @return The columnCount. */ @java.lang.Override @@ -291,6 +329,8 @@ public int getColumnCount() { public static final int ROW_COUNT_FIELD_NUMBER = 6; private int rowCount_; /** + * + * *
    * The maximum number of rows per sprite sheet. When the sprite sheet is full,
    * a new sprite sheet is created. Valid range is [1, 10] and the default value
@@ -298,6 +338,7 @@ public int getColumnCount() {
    * 
* * int32 row_count = 6; + * * @return The rowCount. */ @java.lang.Override @@ -308,12 +349,15 @@ public int getRowCount() { public static final int INTERVAL_FIELD_NUMBER = 7; private com.google.protobuf.Duration interval_; /** + * + * *
    * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
    * the default value is `10s`.
    * 
* * .google.protobuf.Duration interval = 7; + * * @return Whether the interval field is set. */ @java.lang.Override @@ -321,12 +365,15 @@ public boolean hasInterval() { return interval_ != null; } /** + * + * *
    * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
    * the default value is `10s`.
    * 
* * .google.protobuf.Duration interval = 7; + * * @return The interval. */ @java.lang.Override @@ -334,6 +381,8 @@ public com.google.protobuf.Duration getInterval() { return interval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : interval_; } /** + * + * *
    * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
    * the default value is `10s`.
@@ -349,6 +398,8 @@ public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder() {
   public static final int QUALITY_FIELD_NUMBER = 8;
   private int quality_;
   /**
+   *
+   *
    * 
    * The quality of the generated sprite sheet. Enter a value between 1
    * and 100, where 1 is the lowest quality and 100 is the highest quality.
@@ -357,6 +408,7 @@ public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder() {
    * 
* * int32 quality = 8; + * * @return The quality. */ @java.lang.Override @@ -365,6 +417,7 @@ public int getQuality() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -376,8 +429,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(format_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, format_); } @@ -418,28 +470,22 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filePrefix_); } if (spriteWidthPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, spriteWidthPixels_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, spriteWidthPixels_); } if (spriteHeightPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, spriteHeightPixels_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, spriteHeightPixels_); } if (columnCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, columnCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, columnCount_); } if (rowCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, rowCount_); } if (interval_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getInterval()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getInterval()); } if (quality_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, quality_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, quality_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -449,32 +495,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.SpriteSheet)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.SpriteSheet other = (com.google.cloud.video.livestream.v1.SpriteSheet) obj; - - if (!getFormat() - .equals(other.getFormat())) return false; - if (!getFilePrefix() - .equals(other.getFilePrefix())) return false; - if (getSpriteWidthPixels() - != other.getSpriteWidthPixels()) return false; - if (getSpriteHeightPixels() - != other.getSpriteHeightPixels()) return false; - if (getColumnCount() - != other.getColumnCount()) return false; - if (getRowCount() - != other.getRowCount()) return false; + com.google.cloud.video.livestream.v1.SpriteSheet other = + (com.google.cloud.video.livestream.v1.SpriteSheet) obj; + + if (!getFormat().equals(other.getFormat())) return false; + if (!getFilePrefix().equals(other.getFilePrefix())) return false; + if (getSpriteWidthPixels() != other.getSpriteWidthPixels()) return false; + if (getSpriteHeightPixels() != other.getSpriteHeightPixels()) return false; + if (getColumnCount() != other.getColumnCount()) return false; + if (getRowCount() != other.getRowCount()) return false; if (hasInterval() != other.hasInterval()) return false; if (hasInterval()) { - if (!getInterval() - .equals(other.getInterval())) return false; + if (!getInterval().equals(other.getInterval())) return false; } - if (getQuality() - != other.getQuality()) return false; + if (getQuality() != other.getQuality()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -509,118 +548,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.SpriteSheet parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.SpriteSheet parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.SpriteSheet parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.SpriteSheet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.video.livestream.v1.SpriteSheet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Sprite sheet configuration.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.SpriteSheet} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.SpriteSheet) com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SpriteSheet_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_SpriteSheet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.SpriteSheet.class, com.google.cloud.video.livestream.v1.SpriteSheet.Builder.class); + com.google.cloud.video.livestream.v1.SpriteSheet.class, + com.google.cloud.video.livestream.v1.SpriteSheet.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.SpriteSheet.newBuilder() @@ -628,16 +676,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(); @@ -665,9 +712,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_SpriteSheet_descriptor; } @java.lang.Override @@ -686,7 +733,8 @@ public com.google.cloud.video.livestream.v1.SpriteSheet build() { @java.lang.Override public com.google.cloud.video.livestream.v1.SpriteSheet buildPartial() { - com.google.cloud.video.livestream.v1.SpriteSheet result = new com.google.cloud.video.livestream.v1.SpriteSheet(this); + com.google.cloud.video.livestream.v1.SpriteSheet result = + new com.google.cloud.video.livestream.v1.SpriteSheet(this); result.format_ = format_; result.filePrefix_ = filePrefix_; result.spriteWidthPixels_ = spriteWidthPixels_; @@ -707,38 +755,39 @@ public com.google.cloud.video.livestream.v1.SpriteSheet buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.SpriteSheet) { - return mergeFrom((com.google.cloud.video.livestream.v1.SpriteSheet)other); + return mergeFrom((com.google.cloud.video.livestream.v1.SpriteSheet) other); } else { super.mergeFrom(other); return this; @@ -746,7 +795,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.SpriteSheet other) { - if (other == com.google.cloud.video.livestream.v1.SpriteSheet.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.SpriteSheet.getDefaultInstance()) + return this; if (!other.getFormat().isEmpty()) { format_ = other.format_; onChanged(); @@ -804,6 +854,8 @@ public Builder mergeFrom( private java.lang.Object format_ = ""; /** + * + * *
      * Format type. The default is `jpeg`.
      * Supported formats:
@@ -811,13 +863,13 @@ public Builder mergeFrom(
      * 
* * string format = 1; + * * @return The format. */ public java.lang.String getFormat() { java.lang.Object ref = format_; 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(); format_ = s; return s; @@ -826,6 +878,8 @@ public java.lang.String getFormat() { } } /** + * + * *
      * Format type. The default is `jpeg`.
      * Supported formats:
@@ -833,15 +887,14 @@ public java.lang.String getFormat() {
      * 
* * string format = 1; + * * @return The bytes for format. */ - public com.google.protobuf.ByteString - getFormatBytes() { + public com.google.protobuf.ByteString getFormatBytes() { java.lang.Object ref = format_; 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); format_ = b; return b; } else { @@ -849,6 +902,8 @@ public java.lang.String getFormat() { } } /** + * + * *
      * Format type. The default is `jpeg`.
      * Supported formats:
@@ -856,20 +911,22 @@ public java.lang.String getFormat() {
      * 
* * string format = 1; + * * @param value The format to set. * @return This builder for chaining. */ - public Builder setFormat( - java.lang.String value) { + public Builder setFormat(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + format_ = value; onChanged(); return this; } /** + * + * *
      * Format type. The default is `jpeg`.
      * Supported formats:
@@ -877,15 +934,18 @@ public Builder setFormat(
      * 
* * string format = 1; + * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = getDefaultInstance().getFormat(); onChanged(); return this; } /** + * + * *
      * Format type. The default is `jpeg`.
      * Supported formats:
@@ -893,16 +953,16 @@ public Builder clearFormat() {
      * 
* * string format = 1; + * * @param value The bytes for format to set. * @return This builder for chaining. */ - public Builder setFormatBytes( - com.google.protobuf.ByteString value) { + public Builder setFormatBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + format_ = value; onChanged(); return this; @@ -910,6 +970,8 @@ public Builder setFormatBytes( private java.lang.Object filePrefix_ = ""; /** + * + * *
      * Required. File name prefix for the generated sprite sheets. If multiple
      * sprite sheets are added to the channel, each must have a unique file
@@ -919,13 +981,13 @@ public Builder setFormatBytes(
      * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filePrefix. */ public java.lang.String getFilePrefix() { java.lang.Object ref = filePrefix_; 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(); filePrefix_ = s; return s; @@ -934,6 +996,8 @@ public java.lang.String getFilePrefix() { } } /** + * + * *
      * Required. File name prefix for the generated sprite sheets. If multiple
      * sprite sheets are added to the channel, each must have a unique file
@@ -943,15 +1007,14 @@ public java.lang.String getFilePrefix() {
      * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filePrefix. */ - public com.google.protobuf.ByteString - getFilePrefixBytes() { + public com.google.protobuf.ByteString getFilePrefixBytes() { java.lang.Object ref = filePrefix_; 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); filePrefix_ = b; return b; } else { @@ -959,6 +1022,8 @@ public java.lang.String getFilePrefix() { } } /** + * + * *
      * Required. File name prefix for the generated sprite sheets. If multiple
      * sprite sheets are added to the channel, each must have a unique file
@@ -968,20 +1033,22 @@ public java.lang.String getFilePrefix() {
      * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The filePrefix to set. * @return This builder for chaining. */ - public Builder setFilePrefix( - java.lang.String value) { + public Builder setFilePrefix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filePrefix_ = value; onChanged(); return this; } /** + * + * *
      * Required. File name prefix for the generated sprite sheets. If multiple
      * sprite sheets are added to the channel, each must have a unique file
@@ -991,15 +1058,18 @@ public Builder setFilePrefix(
      * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilePrefix() { - + filePrefix_ = getDefaultInstance().getFilePrefix(); onChanged(); return this; } /** + * + * *
      * Required. File name prefix for the generated sprite sheets. If multiple
      * sprite sheets are added to the channel, each must have a unique file
@@ -1009,28 +1079,31 @@ public Builder clearFilePrefix() {
      * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for filePrefix to set. * @return This builder for chaining. */ - public Builder setFilePrefixBytes( - com.google.protobuf.ByteString value) { + public Builder setFilePrefixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filePrefix_ = value; onChanged(); return this; } - private int spriteWidthPixels_ ; + private int spriteWidthPixels_; /** + * + * *
      * Required. The width of the sprite in pixels. Must be an even integer.
      * 
* * int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The spriteWidthPixels. */ @java.lang.Override @@ -1038,42 +1111,51 @@ public int getSpriteWidthPixels() { return spriteWidthPixels_; } /** + * + * *
      * Required. The width of the sprite in pixels. Must be an even integer.
      * 
* * int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The spriteWidthPixels to set. * @return This builder for chaining. */ public Builder setSpriteWidthPixels(int value) { - + spriteWidthPixels_ = value; onChanged(); return this; } /** + * + * *
      * Required. The width of the sprite in pixels. Must be an even integer.
      * 
* * int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSpriteWidthPixels() { - + spriteWidthPixels_ = 0; onChanged(); return this; } - private int spriteHeightPixels_ ; + private int spriteHeightPixels_; /** + * + * *
      * Required. The height of the sprite in pixels. Must be an even integer.
      * 
* * int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The spriteHeightPixels. */ @java.lang.Override @@ -1081,43 +1163,52 @@ public int getSpriteHeightPixels() { return spriteHeightPixels_; } /** + * + * *
      * Required. The height of the sprite in pixels. Must be an even integer.
      * 
* * int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The spriteHeightPixels to set. * @return This builder for chaining. */ public Builder setSpriteHeightPixels(int value) { - + spriteHeightPixels_ = value; onChanged(); return this; } /** + * + * *
      * Required. The height of the sprite in pixels. Must be an even integer.
      * 
* * int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSpriteHeightPixels() { - + spriteHeightPixels_ = 0; onChanged(); return this; } - private int columnCount_ ; + private int columnCount_; /** + * + * *
      * The maximum number of sprites per row in a sprite sheet. Valid range is
      * [1, 10] and the default value is 1.
      * 
* * int32 column_count = 5; + * * @return The columnCount. */ @java.lang.Override @@ -1125,39 +1216,47 @@ public int getColumnCount() { return columnCount_; } /** + * + * *
      * The maximum number of sprites per row in a sprite sheet. Valid range is
      * [1, 10] and the default value is 1.
      * 
* * int32 column_count = 5; + * * @param value The columnCount to set. * @return This builder for chaining. */ public Builder setColumnCount(int value) { - + columnCount_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of sprites per row in a sprite sheet. Valid range is
      * [1, 10] and the default value is 1.
      * 
* * int32 column_count = 5; + * * @return This builder for chaining. */ public Builder clearColumnCount() { - + columnCount_ = 0; onChanged(); return this; } - private int rowCount_ ; + private int rowCount_; /** + * + * *
      * The maximum number of rows per sprite sheet. When the sprite sheet is full,
      * a new sprite sheet is created. Valid range is [1, 10] and the default value
@@ -1165,6 +1264,7 @@ public Builder clearColumnCount() {
      * 
* * int32 row_count = 6; + * * @return The rowCount. */ @java.lang.Override @@ -1172,6 +1272,8 @@ public int getRowCount() { return rowCount_; } /** + * + * *
      * The maximum number of rows per sprite sheet. When the sprite sheet is full,
      * a new sprite sheet is created. Valid range is [1, 10] and the default value
@@ -1179,16 +1281,19 @@ public int getRowCount() {
      * 
* * int32 row_count = 6; + * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(int value) { - + rowCount_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of rows per sprite sheet. When the sprite sheet is full,
      * a new sprite sheet is created. Valid range is [1, 10] and the default value
@@ -1196,10 +1301,11 @@ public Builder setRowCount(int value) {
      * 
* * int32 row_count = 6; + * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0; onChanged(); return this; @@ -1207,26 +1313,35 @@ public Builder clearRowCount() { private com.google.protobuf.Duration interval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> intervalBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + intervalBuilder_; /** + * + * *
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
      * 
* * .google.protobuf.Duration interval = 7; + * * @return Whether the interval field is set. */ public boolean hasInterval() { return intervalBuilder_ != null || interval_ != null; } /** + * + * *
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
      * 
* * .google.protobuf.Duration interval = 7; + * * @return The interval. */ public com.google.protobuf.Duration getInterval() { @@ -1237,6 +1352,8 @@ public com.google.protobuf.Duration getInterval() { } } /** + * + * *
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
@@ -1258,6 +1375,8 @@ public Builder setInterval(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
@@ -1265,8 +1384,7 @@ public Builder setInterval(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration interval = 7;
      */
-    public Builder setInterval(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setInterval(com.google.protobuf.Duration.Builder builderForValue) {
       if (intervalBuilder_ == null) {
         interval_ = builderForValue.build();
         onChanged();
@@ -1277,6 +1395,8 @@ public Builder setInterval(
       return this;
     }
     /**
+     *
+     *
      * 
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
@@ -1288,7 +1408,7 @@ public Builder mergeInterval(com.google.protobuf.Duration value) {
       if (intervalBuilder_ == null) {
         if (interval_ != null) {
           interval_ =
-            com.google.protobuf.Duration.newBuilder(interval_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(interval_).mergeFrom(value).buildPartial();
         } else {
           interval_ = value;
         }
@@ -1300,6 +1420,8 @@ public Builder mergeInterval(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
@@ -1319,6 +1441,8 @@ public Builder clearInterval() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
@@ -1327,11 +1451,13 @@ public Builder clearInterval() {
      * .google.protobuf.Duration interval = 7;
      */
     public com.google.protobuf.Duration.Builder getIntervalBuilder() {
-      
+
       onChanged();
       return getIntervalFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
@@ -1343,11 +1469,12 @@ public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder() {
       if (intervalBuilder_ != null) {
         return intervalBuilder_.getMessageOrBuilder();
       } else {
-        return interval_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : interval_;
+        return interval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : interval_;
       }
     }
     /**
+     *
+     *
      * 
      * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
      * the default value is `10s`.
@@ -1356,21 +1483,26 @@ public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder() {
      * .google.protobuf.Duration interval = 7;
      */
     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>
         getIntervalFieldBuilder() {
       if (intervalBuilder_ == null) {
-        intervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getInterval(),
-                getParentForChildren(),
-                isClean());
+        intervalBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getInterval(), getParentForChildren(), isClean());
         interval_ = null;
       }
       return intervalBuilder_;
     }
 
-    private int quality_ ;
+    private int quality_;
     /**
+     *
+     *
      * 
      * The quality of the generated sprite sheet. Enter a value between 1
      * and 100, where 1 is the lowest quality and 100 is the highest quality.
@@ -1379,6 +1511,7 @@ public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder() {
      * 
* * int32 quality = 8; + * * @return The quality. */ @java.lang.Override @@ -1386,6 +1519,8 @@ public int getQuality() { return quality_; } /** + * + * *
      * The quality of the generated sprite sheet. Enter a value between 1
      * and 100, where 1 is the lowest quality and 100 is the highest quality.
@@ -1394,16 +1529,19 @@ public int getQuality() {
      * 
* * int32 quality = 8; + * * @param value The quality to set. * @return This builder for chaining. */ public Builder setQuality(int value) { - + quality_ = value; onChanged(); return this; } /** + * + * *
      * The quality of the generated sprite sheet. Enter a value between 1
      * and 100, where 1 is the lowest quality and 100 is the highest quality.
@@ -1412,17 +1550,18 @@ public Builder setQuality(int value) {
      * 
* * int32 quality = 8; + * * @return This builder for chaining. */ public Builder clearQuality() { - + quality_ = 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); } @@ -1432,12 +1571,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.SpriteSheet) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.SpriteSheet) private static final com.google.cloud.video.livestream.v1.SpriteSheet DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.SpriteSheet(); } @@ -1446,16 +1585,16 @@ public static com.google.cloud.video.livestream.v1.SpriteSheet getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpriteSheet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpriteSheet(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpriteSheet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpriteSheet(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1470,6 +1609,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.SpriteSheet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheetOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheetOrBuilder.java similarity index 81% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheetOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheetOrBuilder.java index 0c3f01d..a4e21b6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheetOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/SpriteSheetOrBuilder.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/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; -public interface SpriteSheetOrBuilder extends +public interface SpriteSheetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.SpriteSheet) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Format type. The default is `jpeg`.
    * Supported formats:
@@ -15,10 +33,13 @@ public interface SpriteSheetOrBuilder extends
    * 
* * string format = 1; + * * @return The format. */ java.lang.String getFormat(); /** + * + * *
    * Format type. The default is `jpeg`.
    * Supported formats:
@@ -26,12 +47,14 @@ public interface SpriteSheetOrBuilder extends
    * 
* * string format = 1; + * * @return The bytes for format. */ - com.google.protobuf.ByteString - getFormatBytes(); + com.google.protobuf.ByteString getFormatBytes(); /** + * + * *
    * Required. File name prefix for the generated sprite sheets. If multiple
    * sprite sheets are added to the channel, each must have a unique file
@@ -41,10 +64,13 @@ public interface SpriteSheetOrBuilder extends
    * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filePrefix. */ java.lang.String getFilePrefix(); /** + * + * *
    * Required. File name prefix for the generated sprite sheets. If multiple
    * sprite sheets are added to the channel, each must have a unique file
@@ -54,43 +80,54 @@ public interface SpriteSheetOrBuilder extends
    * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filePrefix. */ - com.google.protobuf.ByteString - getFilePrefixBytes(); + com.google.protobuf.ByteString getFilePrefixBytes(); /** + * + * *
    * Required. The width of the sprite in pixels. Must be an even integer.
    * 
* * int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The spriteWidthPixels. */ int getSpriteWidthPixels(); /** + * + * *
    * Required. The height of the sprite in pixels. Must be an even integer.
    * 
* * int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The spriteHeightPixels. */ int getSpriteHeightPixels(); /** + * + * *
    * The maximum number of sprites per row in a sprite sheet. Valid range is
    * [1, 10] and the default value is 1.
    * 
* * int32 column_count = 5; + * * @return The columnCount. */ int getColumnCount(); /** + * + * *
    * The maximum number of rows per sprite sheet. When the sprite sheet is full,
    * a new sprite sheet is created. Valid range is [1, 10] and the default value
@@ -98,31 +135,40 @@ public interface SpriteSheetOrBuilder extends
    * 
* * int32 row_count = 6; + * * @return The rowCount. */ int getRowCount(); /** + * + * *
    * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
    * the default value is `10s`.
    * 
* * .google.protobuf.Duration interval = 7; + * * @return Whether the interval field is set. */ boolean hasInterval(); /** + * + * *
    * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
    * the default value is `10s`.
    * 
* * .google.protobuf.Duration interval = 7; + * * @return The interval. */ com.google.protobuf.Duration getInterval(); /** + * + * *
    * Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
    * the default value is `10s`.
@@ -133,6 +179,8 @@ public interface SpriteSheetOrBuilder extends
   com.google.protobuf.DurationOrBuilder getIntervalOrBuilder();
 
   /**
+   *
+   *
    * 
    * The quality of the generated sprite sheet. Enter a value between 1
    * and 100, where 1 is the lowest quality and 100 is the highest quality.
@@ -141,6 +189,7 @@ public interface SpriteSheetOrBuilder extends
    * 
* * int32 quality = 8; + * * @return The quality. */ int getQuality(); diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequest.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequest.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequest.java index 10dbb72..1b22eaa 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequest.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequest.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Request message for "LivestreamService.StartChannel".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.StartChannelRequest} */ -public final class StartChannelRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StartChannelRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.StartChannelRequest) StartChannelRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StartChannelRequest.newBuilder() to construct. private StartChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StartChannelRequest() { name_ = ""; requestId_ = ""; @@ -26,16 +44,15 @@ private StartChannelRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StartChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StartChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private StartChannelRequest( 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(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,42 @@ private StartChannelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StartChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_StartChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.StartChannelRequest.class, com.google.cloud.video.livestream.v1.StartChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.StartChannelRequest.class, + com.google.cloud.video.livestream.v1.StartChannelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -117,30 +143,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -151,6 +179,8 @@ public java.lang.String getName() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -166,6 +196,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2; + * * @return The requestId. */ @java.lang.Override @@ -174,14 +205,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -197,16 +229,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -215,6 +246,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,8 +258,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_); } @@ -257,17 +288,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.video.livestream.v1.StartChannelRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.StartChannelRequest other = (com.google.cloud.video.livestream.v1.StartChannelRequest) obj; + com.google.cloud.video.livestream.v1.StartChannelRequest other = + (com.google.cloud.video.livestream.v1.StartChannelRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -289,117 +319,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.StartChannelRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.StartChannelRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.StartChannelRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.StartChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.StartChannelRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.StartChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for "LivestreamService.StartChannel".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.StartChannelRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.StartChannelRequest) com.google.cloud.video.livestream.v1.StartChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StartChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_StartChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.StartChannelRequest.class, com.google.cloud.video.livestream.v1.StartChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.StartChannelRequest.class, + com.google.cloud.video.livestream.v1.StartChannelRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.StartChannelRequest.newBuilder() @@ -407,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 +467,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_StartChannelRequest_descriptor; } @java.lang.Override @@ -449,7 +488,8 @@ public com.google.cloud.video.livestream.v1.StartChannelRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.StartChannelRequest buildPartial() { - com.google.cloud.video.livestream.v1.StartChannelRequest result = new com.google.cloud.video.livestream.v1.StartChannelRequest(this); + com.google.cloud.video.livestream.v1.StartChannelRequest result = + new com.google.cloud.video.livestream.v1.StartChannelRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -460,38 +500,39 @@ public com.google.cloud.video.livestream.v1.StartChannelRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.StartChannelRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.StartChannelRequest)other); + return mergeFrom((com.google.cloud.video.livestream.v1.StartChannelRequest) other); } else { super.mergeFrom(other); return this; @@ -499,7 +540,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.StartChannelRequest other) { - if (other == com.google.cloud.video.livestream.v1.StartChannelRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.StartChannelRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -527,7 +569,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.StartChannelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.StartChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,19 +582,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -560,21 +607,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -582,57 +632,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -640,6 +703,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -655,13 +720,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -670,6 +735,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -685,15 +752,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -701,6 +767,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -716,20 +784,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -745,15 +815,18 @@ public Builder setRequestId(
      * 
* * string request_id = 2; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -769,23 +842,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -795,12 +868,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.StartChannelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.StartChannelRequest) private static final com.google.cloud.video.livestream.v1.StartChannelRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.StartChannelRequest(); } @@ -809,16 +882,16 @@ public static com.google.cloud.video.livestream.v1.StartChannelRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StartChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,6 +906,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.StartChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequestOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequestOrBuilder.java index 476e794..7fed817 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequestOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StartChannelRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface StartChannelRequestOrBuilder extends +public interface StartChannelRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.StartChannelRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -45,10 +72,13 @@ public interface StartChannelRequestOrBuilder extends
    * 
* * string request_id = 2; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -64,8 +94,8 @@ public interface StartChannelRequestOrBuilder extends
    * 
* * string request_id = 2; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequest.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequest.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequest.java index b85bd89..c0cc4c4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequest.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequest.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Request message for "LivestreamService.StopChannel".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.StopChannelRequest} */ -public final class StopChannelRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StopChannelRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.StopChannelRequest) StopChannelRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StopChannelRequest.newBuilder() to construct. private StopChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StopChannelRequest() { name_ = ""; requestId_ = ""; @@ -26,16 +44,15 @@ private StopChannelRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StopChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StopChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private StopChannelRequest( 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(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,42 @@ private StopChannelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StopChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_StopChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.StopChannelRequest.class, com.google.cloud.video.livestream.v1.StopChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.StopChannelRequest.class, + com.google.cloud.video.livestream.v1.StopChannelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -117,30 +143,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -151,6 +179,8 @@ public java.lang.String getName() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -166,6 +196,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2; + * * @return The requestId. */ @java.lang.Override @@ -174,14 +205,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -197,16 +229,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -215,6 +246,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,8 +258,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_); } @@ -257,17 +288,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.video.livestream.v1.StopChannelRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.StopChannelRequest other = (com.google.cloud.video.livestream.v1.StopChannelRequest) obj; + com.google.cloud.video.livestream.v1.StopChannelRequest other = + (com.google.cloud.video.livestream.v1.StopChannelRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -289,117 +319,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.StopChannelRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.StopChannelRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.StopChannelRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.StopChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.StopChannelRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.StopChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for "LivestreamService.StopChannel".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.StopChannelRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.StopChannelRequest) com.google.cloud.video.livestream.v1.StopChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StopChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_StopChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.StopChannelRequest.class, com.google.cloud.video.livestream.v1.StopChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.StopChannelRequest.class, + com.google.cloud.video.livestream.v1.StopChannelRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.StopChannelRequest.newBuilder() @@ -407,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 +467,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_StopChannelRequest_descriptor; } @java.lang.Override @@ -449,7 +488,8 @@ public com.google.cloud.video.livestream.v1.StopChannelRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.StopChannelRequest buildPartial() { - com.google.cloud.video.livestream.v1.StopChannelRequest result = new com.google.cloud.video.livestream.v1.StopChannelRequest(this); + com.google.cloud.video.livestream.v1.StopChannelRequest result = + new com.google.cloud.video.livestream.v1.StopChannelRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -460,38 +500,39 @@ public com.google.cloud.video.livestream.v1.StopChannelRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.StopChannelRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.StopChannelRequest)other); + return mergeFrom((com.google.cloud.video.livestream.v1.StopChannelRequest) other); } else { super.mergeFrom(other); return this; @@ -499,7 +540,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.StopChannelRequest other) { - if (other == com.google.cloud.video.livestream.v1.StopChannelRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.StopChannelRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -527,7 +569,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.StopChannelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.StopChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,19 +582,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -560,21 +607,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -582,57 +632,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the channel resource, in the form of:
      * `projects/{project}/locations/{location}/channels/{channelId}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -640,6 +703,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -655,13 +720,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -670,6 +735,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -685,15 +752,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -701,6 +767,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -716,20 +784,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -745,15 +815,18 @@ public Builder setRequestId(
      * 
* * string request_id = 2; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -769,23 +842,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -795,12 +868,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.StopChannelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.StopChannelRequest) private static final com.google.cloud.video.livestream.v1.StopChannelRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.StopChannelRequest(); } @@ -809,16 +882,16 @@ public static com.google.cloud.video.livestream.v1.StopChannelRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StopChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StopChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StopChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StopChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,6 +906,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.StopChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequestOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequestOrBuilder.java index 457bd62..4f2b0b9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequestOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/StopChannelRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface StopChannelRequestOrBuilder extends +public interface StopChannelRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.StopChannelRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the channel resource, in the form of:
    * `projects/{project}/locations/{location}/channels/{channelId}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -45,10 +72,13 @@ public interface StopChannelRequestOrBuilder extends
    * 
* * string request_id = 2; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -64,8 +94,8 @@ public interface StopChannelRequestOrBuilder extends
    * 
* * string request_id = 2; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStream.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStream.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStream.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStream.java index aa8dd21..3bba2fb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStream.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStream.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/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Encoding of a text stream. For example, closed captions or subtitles.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.TextStream} */ -public final class TextStream extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TextStream extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.TextStream) TextStreamOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TextStream.newBuilder() to construct. private TextStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TextStream() { codec_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TextStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TextStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private TextStream( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - codec_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + codec_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private TextStream( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_TextStream_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_TextStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_TextStream_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_TextStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.TextStream.class, com.google.cloud.video.livestream.v1.TextStream.Builder.class); + com.google.cloud.video.livestream.v1.TextStream.class, + com.google.cloud.video.livestream.v1.TextStream.Builder.class); } public static final int CODEC_FIELD_NUMBER = 1; private volatile java.lang.Object codec_; /** + * + * *
    * Required. The codec for this text stream.
    * Supported text codecs:
@@ -104,6 +126,7 @@ private TextStream(
    * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The codec. */ @java.lang.Override @@ -112,14 +135,15 @@ public java.lang.String getCodec() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; } } /** + * + * *
    * Required. The codec for this text stream.
    * Supported text codecs:
@@ -128,16 +152,15 @@ public java.lang.String getCodec() {
    * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for codec. */ @java.lang.Override - public com.google.protobuf.ByteString - getCodecBytes() { + public com.google.protobuf.ByteString getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); codec_ = b; return b; } else { @@ -146,6 +169,7 @@ public java.lang.String getCodec() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,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(codec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, codec_); } @@ -182,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.video.livestream.v1.TextStream)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.TextStream other = (com.google.cloud.video.livestream.v1.TextStream) obj; + com.google.cloud.video.livestream.v1.TextStream other = + (com.google.cloud.video.livestream.v1.TextStream) obj; - if (!getCodec() - .equals(other.getCodec())) return false; + if (!getCodec().equals(other.getCodec())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -209,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.TextStream parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.TextStream parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.TextStream parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.TextStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.TextStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.TextStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.TextStream parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.TextStream parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.TextStream parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.TextStream parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.TextStream parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.TextStream parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.TextStream parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.TextStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.video.livestream.v1.TextStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.TextStream} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.TextStream) com.google.cloud.video.livestream.v1.TextStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_TextStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_TextStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_TextStream_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_TextStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.TextStream.class, com.google.cloud.video.livestream.v1.TextStream.Builder.class); + com.google.cloud.video.livestream.v1.TextStream.class, + com.google.cloud.video.livestream.v1.TextStream.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.TextStream.newBuilder() @@ -328,16 +360,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(); @@ -347,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_TextStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_TextStream_descriptor; } @java.lang.Override @@ -368,7 +399,8 @@ public com.google.cloud.video.livestream.v1.TextStream build() { @java.lang.Override public com.google.cloud.video.livestream.v1.TextStream buildPartial() { - com.google.cloud.video.livestream.v1.TextStream result = new com.google.cloud.video.livestream.v1.TextStream(this); + com.google.cloud.video.livestream.v1.TextStream result = + new com.google.cloud.video.livestream.v1.TextStream(this); result.codec_ = codec_; onBuilt(); return result; @@ -378,38 +410,39 @@ public com.google.cloud.video.livestream.v1.TextStream buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.TextStream) { - return mergeFrom((com.google.cloud.video.livestream.v1.TextStream)other); + return mergeFrom((com.google.cloud.video.livestream.v1.TextStream) other); } else { super.mergeFrom(other); return this; @@ -417,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.TextStream other) { - if (other == com.google.cloud.video.livestream.v1.TextStream.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.TextStream.getDefaultInstance()) + return this; if (!other.getCodec().isEmpty()) { codec_ = other.codec_; onChanged(); @@ -453,6 +487,8 @@ public Builder mergeFrom( private java.lang.Object codec_ = ""; /** + * + * *
      * Required. The codec for this text stream.
      * Supported text codecs:
@@ -461,13 +497,13 @@ public Builder mergeFrom(
      * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The codec. */ public java.lang.String getCodec() { java.lang.Object ref = codec_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; @@ -476,6 +512,8 @@ public java.lang.String getCodec() { } } /** + * + * *
      * Required. The codec for this text stream.
      * Supported text codecs:
@@ -484,15 +522,14 @@ public java.lang.String getCodec() {
      * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for codec. */ - public com.google.protobuf.ByteString - getCodecBytes() { + public com.google.protobuf.ByteString getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); codec_ = b; return b; } else { @@ -500,6 +537,8 @@ public java.lang.String getCodec() { } } /** + * + * *
      * Required. The codec for this text stream.
      * Supported text codecs:
@@ -508,20 +547,22 @@ public java.lang.String getCodec() {
      * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The codec to set. * @return This builder for chaining. */ - public Builder setCodec( - java.lang.String value) { + public Builder setCodec(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + codec_ = value; onChanged(); return this; } /** + * + * *
      * Required. The codec for this text stream.
      * Supported text codecs:
@@ -530,15 +571,18 @@ public Builder setCodec(
      * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCodec() { - + codec_ = getDefaultInstance().getCodec(); onChanged(); return this; } /** + * + * *
      * Required. The codec for this text stream.
      * Supported text codecs:
@@ -547,23 +591,23 @@ public Builder clearCodec() {
      * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for codec to set. * @return This builder for chaining. */ - public Builder setCodecBytes( - com.google.protobuf.ByteString value) { + public Builder setCodecBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + codec_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -573,12 +617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.TextStream) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.TextStream) private static final com.google.cloud.video.livestream.v1.TextStream DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.TextStream(); } @@ -587,16 +631,16 @@ public static com.google.cloud.video.livestream.v1.TextStream getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -611,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.TextStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStreamOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStreamOrBuilder.java similarity index 53% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStreamOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStreamOrBuilder.java index 62c56e7..43b98cc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStreamOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStreamOrBuilder.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/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; -public interface TextStreamOrBuilder extends +public interface TextStreamOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.TextStream) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The codec for this text stream.
    * Supported text codecs:
@@ -16,10 +34,13 @@ public interface TextStreamOrBuilder extends
    * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The codec. */ java.lang.String getCodec(); /** + * + * *
    * Required. The codec for this text stream.
    * Supported text codecs:
@@ -28,8 +49,8 @@ public interface TextStreamOrBuilder extends
    * 
* * string codec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for codec. */ - com.google.protobuf.ByteString - getCodecBytes(); + com.google.protobuf.ByteString getCodecBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequest.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequest.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequest.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequest.java index c02337d..2a66536 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequest.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequest.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Request message for "LivestreamService.UpdateChannel".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.UpdateChannelRequest} */ -public final class UpdateChannelRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateChannelRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.UpdateChannelRequest) UpdateChannelRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateChannelRequest.newBuilder() to construct. private UpdateChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateChannelRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,45 +70,51 @@ private UpdateChannelRequest( case 0: done = true; break; - case 10: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.video.livestream.v1.Channel.Builder subBuilder = null; - if (channel_ != null) { - subBuilder = channel_.toBuilder(); - } - channel_ = input.readMessage(com.google.cloud.video.livestream.v1.Channel.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(channel_); - channel_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.video.livestream.v1.Channel.Builder subBuilder = null; + if (channel_ != null) { + subBuilder = channel_.toBuilder(); + } + channel_ = + input.readMessage( + com.google.cloud.video.livestream.v1.Channel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(channel_); + channel_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,29 +122,33 @@ private UpdateChannelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.UpdateChannelRequest.class, com.google.cloud.video.livestream.v1.UpdateChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.UpdateChannelRequest.class, + com.google.cloud.video.livestream.v1.UpdateChannelRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the Channel
    * resource by the update. You can only update the following fields:
@@ -136,6 +163,7 @@ private UpdateChannelRequest(
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -143,6 +171,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the Channel
    * resource by the update. You can only update the following fields:
@@ -157,6 +187,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return The updateMask. */ @java.lang.Override @@ -164,6 +195,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the Channel
    * resource by the update. You can only update the following fields:
@@ -187,11 +220,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int CHANNEL_FIELD_NUMBER = 2;
   private com.google.cloud.video.livestream.v1.Channel channel_;
   /**
+   *
+   *
    * 
    * Required. The channel resource to be updated.
    * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channel field is set. */ @java.lang.Override @@ -199,23 +237,34 @@ public boolean hasChannel() { return channel_ != null; } /** + * + * *
    * Required. The channel resource to be updated.
    * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channel. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Channel getChannel() { - return channel_ == null ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() : channel_; + return channel_ == null + ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() + : channel_; } /** + * + * *
    * Required. The channel resource to be updated.
    * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder() { @@ -225,6 +274,8 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -240,6 +291,7 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder
    * 
* * string request_id = 3; + * * @return The requestId. */ @java.lang.Override @@ -248,14 +300,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -271,16 +324,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -289,6 +341,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,8 +353,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -321,12 +373,10 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (channel_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getChannel()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getChannel()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -339,25 +389,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.UpdateChannelRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.UpdateChannelRequest other = (com.google.cloud.video.livestream.v1.UpdateChannelRequest) obj; + com.google.cloud.video.livestream.v1.UpdateChannelRequest other = + (com.google.cloud.video.livestream.v1.UpdateChannelRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasChannel() != other.hasChannel()) return false; if (hasChannel()) { - if (!getChannel() - .equals(other.getChannel())) return false; + if (!getChannel().equals(other.getChannel())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -385,117 +433,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.UpdateChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.UpdateChannelRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.UpdateChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for "LivestreamService.UpdateChannel".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.UpdateChannelRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.UpdateChannelRequest) com.google.cloud.video.livestream.v1.UpdateChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.UpdateChannelRequest.class, com.google.cloud.video.livestream.v1.UpdateChannelRequest.Builder.class); + com.google.cloud.video.livestream.v1.UpdateChannelRequest.class, + com.google.cloud.video.livestream.v1.UpdateChannelRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.UpdateChannelRequest.newBuilder() @@ -503,16 +561,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(); @@ -534,9 +591,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_UpdateChannelRequest_descriptor; } @java.lang.Override @@ -555,7 +612,8 @@ public com.google.cloud.video.livestream.v1.UpdateChannelRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.UpdateChannelRequest buildPartial() { - com.google.cloud.video.livestream.v1.UpdateChannelRequest result = new com.google.cloud.video.livestream.v1.UpdateChannelRequest(this); + com.google.cloud.video.livestream.v1.UpdateChannelRequest result = + new com.google.cloud.video.livestream.v1.UpdateChannelRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -575,38 +633,39 @@ public com.google.cloud.video.livestream.v1.UpdateChannelRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.UpdateChannelRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.UpdateChannelRequest)other); + return mergeFrom((com.google.cloud.video.livestream.v1.UpdateChannelRequest) other); } else { super.mergeFrom(other); return this; @@ -614,7 +673,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.UpdateChannelRequest other) { - if (other == com.google.cloud.video.livestream.v1.UpdateChannelRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.UpdateChannelRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -644,7 +704,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.UpdateChannelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.UpdateChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -656,8 +717,13 @@ public Builder mergeFrom( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -672,12 +738,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -692,16 +761,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -731,6 +805,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -746,8 +822,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 1;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -758,6 +833,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -777,7 +854,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -789,6 +866,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -816,6 +895,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -832,11 +913,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -856,11 +939,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Channel
      * resource by the update. You can only update the following fields:
@@ -877,14 +963,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
@@ -892,39 +981,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.cloud.video.livestream.v1.Channel channel_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder> channelBuilder_;
+            com.google.cloud.video.livestream.v1.Channel,
+            com.google.cloud.video.livestream.v1.Channel.Builder,
+            com.google.cloud.video.livestream.v1.ChannelOrBuilder>
+        channelBuilder_;
     /**
+     *
+     *
      * 
      * Required. The channel resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channel field is set. */ public boolean hasChannel() { return channelBuilder_ != null || channel_ != null; } /** + * + * *
      * Required. The channel resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channel. */ public com.google.cloud.video.livestream.v1.Channel getChannel() { if (channelBuilder_ == null) { - return channel_ == null ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() : channel_; + return channel_ == null + ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() + : channel_; } else { return channelBuilder_.getMessage(); } } /** + * + * *
      * Required. The channel resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setChannel(com.google.cloud.video.livestream.v1.Channel value) { if (channelBuilder_ == null) { @@ -940,11 +1048,15 @@ public Builder setChannel(com.google.cloud.video.livestream.v1.Channel value) { return this; } /** + * + * *
      * Required. The channel resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setChannel( com.google.cloud.video.livestream.v1.Channel.Builder builderForValue) { @@ -958,17 +1070,23 @@ public Builder setChannel( return this; } /** + * + * *
      * Required. The channel resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeChannel(com.google.cloud.video.livestream.v1.Channel value) { if (channelBuilder_ == null) { if (channel_ != null) { channel_ = - com.google.cloud.video.livestream.v1.Channel.newBuilder(channel_).mergeFrom(value).buildPartial(); + com.google.cloud.video.livestream.v1.Channel.newBuilder(channel_) + .mergeFrom(value) + .buildPartial(); } else { channel_ = value; } @@ -980,11 +1098,15 @@ public Builder mergeChannel(com.google.cloud.video.livestream.v1.Channel value) return this; } /** + * + * *
      * Required. The channel resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearChannel() { if (channelBuilder_ == null) { @@ -998,48 +1120,64 @@ public Builder clearChannel() { return this; } /** + * + * *
      * Required. The channel resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.video.livestream.v1.Channel.Builder getChannelBuilder() { - + onChanged(); return getChannelFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The channel resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder() { if (channelBuilder_ != null) { return channelBuilder_.getMessageOrBuilder(); } else { - return channel_ == null ? - com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() : channel_; + return channel_ == null + ? com.google.cloud.video.livestream.v1.Channel.getDefaultInstance() + : channel_; } } /** + * + * *
      * Required. The channel resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder> + com.google.cloud.video.livestream.v1.Channel, + com.google.cloud.video.livestream.v1.Channel.Builder, + com.google.cloud.video.livestream.v1.ChannelOrBuilder> getChannelFieldBuilder() { if (channelBuilder_ == null) { - channelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Channel, com.google.cloud.video.livestream.v1.Channel.Builder, com.google.cloud.video.livestream.v1.ChannelOrBuilder>( - getChannel(), - getParentForChildren(), - isClean()); + channelBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.Channel, + com.google.cloud.video.livestream.v1.Channel.Builder, + com.google.cloud.video.livestream.v1.ChannelOrBuilder>( + getChannel(), getParentForChildren(), isClean()); channel_ = null; } return channelBuilder_; @@ -1047,6 +1185,8 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1062,13 +1202,13 @@ public com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder
      * 
* * string request_id = 3; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1077,6 +1217,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1092,15 +1234,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1108,6 +1249,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1123,20 +1266,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1152,15 +1297,18 @@ public Builder setRequestId(
      * 
* * string request_id = 3; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1176,23 +1324,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1202,12 +1350,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.UpdateChannelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.UpdateChannelRequest) private static final com.google.cloud.video.livestream.v1.UpdateChannelRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.UpdateChannelRequest(); } @@ -1216,16 +1364,16 @@ public static com.google.cloud.video.livestream.v1.UpdateChannelRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1240,6 +1388,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.UpdateChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequestOrBuilder.java similarity index 84% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequestOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequestOrBuilder.java index 8d555a7..25b967d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequestOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateChannelRequestOrBuilder.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface UpdateChannelRequestOrBuilder extends +public interface UpdateChannelRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.UpdateChannelRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the Channel
    * resource by the update. You can only update the following fields:
@@ -22,10 +40,13 @@ public interface UpdateChannelRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the Channel
    * resource by the update. You can only update the following fields:
@@ -40,10 +61,13 @@ public interface UpdateChannelRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the Channel
    * resource by the update. You can only update the following fields:
@@ -62,33 +86,49 @@ public interface UpdateChannelRequestOrBuilder extends
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. The channel resource to be updated.
    * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channel field is set. */ boolean hasChannel(); /** + * + * *
    * Required. The channel resource to be updated.
    * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channel. */ com.google.cloud.video.livestream.v1.Channel getChannel(); /** + * + * *
    * Required. The channel resource to be updated.
    * 
* - * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.video.livestream.v1.ChannelOrBuilder getChannelOrBuilder(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -104,10 +144,13 @@ public interface UpdateChannelRequestOrBuilder extends
    * 
* * string request_id = 3; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -123,8 +166,8 @@ public interface UpdateChannelRequestOrBuilder extends
    * 
* * string request_id = 3; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequest.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequest.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequest.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequest.java index c7493e4..e3efabd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequest.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequest.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Request message for "LivestreamService.UpdateInput".
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.UpdateInputRequest} */ -public final class UpdateInputRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateInputRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.UpdateInputRequest) UpdateInputRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateInputRequest.newBuilder() to construct. private UpdateInputRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateInputRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateInputRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateInputRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,45 +70,51 @@ private UpdateInputRequest( case 0: done = true; break; - case 10: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.video.livestream.v1.Input.Builder subBuilder = null; - if (input_ != null) { - subBuilder = input_.toBuilder(); - } - input_ = input.readMessage(com.google.cloud.video.livestream.v1.Input.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(input_); - input_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.video.livestream.v1.Input.Builder subBuilder = null; + if (input_ != null) { + subBuilder = input_.toBuilder(); + } + input_ = + input.readMessage( + com.google.cloud.video.livestream.v1.Input.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(input_); + input_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,29 +122,33 @@ private UpdateInputRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.UpdateInputRequest.class, com.google.cloud.video.livestream.v1.UpdateInputRequest.Builder.class); + com.google.cloud.video.livestream.v1.UpdateInputRequest.class, + com.google.cloud.video.livestream.v1.UpdateInputRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the Input
    * resource by the update. You can only update the following fields:
@@ -132,6 +159,7 @@ private UpdateInputRequest(
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -139,6 +167,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the Input
    * resource by the update. You can only update the following fields:
@@ -149,6 +179,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return The updateMask. */ @java.lang.Override @@ -156,6 +187,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the Input
    * resource by the update. You can only update the following fields:
@@ -175,11 +208,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int INPUT_FIELD_NUMBER = 2;
   private com.google.cloud.video.livestream.v1.Input input_;
   /**
+   *
+   *
    * 
    * Required. The input resource to be updated.
    * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the input field is set. */ @java.lang.Override @@ -187,23 +225,34 @@ public boolean hasInput() { return input_ != null; } /** + * + * *
    * Required. The input resource to be updated.
    * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The input. */ @java.lang.Override public com.google.cloud.video.livestream.v1.Input getInput() { - return input_ == null ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() : input_; + return input_ == null + ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() + : input_; } /** + * + * *
    * Required. The input resource to be updated.
    * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() { @@ -213,6 +262,8 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -228,6 +279,7 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() {
    * 
* * string request_id = 3; + * * @return The requestId. */ @java.lang.Override @@ -236,14 +288,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -259,16 +312,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -277,6 +329,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,8 +341,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -309,12 +361,10 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (input_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getInput()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInput()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -327,25 +377,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.UpdateInputRequest)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.UpdateInputRequest other = (com.google.cloud.video.livestream.v1.UpdateInputRequest) obj; + com.google.cloud.video.livestream.v1.UpdateInputRequest other = + (com.google.cloud.video.livestream.v1.UpdateInputRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasInput() != other.hasInput()) return false; if (hasInput()) { - if (!getInput() - .equals(other.getInput())) return false; + if (!getInput().equals(other.getInput())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -373,117 +421,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.UpdateInputRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.UpdateInputRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.UpdateInputRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for "LivestreamService.UpdateInput".
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.UpdateInputRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.UpdateInputRequest) com.google.cloud.video.livestream.v1.UpdateInputRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.UpdateInputRequest.class, com.google.cloud.video.livestream.v1.UpdateInputRequest.Builder.class); + com.google.cloud.video.livestream.v1.UpdateInputRequest.class, + com.google.cloud.video.livestream.v1.UpdateInputRequest.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.UpdateInputRequest.newBuilder() @@ -491,16 +549,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(); @@ -522,9 +579,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ServiceProto.internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ServiceProto + .internal_static_google_cloud_video_livestream_v1_UpdateInputRequest_descriptor; } @java.lang.Override @@ -543,7 +600,8 @@ public com.google.cloud.video.livestream.v1.UpdateInputRequest build() { @java.lang.Override public com.google.cloud.video.livestream.v1.UpdateInputRequest buildPartial() { - com.google.cloud.video.livestream.v1.UpdateInputRequest result = new com.google.cloud.video.livestream.v1.UpdateInputRequest(this); + com.google.cloud.video.livestream.v1.UpdateInputRequest result = + new com.google.cloud.video.livestream.v1.UpdateInputRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -563,38 +621,39 @@ public com.google.cloud.video.livestream.v1.UpdateInputRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.UpdateInputRequest) { - return mergeFrom((com.google.cloud.video.livestream.v1.UpdateInputRequest)other); + return mergeFrom((com.google.cloud.video.livestream.v1.UpdateInputRequest) other); } else { super.mergeFrom(other); return this; @@ -602,7 +661,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.UpdateInputRequest other) { - if (other == com.google.cloud.video.livestream.v1.UpdateInputRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.UpdateInputRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -632,7 +692,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.UpdateInputRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.UpdateInputRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -644,8 +705,13 @@ public Builder mergeFrom( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -656,12 +722,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -672,16 +741,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -707,6 +781,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -718,8 +794,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 1;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -730,6 +805,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -745,7 +822,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -757,6 +834,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -780,6 +859,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -792,11 +873,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -812,11 +895,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the Input
      * resource by the update. You can only update the following fields:
@@ -829,14 +915,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
@@ -844,39 +933,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.cloud.video.livestream.v1.Input input_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder> inputBuilder_;
+            com.google.cloud.video.livestream.v1.Input,
+            com.google.cloud.video.livestream.v1.Input.Builder,
+            com.google.cloud.video.livestream.v1.InputOrBuilder>
+        inputBuilder_;
     /**
+     *
+     *
      * 
      * Required. The input resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the input field is set. */ public boolean hasInput() { return inputBuilder_ != null || input_ != null; } /** + * + * *
      * Required. The input resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The input. */ public com.google.cloud.video.livestream.v1.Input getInput() { if (inputBuilder_ == null) { - return input_ == null ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() : input_; + return input_ == null + ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() + : input_; } else { return inputBuilder_.getMessage(); } } /** + * + * *
      * Required. The input resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInput(com.google.cloud.video.livestream.v1.Input value) { if (inputBuilder_ == null) { @@ -892,14 +1000,17 @@ public Builder setInput(com.google.cloud.video.livestream.v1.Input value) { return this; } /** + * + * *
      * Required. The input resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInput( - com.google.cloud.video.livestream.v1.Input.Builder builderForValue) { + public Builder setInput(com.google.cloud.video.livestream.v1.Input.Builder builderForValue) { if (inputBuilder_ == null) { input_ = builderForValue.build(); onChanged(); @@ -910,17 +1021,23 @@ public Builder setInput( return this; } /** + * + * *
      * Required. The input resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInput(com.google.cloud.video.livestream.v1.Input value) { if (inputBuilder_ == null) { if (input_ != null) { input_ = - com.google.cloud.video.livestream.v1.Input.newBuilder(input_).mergeFrom(value).buildPartial(); + com.google.cloud.video.livestream.v1.Input.newBuilder(input_) + .mergeFrom(value) + .buildPartial(); } else { input_ = value; } @@ -932,11 +1049,15 @@ public Builder mergeInput(com.google.cloud.video.livestream.v1.Input value) { return this; } /** + * + * *
      * Required. The input resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInput() { if (inputBuilder_ == null) { @@ -950,48 +1071,64 @@ public Builder clearInput() { return this; } /** + * + * *
      * Required. The input resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.video.livestream.v1.Input.Builder getInputBuilder() { - + onChanged(); return getInputFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The input resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() { if (inputBuilder_ != null) { return inputBuilder_.getMessageOrBuilder(); } else { - return input_ == null ? - com.google.cloud.video.livestream.v1.Input.getDefaultInstance() : input_; + return input_ == null + ? com.google.cloud.video.livestream.v1.Input.getDefaultInstance() + : input_; } } /** + * + * *
      * Required. The input resource to be updated.
      * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder> + com.google.cloud.video.livestream.v1.Input, + com.google.cloud.video.livestream.v1.Input.Builder, + com.google.cloud.video.livestream.v1.InputOrBuilder> getInputFieldBuilder() { if (inputBuilder_ == null) { - inputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.Input, com.google.cloud.video.livestream.v1.Input.Builder, com.google.cloud.video.livestream.v1.InputOrBuilder>( - getInput(), - getParentForChildren(), - isClean()); + inputBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.Input, + com.google.cloud.video.livestream.v1.Input.Builder, + com.google.cloud.video.livestream.v1.InputOrBuilder>( + getInput(), getParentForChildren(), isClean()); input_ = null; } return inputBuilder_; @@ -999,6 +1136,8 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1014,13 +1153,13 @@ public com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder() {
      * 
* * string request_id = 3; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1029,6 +1168,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1044,15 +1185,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1060,6 +1200,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1075,20 +1217,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1104,15 +1248,18 @@ public Builder setRequestId(
      * 
* * string request_id = 3; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1128,23 +1275,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1154,12 +1301,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.UpdateInputRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.UpdateInputRequest) private static final com.google.cloud.video.livestream.v1.UpdateInputRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.UpdateInputRequest(); } @@ -1168,16 +1315,16 @@ public static com.google.cloud.video.livestream.v1.UpdateInputRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInputRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateInputRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInputRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateInputRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1192,6 +1339,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.UpdateInputRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequestOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequestOrBuilder.java similarity index 80% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequestOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequestOrBuilder.java index 60607fe..29ed1e8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequestOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/UpdateInputRequestOrBuilder.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/video/livestream/v1/service.proto package com.google.cloud.video.livestream.v1; -public interface UpdateInputRequestOrBuilder extends +public interface UpdateInputRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.UpdateInputRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the Input
    * resource by the update. You can only update the following fields:
@@ -18,10 +36,13 @@ public interface UpdateInputRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the Input
    * resource by the update. You can only update the following fields:
@@ -32,10 +53,13 @@ public interface UpdateInputRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the Input
    * resource by the update. You can only update the following fields:
@@ -50,33 +74,49 @@ public interface UpdateInputRequestOrBuilder extends
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. The input resource to be updated.
    * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the input field is set. */ boolean hasInput(); /** + * + * *
    * Required. The input resource to be updated.
    * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The input. */ com.google.cloud.video.livestream.v1.Input getInput(); /** + * + * *
    * Required. The input resource to be updated.
    * 
* - * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.video.livestream.v1.InputOrBuilder getInputOrBuilder(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -92,10 +132,13 @@ public interface UpdateInputRequestOrBuilder extends
    * 
* * string request_id = 3; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -111,8 +154,8 @@ public interface UpdateInputRequestOrBuilder extends
    * 
* * string request_id = 3; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormat.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormat.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormat.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormat.java index b11762f..333d178 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormat.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormat.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/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Properties of the video format.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.VideoFormat} */ -public final class VideoFormat extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoFormat extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.VideoFormat) VideoFormatOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoFormat.newBuilder() to construct. private VideoFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VideoFormat() { codec_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoFormat(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoFormat( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,34 +70,35 @@ private VideoFormat( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - codec_ = s; - break; - } - case 16: { - - widthPixels_ = input.readInt32(); - break; - } - case 24: { - - heightPixels_ = input.readInt32(); - break; - } - case 33: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - frameRate_ = input.readDouble(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + codec_ = s; + break; + } + case 16: + { + widthPixels_ = input.readInt32(); + break; + } + case 24: + { + heightPixels_ = input.readInt32(); + break; + } + case 33: + { + frameRate_ = input.readDouble(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -88,34 +106,39 @@ private VideoFormat( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoFormat_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_VideoFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.VideoFormat.class, com.google.cloud.video.livestream.v1.VideoFormat.Builder.class); + com.google.cloud.video.livestream.v1.VideoFormat.class, + com.google.cloud.video.livestream.v1.VideoFormat.Builder.class); } public static final int CODEC_FIELD_NUMBER = 1; private volatile java.lang.Object codec_; /** + * + * *
    * Video codec used in this video stream.
    * 
* * string codec = 1; + * * @return The codec. */ @java.lang.Override @@ -124,29 +147,29 @@ public java.lang.String getCodec() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; } } /** + * + * *
    * Video codec used in this video stream.
    * 
* * string codec = 1; + * * @return The bytes for codec. */ @java.lang.Override - public com.google.protobuf.ByteString - getCodecBytes() { + public com.google.protobuf.ByteString getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); codec_ = b; return b; } else { @@ -157,11 +180,14 @@ public java.lang.String getCodec() { public static final int WIDTH_PIXELS_FIELD_NUMBER = 2; private int widthPixels_; /** + * + * *
    * The width of the video stream in pixels.
    * 
* * int32 width_pixels = 2; + * * @return The widthPixels. */ @java.lang.Override @@ -172,11 +198,14 @@ public int getWidthPixels() { public static final int HEIGHT_PIXELS_FIELD_NUMBER = 3; private int heightPixels_; /** + * + * *
    * The height of the video stream in pixels.
    * 
* * int32 height_pixels = 3; + * * @return The heightPixels. */ @java.lang.Override @@ -187,11 +216,14 @@ public int getHeightPixels() { public static final int FRAME_RATE_FIELD_NUMBER = 4; private double frameRate_; /** + * + * *
    * The frame rate of the input video stream.
    * 
* * double frame_rate = 4; + * * @return The frameRate. */ @java.lang.Override @@ -200,6 +232,7 @@ public double getFrameRate() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -211,8 +244,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(codec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, codec_); } @@ -238,16 +270,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, codec_); } if (widthPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, widthPixels_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, widthPixels_); } if (heightPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, heightPixels_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, heightPixels_); } if (java.lang.Double.doubleToRawLongBits(frameRate_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(4, frameRate_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, frameRate_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -257,22 +286,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.VideoFormat)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.VideoFormat other = (com.google.cloud.video.livestream.v1.VideoFormat) obj; + com.google.cloud.video.livestream.v1.VideoFormat other = + (com.google.cloud.video.livestream.v1.VideoFormat) obj; - if (!getCodec() - .equals(other.getCodec())) return false; - if (getWidthPixels() - != other.getWidthPixels()) return false; - if (getHeightPixels() - != other.getHeightPixels()) return false; + if (!getCodec().equals(other.getCodec())) return false; + if (getWidthPixels() != other.getWidthPixels()) return false; + if (getHeightPixels() != other.getHeightPixels()) return false; if (java.lang.Double.doubleToLongBits(getFrameRate()) - != java.lang.Double.doubleToLongBits( - other.getFrameRate())) return false; + != java.lang.Double.doubleToLongBits(other.getFrameRate())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,125 +317,136 @@ public int hashCode() { hash = (37 * hash) + HEIGHT_PIXELS_FIELD_NUMBER; hash = (53 * hash) + getHeightPixels(); hash = (37 * hash) + FRAME_RATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getFrameRate())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getFrameRate())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoFormat parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.VideoFormat parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.VideoFormat parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.VideoFormat parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.video.livestream.v1.VideoFormat prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Properties of the video format.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.VideoFormat} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.VideoFormat) com.google.cloud.video.livestream.v1.VideoFormatOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoFormat_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_VideoFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.VideoFormat.class, com.google.cloud.video.livestream.v1.VideoFormat.Builder.class); + com.google.cloud.video.livestream.v1.VideoFormat.class, + com.google.cloud.video.livestream.v1.VideoFormat.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.VideoFormat.newBuilder() @@ -417,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(); @@ -442,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_VideoFormat_descriptor; } @java.lang.Override @@ -463,7 +499,8 @@ public com.google.cloud.video.livestream.v1.VideoFormat build() { @java.lang.Override public com.google.cloud.video.livestream.v1.VideoFormat buildPartial() { - com.google.cloud.video.livestream.v1.VideoFormat result = new com.google.cloud.video.livestream.v1.VideoFormat(this); + com.google.cloud.video.livestream.v1.VideoFormat result = + new com.google.cloud.video.livestream.v1.VideoFormat(this); result.codec_ = codec_; result.widthPixels_ = widthPixels_; result.heightPixels_ = heightPixels_; @@ -476,38 +513,39 @@ public com.google.cloud.video.livestream.v1.VideoFormat buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.VideoFormat) { - return mergeFrom((com.google.cloud.video.livestream.v1.VideoFormat)other); + return mergeFrom((com.google.cloud.video.livestream.v1.VideoFormat) other); } else { super.mergeFrom(other); return this; @@ -515,7 +553,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.VideoFormat other) { - if (other == com.google.cloud.video.livestream.v1.VideoFormat.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.VideoFormat.getDefaultInstance()) + return this; if (!other.getCodec().isEmpty()) { codec_ = other.codec_; onChanged(); @@ -560,18 +599,20 @@ public Builder mergeFrom( private java.lang.Object codec_ = ""; /** + * + * *
      * Video codec used in this video stream.
      * 
* * string codec = 1; + * * @return The codec. */ public java.lang.String getCodec() { java.lang.Object ref = codec_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; @@ -580,20 +621,21 @@ public java.lang.String getCodec() { } } /** + * + * *
      * Video codec used in this video stream.
      * 
* * string codec = 1; + * * @return The bytes for codec. */ - public com.google.protobuf.ByteString - getCodecBytes() { + public com.google.protobuf.ByteString getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); codec_ = b; return b; } else { @@ -601,66 +643,76 @@ public java.lang.String getCodec() { } } /** + * + * *
      * Video codec used in this video stream.
      * 
* * string codec = 1; + * * @param value The codec to set. * @return This builder for chaining. */ - public Builder setCodec( - java.lang.String value) { + public Builder setCodec(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + codec_ = value; onChanged(); return this; } /** + * + * *
      * Video codec used in this video stream.
      * 
* * string codec = 1; + * * @return This builder for chaining. */ public Builder clearCodec() { - + codec_ = getDefaultInstance().getCodec(); onChanged(); return this; } /** + * + * *
      * Video codec used in this video stream.
      * 
* * string codec = 1; + * * @param value The bytes for codec to set. * @return This builder for chaining. */ - public Builder setCodecBytes( - com.google.protobuf.ByteString value) { + public Builder setCodecBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + codec_ = value; onChanged(); return this; } - private int widthPixels_ ; + private int widthPixels_; /** + * + * *
      * The width of the video stream in pixels.
      * 
* * int32 width_pixels = 2; + * * @return The widthPixels. */ @java.lang.Override @@ -668,42 +720,51 @@ public int getWidthPixels() { return widthPixels_; } /** + * + * *
      * The width of the video stream in pixels.
      * 
* * int32 width_pixels = 2; + * * @param value The widthPixels to set. * @return This builder for chaining. */ public Builder setWidthPixels(int value) { - + widthPixels_ = value; onChanged(); return this; } /** + * + * *
      * The width of the video stream in pixels.
      * 
* * int32 width_pixels = 2; + * * @return This builder for chaining. */ public Builder clearWidthPixels() { - + widthPixels_ = 0; onChanged(); return this; } - private int heightPixels_ ; + private int heightPixels_; /** + * + * *
      * The height of the video stream in pixels.
      * 
* * int32 height_pixels = 3; + * * @return The heightPixels. */ @java.lang.Override @@ -711,42 +772,51 @@ public int getHeightPixels() { return heightPixels_; } /** + * + * *
      * The height of the video stream in pixels.
      * 
* * int32 height_pixels = 3; + * * @param value The heightPixels to set. * @return This builder for chaining. */ public Builder setHeightPixels(int value) { - + heightPixels_ = value; onChanged(); return this; } /** + * + * *
      * The height of the video stream in pixels.
      * 
* * int32 height_pixels = 3; + * * @return This builder for chaining. */ public Builder clearHeightPixels() { - + heightPixels_ = 0; onChanged(); return this; } - private double frameRate_ ; + private double frameRate_; /** + * + * *
      * The frame rate of the input video stream.
      * 
* * double frame_rate = 4; + * * @return The frameRate. */ @java.lang.Override @@ -754,37 +824,43 @@ public double getFrameRate() { return frameRate_; } /** + * + * *
      * The frame rate of the input video stream.
      * 
* * double frame_rate = 4; + * * @param value The frameRate to set. * @return This builder for chaining. */ public Builder setFrameRate(double value) { - + frameRate_ = value; onChanged(); return this; } /** + * + * *
      * The frame rate of the input video stream.
      * 
* * double frame_rate = 4; + * * @return This builder for chaining. */ public Builder clearFrameRate() { - + frameRate_ = 0D; 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,12 +870,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.VideoFormat) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.VideoFormat) private static final com.google.cloud.video.livestream.v1.VideoFormat DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.VideoFormat(); } @@ -808,16 +884,16 @@ public static com.google.cloud.video.livestream.v1.VideoFormat getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoFormat parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoFormat(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoFormat parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoFormat(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -832,6 +908,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.VideoFormat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormatOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormatOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormatOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormatOrBuilder.java index bd1dfa0..0268fed 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormatOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoFormatOrBuilder.java @@ -1,58 +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/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface VideoFormatOrBuilder extends +public interface VideoFormatOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.VideoFormat) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video codec used in this video stream.
    * 
* * string codec = 1; + * * @return The codec. */ java.lang.String getCodec(); /** + * + * *
    * Video codec used in this video stream.
    * 
* * string codec = 1; + * * @return The bytes for codec. */ - com.google.protobuf.ByteString - getCodecBytes(); + com.google.protobuf.ByteString getCodecBytes(); /** + * + * *
    * The width of the video stream in pixels.
    * 
* * int32 width_pixels = 2; + * * @return The widthPixels. */ int getWidthPixels(); /** + * + * *
    * The height of the video stream in pixels.
    * 
* * int32 height_pixels = 3; + * * @return The heightPixels. */ int getHeightPixels(); /** + * + * *
    * The frame rate of the input video stream.
    * 
* * double frame_rate = 4; + * * @return The frameRate. */ double getFrameRate(); diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStream.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStream.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStream.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStream.java index 7cb1753..c9aa0f0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStream.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStream.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/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Video stream resource.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.VideoStream} */ -public final class VideoStream extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoStream extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.VideoStream) VideoStreamOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoStream.newBuilder() to construct. private VideoStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoStream() { - } + + private VideoStream() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,27 +68,36 @@ private VideoStream( case 0: done = true; break; - case 162: { - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder subBuilder = null; - if (codecSettingsCase_ == 20) { - subBuilder = ((com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_).toBuilder(); - } - codecSettings_ = - input.readMessage(com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_); - codecSettings_ = subBuilder.buildPartial(); + case 162: + { + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder + subBuilder = null; + if (codecSettingsCase_ == 20) { + subBuilder = + ((com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) + codecSettings_) + .toBuilder(); + } + codecSettings_ = + input.readMessage( + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) + codecSettings_); + codecSettings_ = subBuilder.buildPartial(); + } + codecSettingsCase_ = 20; + break; } - codecSettingsCase_ = 20; - 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) { @@ -80,53 +105,64 @@ private VideoStream( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_VideoStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.VideoStream.class, com.google.cloud.video.livestream.v1.VideoStream.Builder.class); + com.google.cloud.video.livestream.v1.VideoStream.class, + com.google.cloud.video.livestream.v1.VideoStream.Builder.class); } - public interface H264CodecSettingsOrBuilder extends + public interface H264CodecSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The width of the video in pixels. Must be an even integer.
      * Valid range is [320, 1920].
      * 
* * int32 width_pixels = 1; + * * @return The widthPixels. */ int getWidthPixels(); /** + * + * *
      * Required. The height of the video in pixels. Must be an even integer.
      * Valid range is [180, 1080].
      * 
* * int32 height_pixels = 2; + * * @return The heightPixels. */ int getHeightPixels(); /** + * + * *
      * Required. The target video frame rate in frames per second (FPS). Must be less
      * than or equal to 60. Will default to the input frame rate if larger
@@ -138,11 +174,14 @@ public interface H264CodecSettingsOrBuilder extends
      * 
* * double frame_rate = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The frameRate. */ double getFrameRate(); /** + * + * *
      * Required. The video bitrate in bits per second. Minimum value is 10,000.
      * - For SD resolution (< 720p), must be <= 3,000,000 (3 Mbps).
@@ -150,22 +189,28 @@ public interface H264CodecSettingsOrBuilder extends
      * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bitrateBps. */ int getBitrateBps(); /** + * + * *
      * Specifies whether an open Group of Pictures (GOP) structure should be
      * allowed or not. The default is `false`.
      * 
* * bool allow_open_gop = 6; + * * @return The allowOpenGop. */ boolean getAllowOpenGop(); /** + * + * *
      * Select the GOP size based on the specified frame count.
      * If GOP frame count is set instead of GOP duration, GOP duration will be
@@ -175,10 +220,13 @@ public interface H264CodecSettingsOrBuilder extends
      * 
* * int32 gop_frame_count = 7; + * * @return Whether the gopFrameCount field is set. */ boolean hasGopFrameCount(); /** + * + * *
      * Select the GOP size based on the specified frame count.
      * If GOP frame count is set instead of GOP duration, GOP duration will be
@@ -188,11 +236,14 @@ public interface H264CodecSettingsOrBuilder extends
      * 
* * int32 gop_frame_count = 7; + * * @return The gopFrameCount. */ int getGopFrameCount(); /** + * + * *
      * Select the GOP size based on the specified duration. The default is
      * `2s`. Note that `gopDuration` must be less than or equal to
@@ -203,10 +254,13 @@ public interface H264CodecSettingsOrBuilder extends
      * 
* * .google.protobuf.Duration gop_duration = 8; + * * @return Whether the gopDuration field is set. */ boolean hasGopDuration(); /** + * + * *
      * Select the GOP size based on the specified duration. The default is
      * `2s`. Note that `gopDuration` must be less than or equal to
@@ -217,10 +271,13 @@ public interface H264CodecSettingsOrBuilder extends
      * 
* * .google.protobuf.Duration gop_duration = 8; + * * @return The gopDuration. */ com.google.protobuf.Duration getGopDuration(); /** + * + * *
      * Select the GOP size based on the specified duration. The default is
      * `2s`. Note that `gopDuration` must be less than or equal to
@@ -235,17 +292,22 @@ public interface H264CodecSettingsOrBuilder extends
     com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder();
 
     /**
+     *
+     *
      * 
      * Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
      * greater than zero. The default is equal to [bitrate_bps][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.bitrate_bps].
      * 
* * int32 vbv_size_bits = 9; + * * @return The vbvSizeBits. */ int getVbvSizeBits(); /** + * + * *
      * Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
      * Must be greater than zero. The default is equal to 90% of
@@ -253,11 +315,14 @@ public interface H264CodecSettingsOrBuilder extends
      * 
* * int32 vbv_fullness_bits = 10; + * * @return The vbvFullnessBits. */ int getVbvFullnessBits(); /** + * + * *
      * The entropy coder to use. The default is `cabac`.
      * Supported entropy coders:
@@ -266,10 +331,13 @@ public interface H264CodecSettingsOrBuilder extends
      * 
* * string entropy_coder = 11; + * * @return The entropyCoder. */ java.lang.String getEntropyCoder(); /** + * + * *
      * The entropy coder to use. The default is `cabac`.
      * Supported entropy coders:
@@ -278,23 +346,28 @@ public interface H264CodecSettingsOrBuilder extends
      * 
* * string entropy_coder = 11; + * * @return The bytes for entropyCoder. */ - com.google.protobuf.ByteString - getEntropyCoderBytes(); + com.google.protobuf.ByteString getEntropyCoderBytes(); /** + * + * *
      * Allow B-pyramid for reference frame selection. This may not be supported
      * on all decoders. The default is `false`.
      * 
* * bool b_pyramid = 12; + * * @return The bPyramid. */ boolean getBPyramid(); /** + * + * *
      * The number of consecutive B-frames. Must be greater than or equal to
      * zero. Must be less than [gop_frame_count][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_frame_count] if set. The default
@@ -302,11 +375,14 @@ public interface H264CodecSettingsOrBuilder extends
      * 
* * int32 b_frame_count = 13; + * * @return The bFrameCount. */ int getBFrameCount(); /** + * + * *
      * Specify the intensity of the adaptive quantizer (AQ). Must be between 0
      * and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A
@@ -314,11 +390,14 @@ public interface H264CodecSettingsOrBuilder extends
      * 
* * double aq_strength = 14; + * * @return The aqStrength. */ double getAqStrength(); /** + * + * *
      * Enforces the specified codec profile. The following profiles are
      * supported:
@@ -333,10 +412,13 @@ public interface H264CodecSettingsOrBuilder extends
      * 
* * string profile = 15; + * * @return The profile. */ java.lang.String getProfile(); /** + * + * *
      * Enforces the specified codec profile. The following profiles are
      * supported:
@@ -351,12 +433,14 @@ public interface H264CodecSettingsOrBuilder extends
      * 
* * string profile = 15; + * * @return The bytes for profile. */ - com.google.protobuf.ByteString - getProfileBytes(); + com.google.protobuf.ByteString getProfileBytes(); /** + * + * *
      * Enforces the specified codec tune. The available options are
      * [FFmpeg-compatible Encode
@@ -366,10 +450,13 @@ public interface H264CodecSettingsOrBuilder extends
      * 
* * string tune = 16; + * * @return The tune. */ java.lang.String getTune(); /** + * + * *
      * Enforces the specified codec tune. The available options are
      * [FFmpeg-compatible Encode
@@ -379,29 +466,33 @@ public interface H264CodecSettingsOrBuilder extends
      * 
* * string tune = 16; + * * @return The bytes for tune. */ - com.google.protobuf.ByteString - getTuneBytes(); + com.google.protobuf.ByteString getTuneBytes(); - public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.GopModeCase getGopModeCase(); + public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.GopModeCase + getGopModeCase(); } /** + * + * *
    * H264 codec settings.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.VideoStream.H264CodecSettings} */ - public static final class H264CodecSettings extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class H264CodecSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) H264CodecSettingsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use H264CodecSettings.newBuilder() to construct. private H264CodecSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private H264CodecSettings() { entropyCoder_ = ""; profile_ = ""; @@ -410,16 +501,15 @@ private H264CodecSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new H264CodecSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private H264CodecSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -438,100 +528,105 @@ private H264CodecSettings( case 0: done = true; break; - case 8: { - - widthPixels_ = input.readInt32(); - break; - } - case 16: { - - heightPixels_ = input.readInt32(); - break; - } - case 25: { - - frameRate_ = input.readDouble(); - break; - } - case 32: { - - bitrateBps_ = input.readInt32(); - break; - } - case 48: { - - allowOpenGop_ = input.readBool(); - break; - } - case 56: { - gopMode_ = input.readInt32(); - gopModeCase_ = 7; - break; - } - case 66: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (gopModeCase_ == 8) { - subBuilder = ((com.google.protobuf.Duration) gopMode_).toBuilder(); + case 8: + { + widthPixels_ = input.readInt32(); + break; } - gopMode_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Duration) gopMode_); - gopMode_ = subBuilder.buildPartial(); + case 16: + { + heightPixels_ = input.readInt32(); + break; } - gopModeCase_ = 8; - break; - } - case 72: { - - vbvSizeBits_ = input.readInt32(); - break; - } - case 80: { - - vbvFullnessBits_ = input.readInt32(); - break; - } - case 90: { - java.lang.String s = input.readStringRequireUtf8(); - - entropyCoder_ = s; - break; - } - case 96: { - - bPyramid_ = input.readBool(); - break; - } - case 104: { - - bFrameCount_ = input.readInt32(); - break; - } - case 113: { + case 25: + { + frameRate_ = input.readDouble(); + break; + } + case 32: + { + bitrateBps_ = input.readInt32(); + break; + } + case 48: + { + allowOpenGop_ = input.readBool(); + break; + } + case 56: + { + gopMode_ = input.readInt32(); + gopModeCase_ = 7; + break; + } + case 66: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (gopModeCase_ == 8) { + subBuilder = ((com.google.protobuf.Duration) gopMode_).toBuilder(); + } + gopMode_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Duration) gopMode_); + gopMode_ = subBuilder.buildPartial(); + } + gopModeCase_ = 8; + break; + } + case 72: + { + vbvSizeBits_ = input.readInt32(); + break; + } + case 80: + { + vbvFullnessBits_ = input.readInt32(); + break; + } + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); - aqStrength_ = input.readDouble(); - break; - } - case 122: { - java.lang.String s = input.readStringRequireUtf8(); + entropyCoder_ = s; + break; + } + case 96: + { + bPyramid_ = input.readBool(); + break; + } + case 104: + { + bFrameCount_ = input.readInt32(); + break; + } + case 113: + { + aqStrength_ = input.readDouble(); + break; + } + case 122: + { + java.lang.String s = input.readStringRequireUtf8(); - profile_ = s; - break; - } - case 130: { - java.lang.String s = input.readStringRequireUtf8(); + profile_ = s; + break; + } + case 130: + { + java.lang.String s = input.readStringRequireUtf8(); - tune_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + tune_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -539,35 +634,40 @@ private H264CodecSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.class, com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder.class); + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.class, + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder.class); } private int gopModeCase_ = 0; private java.lang.Object gopMode_; + public enum GopModeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GOP_FRAME_COUNT(7), GOP_DURATION(8), GOPMODE_NOT_SET(0); private final int value; + private GopModeCase(int value) { this.value = value; } @@ -583,32 +683,38 @@ public static GopModeCase valueOf(int value) { public static GopModeCase forNumber(int value) { switch (value) { - case 7: return GOP_FRAME_COUNT; - case 8: return GOP_DURATION; - case 0: return GOPMODE_NOT_SET; - default: return null; + case 7: + return GOP_FRAME_COUNT; + case 8: + return GOP_DURATION; + case 0: + return GOPMODE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public GopModeCase - getGopModeCase() { - return GopModeCase.forNumber( - gopModeCase_); + public GopModeCase getGopModeCase() { + return GopModeCase.forNumber(gopModeCase_); } public static final int WIDTH_PIXELS_FIELD_NUMBER = 1; private int widthPixels_; /** + * + * *
      * Required. The width of the video in pixels. Must be an even integer.
      * Valid range is [320, 1920].
      * 
* * int32 width_pixels = 1; + * * @return The widthPixels. */ @java.lang.Override @@ -619,12 +725,15 @@ public int getWidthPixels() { public static final int HEIGHT_PIXELS_FIELD_NUMBER = 2; private int heightPixels_; /** + * + * *
      * Required. The height of the video in pixels. Must be an even integer.
      * Valid range is [180, 1080].
      * 
* * int32 height_pixels = 2; + * * @return The heightPixels. */ @java.lang.Override @@ -635,6 +744,8 @@ public int getHeightPixels() { public static final int FRAME_RATE_FIELD_NUMBER = 3; private double frameRate_; /** + * + * *
      * Required. The target video frame rate in frames per second (FPS). Must be less
      * than or equal to 60. Will default to the input frame rate if larger
@@ -646,6 +757,7 @@ public int getHeightPixels() {
      * 
* * double frame_rate = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The frameRate. */ @java.lang.Override @@ -656,6 +768,8 @@ public double getFrameRate() { public static final int BITRATE_BPS_FIELD_NUMBER = 4; private int bitrateBps_; /** + * + * *
      * Required. The video bitrate in bits per second. Minimum value is 10,000.
      * - For SD resolution (< 720p), must be <= 3,000,000 (3 Mbps).
@@ -663,6 +777,7 @@ public double getFrameRate() {
      * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bitrateBps. */ @java.lang.Override @@ -673,12 +788,15 @@ public int getBitrateBps() { public static final int ALLOW_OPEN_GOP_FIELD_NUMBER = 6; private boolean allowOpenGop_; /** + * + * *
      * Specifies whether an open Group of Pictures (GOP) structure should be
      * allowed or not. The default is `false`.
      * 
* * bool allow_open_gop = 6; + * * @return The allowOpenGop. */ @java.lang.Override @@ -688,6 +806,8 @@ public boolean getAllowOpenGop() { public static final int GOP_FRAME_COUNT_FIELD_NUMBER = 7; /** + * + * *
      * Select the GOP size based on the specified frame count.
      * If GOP frame count is set instead of GOP duration, GOP duration will be
@@ -697,6 +817,7 @@ public boolean getAllowOpenGop() {
      * 
* * int32 gop_frame_count = 7; + * * @return Whether the gopFrameCount field is set. */ @java.lang.Override @@ -704,6 +825,8 @@ public boolean hasGopFrameCount() { return gopModeCase_ == 7; } /** + * + * *
      * Select the GOP size based on the specified frame count.
      * If GOP frame count is set instead of GOP duration, GOP duration will be
@@ -713,6 +836,7 @@ public boolean hasGopFrameCount() {
      * 
* * int32 gop_frame_count = 7; + * * @return The gopFrameCount. */ @java.lang.Override @@ -725,6 +849,8 @@ public int getGopFrameCount() { public static final int GOP_DURATION_FIELD_NUMBER = 8; /** + * + * *
      * Select the GOP size based on the specified duration. The default is
      * `2s`. Note that `gopDuration` must be less than or equal to
@@ -735,6 +861,7 @@ public int getGopFrameCount() {
      * 
* * .google.protobuf.Duration gop_duration = 8; + * * @return Whether the gopDuration field is set. */ @java.lang.Override @@ -742,6 +869,8 @@ public boolean hasGopDuration() { return gopModeCase_ == 8; } /** + * + * *
      * Select the GOP size based on the specified duration. The default is
      * `2s`. Note that `gopDuration` must be less than or equal to
@@ -752,16 +881,19 @@ public boolean hasGopDuration() {
      * 
* * .google.protobuf.Duration gop_duration = 8; + * * @return The gopDuration. */ @java.lang.Override public com.google.protobuf.Duration getGopDuration() { if (gopModeCase_ == 8) { - return (com.google.protobuf.Duration) gopMode_; + return (com.google.protobuf.Duration) gopMode_; } return com.google.protobuf.Duration.getDefaultInstance(); } /** + * + * *
      * Select the GOP size based on the specified duration. The default is
      * `2s`. Note that `gopDuration` must be less than or equal to
@@ -776,7 +908,7 @@ public com.google.protobuf.Duration getGopDuration() {
     @java.lang.Override
     public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
       if (gopModeCase_ == 8) {
-         return (com.google.protobuf.Duration) gopMode_;
+        return (com.google.protobuf.Duration) gopMode_;
       }
       return com.google.protobuf.Duration.getDefaultInstance();
     }
@@ -784,12 +916,15 @@ public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
     public static final int VBV_SIZE_BITS_FIELD_NUMBER = 9;
     private int vbvSizeBits_;
     /**
+     *
+     *
      * 
      * Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
      * greater than zero. The default is equal to [bitrate_bps][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.bitrate_bps].
      * 
* * int32 vbv_size_bits = 9; + * * @return The vbvSizeBits. */ @java.lang.Override @@ -800,6 +935,8 @@ public int getVbvSizeBits() { public static final int VBV_FULLNESS_BITS_FIELD_NUMBER = 10; private int vbvFullnessBits_; /** + * + * *
      * Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
      * Must be greater than zero. The default is equal to 90% of
@@ -807,6 +944,7 @@ public int getVbvSizeBits() {
      * 
* * int32 vbv_fullness_bits = 10; + * * @return The vbvFullnessBits. */ @java.lang.Override @@ -817,6 +955,8 @@ public int getVbvFullnessBits() { public static final int ENTROPY_CODER_FIELD_NUMBER = 11; private volatile java.lang.Object entropyCoder_; /** + * + * *
      * The entropy coder to use. The default is `cabac`.
      * Supported entropy coders:
@@ -825,6 +965,7 @@ public int getVbvFullnessBits() {
      * 
* * string entropy_coder = 11; + * * @return The entropyCoder. */ @java.lang.Override @@ -833,14 +974,15 @@ public java.lang.String getEntropyCoder() { 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(); entropyCoder_ = s; return s; } } /** + * + * *
      * The entropy coder to use. The default is `cabac`.
      * Supported entropy coders:
@@ -849,16 +991,15 @@ public java.lang.String getEntropyCoder() {
      * 
* * string entropy_coder = 11; + * * @return The bytes for entropyCoder. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntropyCoderBytes() { + public com.google.protobuf.ByteString getEntropyCoderBytes() { java.lang.Object ref = entropyCoder_; 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); entropyCoder_ = b; return b; } else { @@ -869,12 +1010,15 @@ public java.lang.String getEntropyCoder() { public static final int B_PYRAMID_FIELD_NUMBER = 12; private boolean bPyramid_; /** + * + * *
      * Allow B-pyramid for reference frame selection. This may not be supported
      * on all decoders. The default is `false`.
      * 
* * bool b_pyramid = 12; + * * @return The bPyramid. */ @java.lang.Override @@ -885,6 +1029,8 @@ public boolean getBPyramid() { public static final int B_FRAME_COUNT_FIELD_NUMBER = 13; private int bFrameCount_; /** + * + * *
      * The number of consecutive B-frames. Must be greater than or equal to
      * zero. Must be less than [gop_frame_count][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_frame_count] if set. The default
@@ -892,6 +1038,7 @@ public boolean getBPyramid() {
      * 
* * int32 b_frame_count = 13; + * * @return The bFrameCount. */ @java.lang.Override @@ -902,6 +1049,8 @@ public int getBFrameCount() { public static final int AQ_STRENGTH_FIELD_NUMBER = 14; private double aqStrength_; /** + * + * *
      * Specify the intensity of the adaptive quantizer (AQ). Must be between 0
      * and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A
@@ -909,6 +1058,7 @@ public int getBFrameCount() {
      * 
* * double aq_strength = 14; + * * @return The aqStrength. */ @java.lang.Override @@ -919,6 +1069,8 @@ public double getAqStrength() { public static final int PROFILE_FIELD_NUMBER = 15; private volatile java.lang.Object profile_; /** + * + * *
      * Enforces the specified codec profile. The following profiles are
      * supported:
@@ -933,6 +1085,7 @@ public double getAqStrength() {
      * 
* * string profile = 15; + * * @return The profile. */ @java.lang.Override @@ -941,14 +1094,15 @@ public java.lang.String getProfile() { 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(); profile_ = s; return s; } } /** + * + * *
      * Enforces the specified codec profile. The following profiles are
      * supported:
@@ -963,16 +1117,15 @@ public java.lang.String getProfile() {
      * 
* * string profile = 15; + * * @return The bytes for profile. */ @java.lang.Override - public com.google.protobuf.ByteString - getProfileBytes() { + public com.google.protobuf.ByteString getProfileBytes() { java.lang.Object ref = profile_; 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); profile_ = b; return b; } else { @@ -983,6 +1136,8 @@ public java.lang.String getProfile() { public static final int TUNE_FIELD_NUMBER = 16; private volatile java.lang.Object tune_; /** + * + * *
      * Enforces the specified codec tune. The available options are
      * [FFmpeg-compatible Encode
@@ -992,6 +1147,7 @@ public java.lang.String getProfile() {
      * 
* * string tune = 16; + * * @return The tune. */ @java.lang.Override @@ -1000,14 +1156,15 @@ public java.lang.String getTune() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tune_ = s; return s; } } /** + * + * *
      * Enforces the specified codec tune. The available options are
      * [FFmpeg-compatible Encode
@@ -1017,16 +1174,15 @@ public java.lang.String getTune() {
      * 
* * string tune = 16; + * * @return The bytes for tune. */ @java.lang.Override - public com.google.protobuf.ByteString - getTuneBytes() { + public com.google.protobuf.ByteString getTuneBytes() { java.lang.Object ref = tune_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tune_ = b; return b; } else { @@ -1035,6 +1191,7 @@ public java.lang.String getTune() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1046,8 +1203,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 (widthPixels_ != 0) { output.writeInt32(1, widthPixels_); } @@ -1064,8 +1220,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeBool(6, allowOpenGop_); } if (gopModeCase_ == 7) { - output.writeInt32( - 7, (int)((java.lang.Integer) gopMode_)); + output.writeInt32(7, (int) ((java.lang.Integer) gopMode_)); } if (gopModeCase_ == 8) { output.writeMessage(8, (com.google.protobuf.Duration) gopMode_); @@ -1104,56 +1259,47 @@ public int getSerializedSize() { size = 0; if (widthPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, widthPixels_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, widthPixels_); } if (heightPixels_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, heightPixels_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, heightPixels_); } if (java.lang.Double.doubleToRawLongBits(frameRate_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, frameRate_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, frameRate_); } if (bitrateBps_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, bitrateBps_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, bitrateBps_); } if (allowOpenGop_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, allowOpenGop_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, allowOpenGop_); } if (gopModeCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 7, (int)((java.lang.Integer) gopMode_)); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 7, (int) ((java.lang.Integer) gopMode_)); } if (gopModeCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.protobuf.Duration) gopMode_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.protobuf.Duration) gopMode_); } if (vbvSizeBits_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(9, vbvSizeBits_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, vbvSizeBits_); } if (vbvFullnessBits_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(10, vbvFullnessBits_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, vbvFullnessBits_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entropyCoder_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, entropyCoder_); } if (bPyramid_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(12, bPyramid_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, bPyramid_); } if (bFrameCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(13, bFrameCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(13, bFrameCount_); } if (java.lang.Double.doubleToRawLongBits(aqStrength_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(14, aqStrength_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(14, aqStrength_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(profile_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, profile_); @@ -1169,50 +1315,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.video.livestream.v1.VideoStream.H264CodecSettings)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings other = (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) obj; + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings other = + (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) obj; - if (getWidthPixels() - != other.getWidthPixels()) return false; - if (getHeightPixels() - != other.getHeightPixels()) return false; + if (getWidthPixels() != other.getWidthPixels()) return false; + if (getHeightPixels() != other.getHeightPixels()) return false; if (java.lang.Double.doubleToLongBits(getFrameRate()) - != java.lang.Double.doubleToLongBits( - other.getFrameRate())) return false; - if (getBitrateBps() - != other.getBitrateBps()) return false; - if (getAllowOpenGop() - != other.getAllowOpenGop()) return false; - if (getVbvSizeBits() - != other.getVbvSizeBits()) return false; - if (getVbvFullnessBits() - != other.getVbvFullnessBits()) return false; - if (!getEntropyCoder() - .equals(other.getEntropyCoder())) return false; - if (getBPyramid() - != other.getBPyramid()) return false; - if (getBFrameCount() - != other.getBFrameCount()) return false; + != java.lang.Double.doubleToLongBits(other.getFrameRate())) return false; + if (getBitrateBps() != other.getBitrateBps()) return false; + if (getAllowOpenGop() != other.getAllowOpenGop()) return false; + if (getVbvSizeBits() != other.getVbvSizeBits()) return false; + if (getVbvFullnessBits() != other.getVbvFullnessBits()) return false; + if (!getEntropyCoder().equals(other.getEntropyCoder())) return false; + if (getBPyramid() != other.getBPyramid()) return false; + if (getBFrameCount() != other.getBFrameCount()) return false; if (java.lang.Double.doubleToLongBits(getAqStrength()) - != java.lang.Double.doubleToLongBits( - other.getAqStrength())) return false; - if (!getProfile() - .equals(other.getProfile())) return false; - if (!getTune() - .equals(other.getTune())) return false; + != java.lang.Double.doubleToLongBits(other.getAqStrength())) return false; + if (!getProfile().equals(other.getProfile())) return false; + if (!getTune().equals(other.getTune())) return false; if (!getGopModeCase().equals(other.getGopModeCase())) return false; switch (gopModeCase_) { case 7: - if (getGopFrameCount() - != other.getGopFrameCount()) return false; + if (getGopFrameCount() != other.getGopFrameCount()) return false; break; case 8: - if (!getGopDuration() - .equals(other.getGopDuration())) return false; + if (!getGopDuration().equals(other.getGopDuration())) return false; break; case 0: default: @@ -1233,13 +1365,14 @@ public int hashCode() { hash = (37 * hash) + HEIGHT_PIXELS_FIELD_NUMBER; hash = (53 * hash) + getHeightPixels(); hash = (37 * hash) + FRAME_RATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getFrameRate())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getFrameRate())); hash = (37 * hash) + BITRATE_BPS_FIELD_NUMBER; hash = (53 * hash) + getBitrateBps(); hash = (37 * hash) + ALLOW_OPEN_GOP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowOpenGop()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowOpenGop()); hash = (37 * hash) + VBV_SIZE_BITS_FIELD_NUMBER; hash = (53 * hash) + getVbvSizeBits(); hash = (37 * hash) + VBV_FULLNESS_BITS_FIELD_NUMBER; @@ -1247,13 +1380,14 @@ public int hashCode() { hash = (37 * hash) + ENTROPY_CODER_FIELD_NUMBER; hash = (53 * hash) + getEntropyCoder().hashCode(); hash = (37 * hash) + B_PYRAMID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBPyramid()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBPyramid()); hash = (37 * hash) + B_FRAME_COUNT_FIELD_NUMBER; hash = (53 * hash) + getBFrameCount(); hash = (37 * hash) + AQ_STRENGTH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAqStrength())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAqStrength())); hash = (37 * hash) + PROFILE_FIELD_NUMBER; hash = (53 * hash) + getProfile().hashCode(); hash = (37 * hash) + TUNE_FIELD_NUMBER; @@ -1276,87 +1410,95 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1366,44 +1508,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * H264 codec settings.
      * 
* * Protobuf type {@code google.cloud.video.livestream.v1.VideoStream.H264CodecSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.class, com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder.class); + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.class, + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder.class); } - // Construct using com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.newBuilder() + // Construct using + // com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.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(); @@ -1439,14 +1586,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_VideoStream_H264CodecSettings_descriptor; } @java.lang.Override - public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings getDefaultInstanceForType() { - return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance(); + public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings + getDefaultInstanceForType() { + return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings + .getDefaultInstance(); } @java.lang.Override @@ -1460,7 +1609,8 @@ public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings build( @java.lang.Override public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings buildPartial() { - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings result = new com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings(this); + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings result = + new com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings(this); result.widthPixels_ = widthPixels_; result.heightPixels_ = heightPixels_; result.frameRate_ = frameRate_; @@ -1493,46 +1643,53 @@ public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) { - return mergeFrom((com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings)other); + return mergeFrom( + (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings other) { - if (other == com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings other) { + if (other + == com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings + .getDefaultInstance()) return this; if (other.getWidthPixels() != 0) { setWidthPixels(other.getWidthPixels()); } @@ -1576,17 +1733,20 @@ public Builder mergeFrom(com.google.cloud.video.livestream.v1.VideoStream.H264Co onChanged(); } switch (other.getGopModeCase()) { - case GOP_FRAME_COUNT: { - setGopFrameCount(other.getGopFrameCount()); - break; - } - case GOP_DURATION: { - mergeGopDuration(other.getGopDuration()); - break; - } - case GOPMODE_NOT_SET: { - break; - } + case GOP_FRAME_COUNT: + { + setGopFrameCount(other.getGopFrameCount()); + break; + } + case GOP_DURATION: + { + mergeGopDuration(other.getGopDuration()); + break; + } + case GOPMODE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1607,7 +1767,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1616,12 +1778,12 @@ public Builder mergeFrom( } return this; } + private int gopModeCase_ = 0; private java.lang.Object gopMode_; - public GopModeCase - getGopModeCase() { - return GopModeCase.forNumber( - gopModeCase_); + + public GopModeCase getGopModeCase() { + return GopModeCase.forNumber(gopModeCase_); } public Builder clearGopMode() { @@ -1631,15 +1793,17 @@ public Builder clearGopMode() { return this; } - - private int widthPixels_ ; + private int widthPixels_; /** + * + * *
        * Required. The width of the video in pixels. Must be an even integer.
        * Valid range is [320, 1920].
        * 
* * int32 width_pixels = 1; + * * @return The widthPixels. */ @java.lang.Override @@ -1647,45 +1811,54 @@ public int getWidthPixels() { return widthPixels_; } /** + * + * *
        * Required. The width of the video in pixels. Must be an even integer.
        * Valid range is [320, 1920].
        * 
* * int32 width_pixels = 1; + * * @param value The widthPixels to set. * @return This builder for chaining. */ public Builder setWidthPixels(int value) { - + widthPixels_ = value; onChanged(); return this; } /** + * + * *
        * Required. The width of the video in pixels. Must be an even integer.
        * Valid range is [320, 1920].
        * 
* * int32 width_pixels = 1; + * * @return This builder for chaining. */ public Builder clearWidthPixels() { - + widthPixels_ = 0; onChanged(); return this; } - private int heightPixels_ ; + private int heightPixels_; /** + * + * *
        * Required. The height of the video in pixels. Must be an even integer.
        * Valid range is [180, 1080].
        * 
* * int32 height_pixels = 2; + * * @return The heightPixels. */ @java.lang.Override @@ -1693,39 +1866,47 @@ public int getHeightPixels() { return heightPixels_; } /** + * + * *
        * Required. The height of the video in pixels. Must be an even integer.
        * Valid range is [180, 1080].
        * 
* * int32 height_pixels = 2; + * * @param value The heightPixels to set. * @return This builder for chaining. */ public Builder setHeightPixels(int value) { - + heightPixels_ = value; onChanged(); return this; } /** + * + * *
        * Required. The height of the video in pixels. Must be an even integer.
        * Valid range is [180, 1080].
        * 
* * int32 height_pixels = 2; + * * @return This builder for chaining. */ public Builder clearHeightPixels() { - + heightPixels_ = 0; onChanged(); return this; } - private double frameRate_ ; + private double frameRate_; /** + * + * *
        * Required. The target video frame rate in frames per second (FPS). Must be less
        * than or equal to 60. Will default to the input frame rate if larger
@@ -1737,6 +1918,7 @@ public Builder clearHeightPixels() {
        * 
* * double frame_rate = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The frameRate. */ @java.lang.Override @@ -1744,6 +1926,8 @@ public double getFrameRate() { return frameRate_; } /** + * + * *
        * Required. The target video frame rate in frames per second (FPS). Must be less
        * than or equal to 60. Will default to the input frame rate if larger
@@ -1755,16 +1939,19 @@ public double getFrameRate() {
        * 
* * double frame_rate = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The frameRate to set. * @return This builder for chaining. */ public Builder setFrameRate(double value) { - + frameRate_ = value; onChanged(); return this; } /** + * + * *
        * Required. The target video frame rate in frames per second (FPS). Must be less
        * than or equal to 60. Will default to the input frame rate if larger
@@ -1776,17 +1963,20 @@ public Builder setFrameRate(double value) {
        * 
* * double frame_rate = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFrameRate() { - + frameRate_ = 0D; onChanged(); return this; } - private int bitrateBps_ ; + private int bitrateBps_; /** + * + * *
        * Required. The video bitrate in bits per second. Minimum value is 10,000.
        * - For SD resolution (< 720p), must be <= 3,000,000 (3 Mbps).
@@ -1794,6 +1984,7 @@ public Builder clearFrameRate() {
        * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bitrateBps. */ @java.lang.Override @@ -1801,6 +1992,8 @@ public int getBitrateBps() { return bitrateBps_; } /** + * + * *
        * Required. The video bitrate in bits per second. Minimum value is 10,000.
        * - For SD resolution (< 720p), must be <= 3,000,000 (3 Mbps).
@@ -1808,16 +2001,19 @@ public int getBitrateBps() {
        * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bitrateBps to set. * @return This builder for chaining. */ public Builder setBitrateBps(int value) { - + bitrateBps_ = value; onChanged(); return this; } /** + * + * *
        * Required. The video bitrate in bits per second. Minimum value is 10,000.
        * - For SD resolution (< 720p), must be <= 3,000,000 (3 Mbps).
@@ -1825,23 +2021,27 @@ public Builder setBitrateBps(int value) {
        * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBitrateBps() { - + bitrateBps_ = 0; onChanged(); return this; } - private boolean allowOpenGop_ ; + private boolean allowOpenGop_; /** + * + * *
        * Specifies whether an open Group of Pictures (GOP) structure should be
        * allowed or not. The default is `false`.
        * 
* * bool allow_open_gop = 6; + * * @return The allowOpenGop. */ @java.lang.Override @@ -1849,38 +2049,46 @@ public boolean getAllowOpenGop() { return allowOpenGop_; } /** + * + * *
        * Specifies whether an open Group of Pictures (GOP) structure should be
        * allowed or not. The default is `false`.
        * 
* * bool allow_open_gop = 6; + * * @param value The allowOpenGop to set. * @return This builder for chaining. */ public Builder setAllowOpenGop(boolean value) { - + allowOpenGop_ = value; onChanged(); return this; } /** + * + * *
        * Specifies whether an open Group of Pictures (GOP) structure should be
        * allowed or not. The default is `false`.
        * 
* * bool allow_open_gop = 6; + * * @return This builder for chaining. */ public Builder clearAllowOpenGop() { - + allowOpenGop_ = false; onChanged(); return this; } /** + * + * *
        * Select the GOP size based on the specified frame count.
        * If GOP frame count is set instead of GOP duration, GOP duration will be
@@ -1890,12 +2098,15 @@ public Builder clearAllowOpenGop() {
        * 
* * int32 gop_frame_count = 7; + * * @return Whether the gopFrameCount field is set. */ public boolean hasGopFrameCount() { return gopModeCase_ == 7; } /** + * + * *
        * Select the GOP size based on the specified frame count.
        * If GOP frame count is set instead of GOP duration, GOP duration will be
@@ -1905,6 +2116,7 @@ public boolean hasGopFrameCount() {
        * 
* * int32 gop_frame_count = 7; + * * @return The gopFrameCount. */ public int getGopFrameCount() { @@ -1914,6 +2126,8 @@ public int getGopFrameCount() { return 0; } /** + * + * *
        * Select the GOP size based on the specified frame count.
        * If GOP frame count is set instead of GOP duration, GOP duration will be
@@ -1923,6 +2137,7 @@ public int getGopFrameCount() {
        * 
* * int32 gop_frame_count = 7; + * * @param value The gopFrameCount to set. * @return This builder for chaining. */ @@ -1933,6 +2148,8 @@ public Builder setGopFrameCount(int value) { return this; } /** + * + * *
        * Select the GOP size based on the specified frame count.
        * If GOP frame count is set instead of GOP duration, GOP duration will be
@@ -1942,6 +2159,7 @@ public Builder setGopFrameCount(int value) {
        * 
* * int32 gop_frame_count = 7; + * * @return This builder for chaining. */ public Builder clearGopFrameCount() { @@ -1954,8 +2172,13 @@ public Builder clearGopFrameCount() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> gopDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + gopDurationBuilder_; /** + * + * *
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -1966,6 +2189,7 @@ public Builder clearGopFrameCount() {
        * 
* * .google.protobuf.Duration gop_duration = 8; + * * @return Whether the gopDuration field is set. */ @java.lang.Override @@ -1973,6 +2197,8 @@ public boolean hasGopDuration() { return gopModeCase_ == 8; } /** + * + * *
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -1983,6 +2209,7 @@ public boolean hasGopDuration() {
        * 
* * .google.protobuf.Duration gop_duration = 8; + * * @return The gopDuration. */ @java.lang.Override @@ -2000,6 +2227,8 @@ public com.google.protobuf.Duration getGopDuration() { } } /** + * + * *
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -2025,6 +2254,8 @@ public Builder setGopDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -2036,8 +2267,7 @@ public Builder setGopDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration gop_duration = 8;
        */
-      public Builder setGopDuration(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setGopDuration(com.google.protobuf.Duration.Builder builderForValue) {
         if (gopDurationBuilder_ == null) {
           gopMode_ = builderForValue.build();
           onChanged();
@@ -2048,6 +2278,8 @@ public Builder setGopDuration(
         return this;
       }
       /**
+       *
+       *
        * 
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -2061,10 +2293,11 @@ public Builder setGopDuration(
        */
       public Builder mergeGopDuration(com.google.protobuf.Duration value) {
         if (gopDurationBuilder_ == null) {
-          if (gopModeCase_ == 8 &&
-              gopMode_ != com.google.protobuf.Duration.getDefaultInstance()) {
-            gopMode_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) gopMode_)
-                .mergeFrom(value).buildPartial();
+          if (gopModeCase_ == 8 && gopMode_ != com.google.protobuf.Duration.getDefaultInstance()) {
+            gopMode_ =
+                com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) gopMode_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             gopMode_ = value;
           }
@@ -2080,6 +2313,8 @@ public Builder mergeGopDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -2108,6 +2343,8 @@ public Builder clearGopDuration() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -2123,6 +2360,8 @@ public com.google.protobuf.Duration.Builder getGopDurationBuilder() {
         return getGopDurationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -2146,6 +2385,8 @@ public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Select the GOP size based on the specified duration. The default is
        * `2s`. Note that `gopDuration` must be less than or equal to
@@ -2158,32 +2399,39 @@ public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
        * .google.protobuf.Duration gop_duration = 8;
        */
       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>
           getGopDurationFieldBuilder() {
         if (gopDurationBuilder_ == null) {
           if (!(gopModeCase_ == 8)) {
             gopMode_ = com.google.protobuf.Duration.getDefaultInstance();
           }
-          gopDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  (com.google.protobuf.Duration) gopMode_,
-                  getParentForChildren(),
-                  isClean());
+          gopDurationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  (com.google.protobuf.Duration) gopMode_, getParentForChildren(), isClean());
           gopMode_ = null;
         }
         gopModeCase_ = 8;
-        onChanged();;
+        onChanged();
+        ;
         return gopDurationBuilder_;
       }
 
-      private int vbvSizeBits_ ;
+      private int vbvSizeBits_;
       /**
+       *
+       *
        * 
        * Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
        * greater than zero. The default is equal to [bitrate_bps][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.bitrate_bps].
        * 
* * int32 vbv_size_bits = 9; + * * @return The vbvSizeBits. */ @java.lang.Override @@ -2191,39 +2439,47 @@ public int getVbvSizeBits() { return vbvSizeBits_; } /** + * + * *
        * Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
        * greater than zero. The default is equal to [bitrate_bps][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.bitrate_bps].
        * 
* * int32 vbv_size_bits = 9; + * * @param value The vbvSizeBits to set. * @return This builder for chaining. */ public Builder setVbvSizeBits(int value) { - + vbvSizeBits_ = value; onChanged(); return this; } /** + * + * *
        * Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
        * greater than zero. The default is equal to [bitrate_bps][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.bitrate_bps].
        * 
* * int32 vbv_size_bits = 9; + * * @return This builder for chaining. */ public Builder clearVbvSizeBits() { - + vbvSizeBits_ = 0; onChanged(); return this; } - private int vbvFullnessBits_ ; + private int vbvFullnessBits_; /** + * + * *
        * Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
        * Must be greater than zero. The default is equal to 90% of
@@ -2231,6 +2487,7 @@ public Builder clearVbvSizeBits() {
        * 
* * int32 vbv_fullness_bits = 10; + * * @return The vbvFullnessBits. */ @java.lang.Override @@ -2238,6 +2495,8 @@ public int getVbvFullnessBits() { return vbvFullnessBits_; } /** + * + * *
        * Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
        * Must be greater than zero. The default is equal to 90% of
@@ -2245,16 +2504,19 @@ public int getVbvFullnessBits() {
        * 
* * int32 vbv_fullness_bits = 10; + * * @param value The vbvFullnessBits to set. * @return This builder for chaining. */ public Builder setVbvFullnessBits(int value) { - + vbvFullnessBits_ = value; onChanged(); return this; } /** + * + * *
        * Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
        * Must be greater than zero. The default is equal to 90% of
@@ -2262,10 +2524,11 @@ public Builder setVbvFullnessBits(int value) {
        * 
* * int32 vbv_fullness_bits = 10; + * * @return This builder for chaining. */ public Builder clearVbvFullnessBits() { - + vbvFullnessBits_ = 0; onChanged(); return this; @@ -2273,6 +2536,8 @@ public Builder clearVbvFullnessBits() { private java.lang.Object entropyCoder_ = ""; /** + * + * *
        * The entropy coder to use. The default is `cabac`.
        * Supported entropy coders:
@@ -2281,13 +2546,13 @@ public Builder clearVbvFullnessBits() {
        * 
* * string entropy_coder = 11; + * * @return The entropyCoder. */ public java.lang.String getEntropyCoder() { java.lang.Object ref = entropyCoder_; 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(); entropyCoder_ = s; return s; @@ -2296,6 +2561,8 @@ public java.lang.String getEntropyCoder() { } } /** + * + * *
        * The entropy coder to use. The default is `cabac`.
        * Supported entropy coders:
@@ -2304,15 +2571,14 @@ public java.lang.String getEntropyCoder() {
        * 
* * string entropy_coder = 11; + * * @return The bytes for entropyCoder. */ - public com.google.protobuf.ByteString - getEntropyCoderBytes() { + public com.google.protobuf.ByteString getEntropyCoderBytes() { java.lang.Object ref = entropyCoder_; 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); entropyCoder_ = b; return b; } else { @@ -2320,6 +2586,8 @@ public java.lang.String getEntropyCoder() { } } /** + * + * *
        * The entropy coder to use. The default is `cabac`.
        * Supported entropy coders:
@@ -2328,20 +2596,22 @@ public java.lang.String getEntropyCoder() {
        * 
* * string entropy_coder = 11; + * * @param value The entropyCoder to set. * @return This builder for chaining. */ - public Builder setEntropyCoder( - java.lang.String value) { + public Builder setEntropyCoder(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entropyCoder_ = value; onChanged(); return this; } /** + * + * *
        * The entropy coder to use. The default is `cabac`.
        * Supported entropy coders:
@@ -2350,15 +2620,18 @@ public Builder setEntropyCoder(
        * 
* * string entropy_coder = 11; + * * @return This builder for chaining. */ public Builder clearEntropyCoder() { - + entropyCoder_ = getDefaultInstance().getEntropyCoder(); onChanged(); return this; } /** + * + * *
        * The entropy coder to use. The default is `cabac`.
        * Supported entropy coders:
@@ -2367,29 +2640,32 @@ public Builder clearEntropyCoder() {
        * 
* * string entropy_coder = 11; + * * @param value The bytes for entropyCoder to set. * @return This builder for chaining. */ - public Builder setEntropyCoderBytes( - com.google.protobuf.ByteString value) { + public Builder setEntropyCoderBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entropyCoder_ = value; onChanged(); return this; } - private boolean bPyramid_ ; + private boolean bPyramid_; /** + * + * *
        * Allow B-pyramid for reference frame selection. This may not be supported
        * on all decoders. The default is `false`.
        * 
* * bool b_pyramid = 12; + * * @return The bPyramid. */ @java.lang.Override @@ -2397,39 +2673,47 @@ public boolean getBPyramid() { return bPyramid_; } /** + * + * *
        * Allow B-pyramid for reference frame selection. This may not be supported
        * on all decoders. The default is `false`.
        * 
* * bool b_pyramid = 12; + * * @param value The bPyramid to set. * @return This builder for chaining. */ public Builder setBPyramid(boolean value) { - + bPyramid_ = value; onChanged(); return this; } /** + * + * *
        * Allow B-pyramid for reference frame selection. This may not be supported
        * on all decoders. The default is `false`.
        * 
* * bool b_pyramid = 12; + * * @return This builder for chaining. */ public Builder clearBPyramid() { - + bPyramid_ = false; onChanged(); return this; } - private int bFrameCount_ ; + private int bFrameCount_; /** + * + * *
        * The number of consecutive B-frames. Must be greater than or equal to
        * zero. Must be less than [gop_frame_count][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_frame_count] if set. The default
@@ -2437,6 +2721,7 @@ public Builder clearBPyramid() {
        * 
* * int32 b_frame_count = 13; + * * @return The bFrameCount. */ @java.lang.Override @@ -2444,6 +2729,8 @@ public int getBFrameCount() { return bFrameCount_; } /** + * + * *
        * The number of consecutive B-frames. Must be greater than or equal to
        * zero. Must be less than [gop_frame_count][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_frame_count] if set. The default
@@ -2451,16 +2738,19 @@ public int getBFrameCount() {
        * 
* * int32 b_frame_count = 13; + * * @param value The bFrameCount to set. * @return This builder for chaining. */ public Builder setBFrameCount(int value) { - + bFrameCount_ = value; onChanged(); return this; } /** + * + * *
        * The number of consecutive B-frames. Must be greater than or equal to
        * zero. Must be less than [gop_frame_count][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_frame_count] if set. The default
@@ -2468,17 +2758,20 @@ public Builder setBFrameCount(int value) {
        * 
* * int32 b_frame_count = 13; + * * @return This builder for chaining. */ public Builder clearBFrameCount() { - + bFrameCount_ = 0; onChanged(); return this; } - private double aqStrength_ ; + private double aqStrength_; /** + * + * *
        * Specify the intensity of the adaptive quantizer (AQ). Must be between 0
        * and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A
@@ -2486,6 +2779,7 @@ public Builder clearBFrameCount() {
        * 
* * double aq_strength = 14; + * * @return The aqStrength. */ @java.lang.Override @@ -2493,6 +2787,8 @@ public double getAqStrength() { return aqStrength_; } /** + * + * *
        * Specify the intensity of the adaptive quantizer (AQ). Must be between 0
        * and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A
@@ -2500,16 +2796,19 @@ public double getAqStrength() {
        * 
* * double aq_strength = 14; + * * @param value The aqStrength to set. * @return This builder for chaining. */ public Builder setAqStrength(double value) { - + aqStrength_ = value; onChanged(); return this; } /** + * + * *
        * Specify the intensity of the adaptive quantizer (AQ). Must be between 0
        * and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A
@@ -2517,10 +2816,11 @@ public Builder setAqStrength(double value) {
        * 
* * double aq_strength = 14; + * * @return This builder for chaining. */ public Builder clearAqStrength() { - + aqStrength_ = 0D; onChanged(); return this; @@ -2528,6 +2828,8 @@ public Builder clearAqStrength() { private java.lang.Object profile_ = ""; /** + * + * *
        * Enforces the specified codec profile. The following profiles are
        * supported:
@@ -2542,13 +2844,13 @@ public Builder clearAqStrength() {
        * 
* * string profile = 15; + * * @return The profile. */ public java.lang.String getProfile() { java.lang.Object ref = profile_; 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(); profile_ = s; return s; @@ -2557,6 +2859,8 @@ public java.lang.String getProfile() { } } /** + * + * *
        * Enforces the specified codec profile. The following profiles are
        * supported:
@@ -2571,15 +2875,14 @@ public java.lang.String getProfile() {
        * 
* * string profile = 15; + * * @return The bytes for profile. */ - public com.google.protobuf.ByteString - getProfileBytes() { + public com.google.protobuf.ByteString getProfileBytes() { java.lang.Object ref = profile_; 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); profile_ = b; return b; } else { @@ -2587,6 +2890,8 @@ public java.lang.String getProfile() { } } /** + * + * *
        * Enforces the specified codec profile. The following profiles are
        * supported:
@@ -2601,20 +2906,22 @@ public java.lang.String getProfile() {
        * 
* * string profile = 15; + * * @param value The profile to set. * @return This builder for chaining. */ - public Builder setProfile( - java.lang.String value) { + public Builder setProfile(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + profile_ = value; onChanged(); return this; } /** + * + * *
        * Enforces the specified codec profile. The following profiles are
        * supported:
@@ -2629,15 +2936,18 @@ public Builder setProfile(
        * 
* * string profile = 15; + * * @return This builder for chaining. */ public Builder clearProfile() { - + profile_ = getDefaultInstance().getProfile(); onChanged(); return this; } /** + * + * *
        * Enforces the specified codec profile. The following profiles are
        * supported:
@@ -2652,16 +2962,16 @@ public Builder clearProfile() {
        * 
* * string profile = 15; + * * @param value The bytes for profile to set. * @return This builder for chaining. */ - public Builder setProfileBytes( - com.google.protobuf.ByteString value) { + public Builder setProfileBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + profile_ = value; onChanged(); return this; @@ -2669,6 +2979,8 @@ public Builder setProfileBytes( private java.lang.Object tune_ = ""; /** + * + * *
        * Enforces the specified codec tune. The available options are
        * [FFmpeg-compatible Encode
@@ -2678,13 +2990,13 @@ public Builder setProfileBytes(
        * 
* * string tune = 16; + * * @return The tune. */ public java.lang.String getTune() { java.lang.Object ref = tune_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tune_ = s; return s; @@ -2693,6 +3005,8 @@ public java.lang.String getTune() { } } /** + * + * *
        * Enforces the specified codec tune. The available options are
        * [FFmpeg-compatible Encode
@@ -2702,15 +3016,14 @@ public java.lang.String getTune() {
        * 
* * string tune = 16; + * * @return The bytes for tune. */ - public com.google.protobuf.ByteString - getTuneBytes() { + public com.google.protobuf.ByteString getTuneBytes() { java.lang.Object ref = tune_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tune_ = b; return b; } else { @@ -2718,6 +3031,8 @@ public java.lang.String getTune() { } } /** + * + * *
        * Enforces the specified codec tune. The available options are
        * [FFmpeg-compatible Encode
@@ -2727,20 +3042,22 @@ public java.lang.String getTune() {
        * 
* * string tune = 16; + * * @param value The tune to set. * @return This builder for chaining. */ - public Builder setTune( - java.lang.String value) { + public Builder setTune(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tune_ = value; onChanged(); return this; } /** + * + * *
        * Enforces the specified codec tune. The available options are
        * [FFmpeg-compatible Encode
@@ -2750,15 +3067,18 @@ public Builder setTune(
        * 
* * string tune = 16; + * * @return This builder for chaining. */ public Builder clearTune() { - + tune_ = getDefaultInstance().getTune(); onChanged(); return this; } /** + * + * *
        * Enforces the specified codec tune. The available options are
        * [FFmpeg-compatible Encode
@@ -2768,20 +3088,21 @@ public Builder clearTune() {
        * 
* * string tune = 16; + * * @param value The bytes for tune to set. * @return This builder for chaining. */ - public Builder setTuneBytes( - com.google.protobuf.ByteString value) { + public Builder setTuneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tune_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2794,30 +3115,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) - private static final com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings DEFAULT_INSTANCE; + private static final com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings(); } - public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings getDefaultInstance() { + public static com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public H264CodecSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new H264CodecSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public H264CodecSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new H264CodecSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2829,20 +3152,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings getDefaultInstanceForType() { + public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int codecSettingsCase_ = 0; private java.lang.Object codecSettings_; + public enum CodecSettingsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { H264(20), CODECSETTINGS_NOT_SET(0); private final int value; + private CodecSettingsCase(int value) { this.value = value; } @@ -2858,29 +3184,34 @@ public static CodecSettingsCase valueOf(int value) { public static CodecSettingsCase forNumber(int value) { switch (value) { - case 20: return H264; - case 0: return CODECSETTINGS_NOT_SET; - default: return null; + case 20: + return H264; + case 0: + return CODECSETTINGS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public CodecSettingsCase - getCodecSettingsCase() { - return CodecSettingsCase.forNumber( - codecSettingsCase_); + public CodecSettingsCase getCodecSettingsCase() { + return CodecSettingsCase.forNumber(codecSettingsCase_); } public static final int H264_FIELD_NUMBER = 20; /** + * + * *
    * H264 codec settings.
    * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; + * * @return Whether the h264 field is set. */ @java.lang.Override @@ -2888,21 +3219,26 @@ public boolean hasH264() { return codecSettingsCase_ == 20; } /** + * + * *
    * H264 codec settings.
    * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; + * * @return The h264. */ @java.lang.Override public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings getH264() { if (codecSettingsCase_ == 20) { - return (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_; + return (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_; } return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance(); } /** + * + * *
    * H264 codec settings.
    * 
@@ -2910,14 +3246,16 @@ public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings getH26 * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder getH264OrBuilder() { + public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder + getH264OrBuilder() { if (codecSettingsCase_ == 20) { - return (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_; + return (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_; } return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2929,10 +3267,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (codecSettingsCase_ == 20) { - output.writeMessage(20, (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_); + output.writeMessage( + 20, (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_); } unknownFields.writeTo(output); } @@ -2944,8 +3282,10 @@ public int getSerializedSize() { size = 0; if (codecSettingsCase_ == 20) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 20, + (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2955,18 +3295,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.VideoStream)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.VideoStream other = (com.google.cloud.video.livestream.v1.VideoStream) obj; + com.google.cloud.video.livestream.v1.VideoStream other = + (com.google.cloud.video.livestream.v1.VideoStream) obj; if (!getCodecSettingsCase().equals(other.getCodecSettingsCase())) return false; switch (codecSettingsCase_) { case 20: - if (!getH264() - .equals(other.getH264())) return false; + if (!getH264().equals(other.getH264())) return false; break; case 0: default: @@ -2995,118 +3335,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.video.livestream.v1.VideoStream parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.VideoStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoStream parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoStream parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.VideoStream parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.VideoStream parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.VideoStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.video.livestream.v1.VideoStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 stream resource.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.VideoStream} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.VideoStream) com.google.cloud.video.livestream.v1.VideoStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_fieldAccessorTable + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_VideoStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.VideoStream.class, com.google.cloud.video.livestream.v1.VideoStream.Builder.class); + com.google.cloud.video.livestream.v1.VideoStream.class, + com.google.cloud.video.livestream.v1.VideoStream.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.VideoStream.newBuilder() @@ -3114,16 +3463,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(); @@ -3133,9 +3481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.OutputsProto.internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.OutputsProto + .internal_static_google_cloud_video_livestream_v1_VideoStream_descriptor; } @java.lang.Override @@ -3154,7 +3502,8 @@ public com.google.cloud.video.livestream.v1.VideoStream build() { @java.lang.Override public com.google.cloud.video.livestream.v1.VideoStream buildPartial() { - com.google.cloud.video.livestream.v1.VideoStream result = new com.google.cloud.video.livestream.v1.VideoStream(this); + com.google.cloud.video.livestream.v1.VideoStream result = + new com.google.cloud.video.livestream.v1.VideoStream(this); if (codecSettingsCase_ == 20) { if (h264Builder_ == null) { result.codecSettings_ = codecSettings_; @@ -3171,38 +3520,39 @@ public com.google.cloud.video.livestream.v1.VideoStream buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.VideoStream) { - return mergeFrom((com.google.cloud.video.livestream.v1.VideoStream)other); + return mergeFrom((com.google.cloud.video.livestream.v1.VideoStream) other); } else { super.mergeFrom(other); return this; @@ -3210,15 +3560,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.VideoStream other) { - if (other == com.google.cloud.video.livestream.v1.VideoStream.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.VideoStream.getDefaultInstance()) + return this; switch (other.getCodecSettingsCase()) { - case H264: { - mergeH264(other.getH264()); - break; - } - case CODECSETTINGS_NOT_SET: { - break; - } + case H264: + { + mergeH264(other.getH264()); + break; + } + case CODECSETTINGS_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -3248,12 +3601,12 @@ public Builder mergeFrom( } return this; } + private int codecSettingsCase_ = 0; private java.lang.Object codecSettings_; - public CodecSettingsCase - getCodecSettingsCase() { - return CodecSettingsCase.forNumber( - codecSettingsCase_); + + public CodecSettingsCase getCodecSettingsCase() { + return CodecSettingsCase.forNumber(codecSettingsCase_); } public Builder clearCodecSettings() { @@ -3263,15 +3616,20 @@ public Builder clearCodecSettings() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings, com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder, com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder> h264Builder_; + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings, + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder, + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder> + h264Builder_; /** + * + * *
      * H264 codec settings.
      * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; + * * @return Whether the h264 field is set. */ @java.lang.Override @@ -3279,35 +3637,44 @@ public boolean hasH264() { return codecSettingsCase_ == 20; } /** + * + * *
      * H264 codec settings.
      * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; + * * @return The h264. */ @java.lang.Override public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings getH264() { if (h264Builder_ == null) { if (codecSettingsCase_ == 20) { - return (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_; + return (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) + codecSettings_; } - return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance(); + return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings + .getDefaultInstance(); } else { if (codecSettingsCase_ == 20) { return h264Builder_.getMessage(); } - return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance(); + return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings + .getDefaultInstance(); } } /** + * + * *
      * H264 codec settings.
      * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; */ - public Builder setH264(com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings value) { + public Builder setH264( + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings value) { if (h264Builder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3321,6 +3688,8 @@ public Builder setH264(com.google.cloud.video.livestream.v1.VideoStream.H264Code return this; } /** + * + * *
      * H264 codec settings.
      * 
@@ -3328,7 +3697,8 @@ public Builder setH264(com.google.cloud.video.livestream.v1.VideoStream.H264Code * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; */ public Builder setH264( - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder builderForValue) { + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder + builderForValue) { if (h264Builder_ == null) { codecSettings_ = builderForValue.build(); onChanged(); @@ -3339,18 +3709,27 @@ public Builder setH264( return this; } /** + * + * *
      * H264 codec settings.
      * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; */ - public Builder mergeH264(com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings value) { + public Builder mergeH264( + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings value) { if (h264Builder_ == null) { - if (codecSettingsCase_ == 20 && - codecSettings_ != com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance()) { - codecSettings_ = com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.newBuilder((com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_) - .mergeFrom(value).buildPartial(); + if (codecSettingsCase_ == 20 + && codecSettings_ + != com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings + .getDefaultInstance()) { + codecSettings_ = + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.newBuilder( + (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) + codecSettings_) + .mergeFrom(value) + .buildPartial(); } else { codecSettings_ = value; } @@ -3366,6 +3745,8 @@ public Builder mergeH264(com.google.cloud.video.livestream.v1.VideoStream.H264Co return this; } /** + * + * *
      * H264 codec settings.
      * 
@@ -3389,16 +3770,21 @@ public Builder clearH264() { return this; } /** + * + * *
      * H264 codec settings.
      * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; */ - public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder getH264Builder() { + public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder + getH264Builder() { return getH264FieldBuilder().getBuilder(); } /** + * + * *
      * H264 codec settings.
      * 
@@ -3406,17 +3792,22 @@ public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builde * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; */ @java.lang.Override - public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder getH264OrBuilder() { + public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder + getH264OrBuilder() { if ((codecSettingsCase_ == 20) && (h264Builder_ != null)) { return h264Builder_.getMessageOrBuilder(); } else { if (codecSettingsCase_ == 20) { - return (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_; + return (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) + codecSettings_; } - return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance(); + return com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings + .getDefaultInstance(); } } /** + * + * *
      * H264 codec settings.
      * 
@@ -3424,26 +3815,34 @@ public com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuild * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings, com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder, com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder> + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings, + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder, + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder> getH264FieldBuilder() { if (h264Builder_ == null) { if (!(codecSettingsCase_ == 20)) { - codecSettings_ = com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.getDefaultInstance(); + codecSettings_ = + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings + .getDefaultInstance(); } - h264Builder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings, com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder, com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder>( + h264Builder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings, + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.Builder, + com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsOrBuilder>( (com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings) codecSettings_, getParentForChildren(), isClean()); codecSettings_ = null; } codecSettingsCase_ = 20; - onChanged();; + onChanged(); + ; return h264Builder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3453,12 +3852,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.VideoStream) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.VideoStream) private static final com.google.cloud.video.livestream.v1.VideoStream DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.VideoStream(); } @@ -3467,16 +3866,16 @@ public static com.google.cloud.video.livestream.v1.VideoStream getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3491,6 +3890,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.VideoStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamOrBuilder.java index 96e5696..dac12d3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamOrBuilder.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/video/livestream/v1/outputs.proto package com.google.cloud.video.livestream.v1; -public interface VideoStreamOrBuilder extends +public interface VideoStreamOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.VideoStream) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * H264 codec settings.
    * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; + * * @return Whether the h264 field is set. */ boolean hasH264(); /** + * + * *
    * H264 codec settings.
    * 
* * .google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20; + * * @return The h264. */ com.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings getH264(); /** + * + * *
    * H264 codec settings.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamProperty.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamProperty.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamProperty.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamProperty.java index 2b45c5b..940d488 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamProperty.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamProperty.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/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; /** + * + * *
  * Properties of the video stream.
  * 
* * Protobuf type {@code google.cloud.video.livestream.v1.VideoStreamProperty} */ -public final class VideoStreamProperty extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoStreamProperty extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.video.livestream.v1.VideoStreamProperty) VideoStreamPropertyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoStreamProperty.newBuilder() to construct. private VideoStreamProperty(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoStreamProperty() { - } + + private VideoStreamProperty() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoStreamProperty(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoStreamProperty( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,34 @@ private VideoStreamProperty( case 0: done = true; break; - case 8: { - - index_ = input.readInt32(); - break; - } - case 18: { - com.google.cloud.video.livestream.v1.VideoFormat.Builder subBuilder = null; - if (videoFormat_ != null) { - subBuilder = videoFormat_.toBuilder(); + case 8: + { + index_ = input.readInt32(); + break; } - videoFormat_ = input.readMessage(com.google.cloud.video.livestream.v1.VideoFormat.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(videoFormat_); - videoFormat_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.video.livestream.v1.VideoFormat.Builder subBuilder = null; + if (videoFormat_ != null) { + subBuilder = videoFormat_.toBuilder(); + } + videoFormat_ = + input.readMessage( + com.google.cloud.video.livestream.v1.VideoFormat.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(videoFormat_); + videoFormat_ = 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) { @@ -84,34 +103,39 @@ private VideoStreamProperty( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.VideoStreamProperty.class, com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder.class); + com.google.cloud.video.livestream.v1.VideoStreamProperty.class, + com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder.class); } public static final int INDEX_FIELD_NUMBER = 1; private int index_; /** + * + * *
    * Index of this video stream.
    * 
* * int32 index = 1; + * * @return The index. */ @java.lang.Override @@ -122,11 +146,14 @@ public int getIndex() { public static final int VIDEO_FORMAT_FIELD_NUMBER = 2; private com.google.cloud.video.livestream.v1.VideoFormat videoFormat_; /** + * + * *
    * Properties of the video format.
    * 
* * .google.cloud.video.livestream.v1.VideoFormat video_format = 2; + * * @return Whether the videoFormat field is set. */ @java.lang.Override @@ -134,18 +161,25 @@ public boolean hasVideoFormat() { return videoFormat_ != null; } /** + * + * *
    * Properties of the video format.
    * 
* * .google.cloud.video.livestream.v1.VideoFormat video_format = 2; + * * @return The videoFormat. */ @java.lang.Override public com.google.cloud.video.livestream.v1.VideoFormat getVideoFormat() { - return videoFormat_ == null ? com.google.cloud.video.livestream.v1.VideoFormat.getDefaultInstance() : videoFormat_; + return videoFormat_ == null + ? com.google.cloud.video.livestream.v1.VideoFormat.getDefaultInstance() + : videoFormat_; } /** + * + * *
    * Properties of the video format.
    * 
@@ -158,6 +192,7 @@ public com.google.cloud.video.livestream.v1.VideoFormatOrBuilder getVideoFormatO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,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 (index_ != 0) { output.writeInt32(1, index_); } @@ -187,12 +221,10 @@ public int getSerializedSize() { size = 0; if (index_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, index_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, index_); } if (videoFormat_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getVideoFormat()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getVideoFormat()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -202,19 +234,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.livestream.v1.VideoStreamProperty)) { return super.equals(obj); } - com.google.cloud.video.livestream.v1.VideoStreamProperty other = (com.google.cloud.video.livestream.v1.VideoStreamProperty) obj; + com.google.cloud.video.livestream.v1.VideoStreamProperty other = + (com.google.cloud.video.livestream.v1.VideoStreamProperty) obj; - if (getIndex() - != other.getIndex()) return false; + if (getIndex() != other.getIndex()) return false; if (hasVideoFormat() != other.hasVideoFormat()) return false; if (hasVideoFormat()) { - if (!getVideoFormat() - .equals(other.getVideoFormat())) return false; + if (!getVideoFormat().equals(other.getVideoFormat())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -239,117 +270,127 @@ public int hashCode() { } public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.video.livestream.v1.VideoStreamProperty parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.livestream.v1.VideoStreamProperty prototype) { + + public static Builder newBuilder( + com.google.cloud.video.livestream.v1.VideoStreamProperty prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Properties of the video stream.
    * 
* * Protobuf type {@code google.cloud.video.livestream.v1.VideoStreamProperty} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.video.livestream.v1.VideoStreamProperty) com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_fieldAccessorTable + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.livestream.v1.VideoStreamProperty.class, com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder.class); + com.google.cloud.video.livestream.v1.VideoStreamProperty.class, + com.google.cloud.video.livestream.v1.VideoStreamProperty.Builder.class); } // Construct using com.google.cloud.video.livestream.v1.VideoStreamProperty.newBuilder() @@ -357,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(); @@ -382,9 +422,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.video.livestream.v1.ResourcesProto.internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.video.livestream.v1.ResourcesProto + .internal_static_google_cloud_video_livestream_v1_VideoStreamProperty_descriptor; } @java.lang.Override @@ -403,7 +443,8 @@ public com.google.cloud.video.livestream.v1.VideoStreamProperty build() { @java.lang.Override public com.google.cloud.video.livestream.v1.VideoStreamProperty buildPartial() { - com.google.cloud.video.livestream.v1.VideoStreamProperty result = new com.google.cloud.video.livestream.v1.VideoStreamProperty(this); + com.google.cloud.video.livestream.v1.VideoStreamProperty result = + new com.google.cloud.video.livestream.v1.VideoStreamProperty(this); result.index_ = index_; if (videoFormatBuilder_ == null) { result.videoFormat_ = videoFormat_; @@ -418,38 +459,39 @@ public com.google.cloud.video.livestream.v1.VideoStreamProperty buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.video.livestream.v1.VideoStreamProperty) { - return mergeFrom((com.google.cloud.video.livestream.v1.VideoStreamProperty)other); + return mergeFrom((com.google.cloud.video.livestream.v1.VideoStreamProperty) other); } else { super.mergeFrom(other); return this; @@ -457,7 +499,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.livestream.v1.VideoStreamProperty other) { - if (other == com.google.cloud.video.livestream.v1.VideoStreamProperty.getDefaultInstance()) return this; + if (other == com.google.cloud.video.livestream.v1.VideoStreamProperty.getDefaultInstance()) + return this; if (other.getIndex() != 0) { setIndex(other.getIndex()); } @@ -483,7 +526,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.livestream.v1.VideoStreamProperty) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.video.livestream.v1.VideoStreamProperty) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,13 +537,16 @@ public Builder mergeFrom( return this; } - private int index_ ; + private int index_; /** + * + * *
      * Index of this video stream.
      * 
* * int32 index = 1; + * * @return The index. */ @java.lang.Override @@ -507,30 +554,36 @@ public int getIndex() { return index_; } /** + * + * *
      * Index of this video stream.
      * 
* * int32 index = 1; + * * @param value The index to set. * @return This builder for chaining. */ public Builder setIndex(int value) { - + index_ = value; onChanged(); return this; } /** + * + * *
      * Index of this video stream.
      * 
* * int32 index = 1; + * * @return This builder for chaining. */ public Builder clearIndex() { - + index_ = 0; onChanged(); return this; @@ -538,34 +591,47 @@ public Builder clearIndex() { private com.google.cloud.video.livestream.v1.VideoFormat videoFormat_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoFormat, com.google.cloud.video.livestream.v1.VideoFormat.Builder, com.google.cloud.video.livestream.v1.VideoFormatOrBuilder> videoFormatBuilder_; + com.google.cloud.video.livestream.v1.VideoFormat, + com.google.cloud.video.livestream.v1.VideoFormat.Builder, + com.google.cloud.video.livestream.v1.VideoFormatOrBuilder> + videoFormatBuilder_; /** + * + * *
      * Properties of the video format.
      * 
* * .google.cloud.video.livestream.v1.VideoFormat video_format = 2; + * * @return Whether the videoFormat field is set. */ public boolean hasVideoFormat() { return videoFormatBuilder_ != null || videoFormat_ != null; } /** + * + * *
      * Properties of the video format.
      * 
* * .google.cloud.video.livestream.v1.VideoFormat video_format = 2; + * * @return The videoFormat. */ public com.google.cloud.video.livestream.v1.VideoFormat getVideoFormat() { if (videoFormatBuilder_ == null) { - return videoFormat_ == null ? com.google.cloud.video.livestream.v1.VideoFormat.getDefaultInstance() : videoFormat_; + return videoFormat_ == null + ? com.google.cloud.video.livestream.v1.VideoFormat.getDefaultInstance() + : videoFormat_; } else { return videoFormatBuilder_.getMessage(); } } /** + * + * *
      * Properties of the video format.
      * 
@@ -586,6 +652,8 @@ public Builder setVideoFormat(com.google.cloud.video.livestream.v1.VideoFormat v return this; } /** + * + * *
      * Properties of the video format.
      * 
@@ -604,6 +672,8 @@ public Builder setVideoFormat( return this; } /** + * + * *
      * Properties of the video format.
      * 
@@ -614,7 +684,9 @@ public Builder mergeVideoFormat(com.google.cloud.video.livestream.v1.VideoFormat if (videoFormatBuilder_ == null) { if (videoFormat_ != null) { videoFormat_ = - com.google.cloud.video.livestream.v1.VideoFormat.newBuilder(videoFormat_).mergeFrom(value).buildPartial(); + com.google.cloud.video.livestream.v1.VideoFormat.newBuilder(videoFormat_) + .mergeFrom(value) + .buildPartial(); } else { videoFormat_ = value; } @@ -626,6 +698,8 @@ public Builder mergeVideoFormat(com.google.cloud.video.livestream.v1.VideoFormat return this; } /** + * + * *
      * Properties of the video format.
      * 
@@ -644,6 +718,8 @@ public Builder clearVideoFormat() { return this; } /** + * + * *
      * Properties of the video format.
      * 
@@ -651,11 +727,13 @@ public Builder clearVideoFormat() { * .google.cloud.video.livestream.v1.VideoFormat video_format = 2; */ public com.google.cloud.video.livestream.v1.VideoFormat.Builder getVideoFormatBuilder() { - + onChanged(); return getVideoFormatFieldBuilder().getBuilder(); } /** + * + * *
      * Properties of the video format.
      * 
@@ -666,11 +744,14 @@ public com.google.cloud.video.livestream.v1.VideoFormatOrBuilder getVideoFormatO if (videoFormatBuilder_ != null) { return videoFormatBuilder_.getMessageOrBuilder(); } else { - return videoFormat_ == null ? - com.google.cloud.video.livestream.v1.VideoFormat.getDefaultInstance() : videoFormat_; + return videoFormat_ == null + ? com.google.cloud.video.livestream.v1.VideoFormat.getDefaultInstance() + : videoFormat_; } } /** + * + * *
      * Properties of the video format.
      * 
@@ -678,21 +759,24 @@ public com.google.cloud.video.livestream.v1.VideoFormatOrBuilder getVideoFormatO * .google.cloud.video.livestream.v1.VideoFormat video_format = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoFormat, com.google.cloud.video.livestream.v1.VideoFormat.Builder, com.google.cloud.video.livestream.v1.VideoFormatOrBuilder> + com.google.cloud.video.livestream.v1.VideoFormat, + com.google.cloud.video.livestream.v1.VideoFormat.Builder, + com.google.cloud.video.livestream.v1.VideoFormatOrBuilder> getVideoFormatFieldBuilder() { if (videoFormatBuilder_ == null) { - videoFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.livestream.v1.VideoFormat, com.google.cloud.video.livestream.v1.VideoFormat.Builder, com.google.cloud.video.livestream.v1.VideoFormatOrBuilder>( - getVideoFormat(), - getParentForChildren(), - isClean()); + videoFormatBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.livestream.v1.VideoFormat, + com.google.cloud.video.livestream.v1.VideoFormat.Builder, + com.google.cloud.video.livestream.v1.VideoFormatOrBuilder>( + getVideoFormat(), getParentForChildren(), isClean()); videoFormat_ = null; } return videoFormatBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -702,12 +786,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.video.livestream.v1.VideoStreamProperty) } // @@protoc_insertion_point(class_scope:google.cloud.video.livestream.v1.VideoStreamProperty) private static final com.google.cloud.video.livestream.v1.VideoStreamProperty DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.video.livestream.v1.VideoStreamProperty(); } @@ -716,16 +800,16 @@ public static com.google.cloud.video.livestream.v1.VideoStreamProperty getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoStreamProperty parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoStreamProperty(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoStreamProperty parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoStreamProperty(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -740,6 +824,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.livestream.v1.VideoStreamProperty getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamPropertyOrBuilder.java b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamPropertyOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamPropertyOrBuilder.java rename to proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamPropertyOrBuilder.java index 2d49795..2c3791c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamPropertyOrBuilder.java +++ b/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStreamPropertyOrBuilder.java @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/livestream/v1/resources.proto package com.google.cloud.video.livestream.v1; -public interface VideoStreamPropertyOrBuilder extends +public interface VideoStreamPropertyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.VideoStreamProperty) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Index of this video stream.
    * 
* * int32 index = 1; + * * @return The index. */ int getIndex(); /** + * + * *
    * Properties of the video format.
    * 
* * .google.cloud.video.livestream.v1.VideoFormat video_format = 2; + * * @return Whether the videoFormat field is set. */ boolean hasVideoFormat(); /** + * + * *
    * Properties of the video format.
    * 
* * .google.cloud.video.livestream.v1.VideoFormat video_format = 2; + * * @return The videoFormat. */ com.google.cloud.video.livestream.v1.VideoFormat getVideoFormat(); /** + * + * *
    * Properties of the video format.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/outputs.proto b/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/outputs.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/outputs.proto rename to proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/outputs.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/resources.proto b/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/resources.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/resources.proto rename to proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/resources.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/service.proto b/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/service.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/service.proto rename to proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/service.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannel.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannel.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannelLRO.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannelLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannelLRO.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/AsyncCreateChannelLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannel.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannel.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelLocationnameChannelString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelLocationnameChannelString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelLocationnameChannelString.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelLocationnameChannelString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelStringChannelString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelStringChannelString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelStringChannelString.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelStringChannelString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/AsyncCreateEvent.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/AsyncCreateEvent.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/AsyncCreateEvent.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/AsyncCreateEvent.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEvent.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEvent.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEvent.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEvent.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventChannelnameEventString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventChannelnameEventString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventChannelnameEventString.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventChannelnameEventString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventStringEventString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventStringEventString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventStringEventString.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createevent/SyncCreateEventStringEventString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInput.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInput.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInput.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInput.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInputLRO.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInputLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInputLRO.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/AsyncCreateInputLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInput.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInput.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInput.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInput.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputLocationnameInputString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputLocationnameInputString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputLocationnameInputString.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputLocationnameInputString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputStringInputString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputStringInputString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputStringInputString.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createinput/SyncCreateInputStringInputString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannel.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannel.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannelLRO.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannelLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannelLRO.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/AsyncDeleteChannelLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannel.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannel.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelChannelname.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelChannelname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelChannelname.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelChannelname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelString.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/AsyncDeleteEvent.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/AsyncDeleteEvent.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/AsyncDeleteEvent.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/AsyncDeleteEvent.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEvent.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEvent.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEvent.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEvent.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventEventname.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventEventname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventEventname.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventEventname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventString.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInput.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInput.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInput.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInput.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInputLRO.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInputLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInputLRO.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/AsyncDeleteInputLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInput.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInput.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInput.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInput.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputInputname.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputInputname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputInputname.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputInputname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputString.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/AsyncGetChannel.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/AsyncGetChannel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/AsyncGetChannel.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/AsyncGetChannel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannel.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannel.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelChannelname.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelChannelname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelChannelname.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelChannelname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelString.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getchannel/SyncGetChannelString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/AsyncGetEvent.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/AsyncGetEvent.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/AsyncGetEvent.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/AsyncGetEvent.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEvent.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEvent.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEvent.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEvent.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventEventname.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventEventname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventEventname.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventEventname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventString.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getevent/SyncGetEventString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/AsyncGetInput.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/AsyncGetInput.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/AsyncGetInput.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/AsyncGetInput.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInput.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInput.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInput.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInput.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputInputname.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputInputname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputInputname.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputInputname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputString.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/getinput/SyncGetInputString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannels.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannels.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannels.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannels.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannelsPaged.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannelsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannelsPaged.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/AsyncListChannelsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannels.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannels.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannels.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannels.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsLocationname.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsLocationname.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsString.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listchannels/SyncListChannelsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEvents.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEvents.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEvents.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEvents.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEventsPaged.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEventsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEventsPaged.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/AsyncListEventsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEvents.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEvents.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEvents.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEvents.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsChannelname.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsChannelname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsChannelname.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsChannelname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsString.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listevents/SyncListEventsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputs.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputs.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputs.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputs.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputsPaged.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputsPaged.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/AsyncListInputsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputs.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputs.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputs.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputs.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsLocationname.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsLocationname.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsString.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/listinputs/SyncListInputsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannel.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannel.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannelLRO.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannelLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannelLRO.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/AsyncStartChannelLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannel.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannel.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelChannelname.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelChannelname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelChannelname.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelChannelname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelString.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/startchannel/SyncStartChannelString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannel.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannel.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannelLRO.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannelLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannelLRO.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/AsyncStopChannelLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannel.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannel.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelChannelname.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelChannelname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelChannelname.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelChannelname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelString.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/stopchannel/SyncStopChannelString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannel.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannel.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannelLRO.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannelLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannelLRO.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/AsyncUpdateChannelLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannel.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannel.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannelChannelFieldmask.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannelChannelFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannelChannelFieldmask.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updatechannel/SyncUpdateChannelChannelFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInput.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInput.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInput.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInput.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInputLRO.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInputLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInputLRO.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/AsyncUpdateInputLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInput.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInput.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInput.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInput.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInputInputFieldmask.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInputInputFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInputInputFieldmask.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/updateinput/SyncUpdateInputInputFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamservicesettings/getchannel/SyncGetChannel.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamservicesettings/getchannel/SyncGetChannel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamservicesettings/getchannel/SyncGetChannel.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamservicesettings/getchannel/SyncGetChannel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/stub/livestreamservicestubsettings/getchannel/SyncGetChannel.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/stub/livestreamservicestubsettings/getchannel/SyncGetChannel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/livestream/v1/stub/livestreamservicestubsettings/getchannel/SyncGetChannel.java rename to samples/snippets/generated/com/google/cloud/video/livestream/v1/stub/livestreamservicestubsettings/getchannel/SyncGetChannel.java