Class CreateLiveSessionRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateLiveSessionRequest.Builder>
com.google.cloud.video.stitcher.v1.CreateLiveSessionRequest.Builder
All Implemented Interfaces:
CreateLiveSessionRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreateLiveSessionRequest

public static final class CreateLiveSessionRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateLiveSessionRequest.Builder> implements CreateLiveSessionRequestOrBuilder
 Request message for VideoStitcherService.createLiveSession.
 
Protobuf type google.cloud.video.stitcher.v1.CreateLiveSessionRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CreateLiveSessionRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CreateLiveSessionRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CreateLiveSessionRequest.Builder>
    • getDefaultInstanceForType

      public CreateLiveSessionRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CreateLiveSessionRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CreateLiveSessionRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CreateLiveSessionRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateLiveSessionRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CreateLiveSessionRequest.Builder>
    • mergeFrom

      public CreateLiveSessionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateLiveSessionRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The project and location in which the live session should be
       created, in the form of `projects/{project_number}/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateLiveSessionRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The project and location in which the live session should be
       created, in the form of `projects/{project_number}/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateLiveSessionRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateLiveSessionRequest.Builder setParent(String value)
       Required. The project and location in which the live session should be
       created, in the form of `projects/{project_number}/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public CreateLiveSessionRequest.Builder clearParent()
       Required. The project and location in which the live session should be
       created, in the form of `projects/{project_number}/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateLiveSessionRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The project and location in which the live session should be
       created, in the form of `projects/{project_number}/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • hasLiveSession

      public boolean hasLiveSession()
       Required. Parameters for creating a live session.
       
      .google.cloud.video.stitcher.v1.LiveSession live_session = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasLiveSession in interface CreateLiveSessionRequestOrBuilder
      Returns:
      Whether the liveSession field is set.
    • getLiveSession

      public LiveSession getLiveSession()
       Required. Parameters for creating a live session.
       
      .google.cloud.video.stitcher.v1.LiveSession live_session = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getLiveSession in interface CreateLiveSessionRequestOrBuilder
      Returns:
      The liveSession.
    • setLiveSession

      public CreateLiveSessionRequest.Builder setLiveSession(LiveSession value)
       Required. Parameters for creating a live session.
       
      .google.cloud.video.stitcher.v1.LiveSession live_session = 2 [(.google.api.field_behavior) = REQUIRED];
    • setLiveSession

      public CreateLiveSessionRequest.Builder setLiveSession(LiveSession.Builder builderForValue)
       Required. Parameters for creating a live session.
       
      .google.cloud.video.stitcher.v1.LiveSession live_session = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeLiveSession

      public CreateLiveSessionRequest.Builder mergeLiveSession(LiveSession value)
       Required. Parameters for creating a live session.
       
      .google.cloud.video.stitcher.v1.LiveSession live_session = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearLiveSession

      public CreateLiveSessionRequest.Builder clearLiveSession()
       Required. Parameters for creating a live session.
       
      .google.cloud.video.stitcher.v1.LiveSession live_session = 2 [(.google.api.field_behavior) = REQUIRED];
    • getLiveSessionBuilder

      public LiveSession.Builder getLiveSessionBuilder()
       Required. Parameters for creating a live session.
       
      .google.cloud.video.stitcher.v1.LiveSession live_session = 2 [(.google.api.field_behavior) = REQUIRED];
    • getLiveSessionOrBuilder

      public LiveSessionOrBuilder getLiveSessionOrBuilder()
       Required. Parameters for creating a live session.
       
      .google.cloud.video.stitcher.v1.LiveSession live_session = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getLiveSessionOrBuilder in interface CreateLiveSessionRequestOrBuilder