Class CreateVodSessionRequest.Builder

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

public static final class CreateVodSessionRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateVodSessionRequest.Builder> implements CreateVodSessionRequestOrBuilder
 Request message for VideoStitcherService.createVodSession
 
Protobuf type google.cloud.video.stitcher.v1.CreateVodSessionRequest
  • 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<CreateVodSessionRequest.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<CreateVodSessionRequest.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<CreateVodSessionRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public CreateVodSessionRequest.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<CreateVodSessionRequest.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<CreateVodSessionRequest.Builder>
    • mergeFrom

      public CreateVodSessionRequest.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<CreateVodSessionRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The project and location in which the VOD 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 CreateVodSessionRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The project and location in which the VOD 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 CreateVodSessionRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateVodSessionRequest.Builder setParent(String value)
       Required. The project and location in which the VOD 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 CreateVodSessionRequest.Builder clearParent()
       Required. The project and location in which the VOD 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 CreateVodSessionRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The project and location in which the VOD 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.
    • hasVodSession

      public boolean hasVodSession()
       Required. Parameters for creating a session.
       
      .google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasVodSession in interface CreateVodSessionRequestOrBuilder
      Returns:
      Whether the vodSession field is set.
    • getVodSession

      public VodSession getVodSession()
       Required. Parameters for creating a session.
       
      .google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getVodSession in interface CreateVodSessionRequestOrBuilder
      Returns:
      The vodSession.
    • setVodSession

      public CreateVodSessionRequest.Builder setVodSession(VodSession value)
       Required. Parameters for creating a session.
       
      .google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];
    • setVodSession

      public CreateVodSessionRequest.Builder setVodSession(VodSession.Builder builderForValue)
       Required. Parameters for creating a session.
       
      .google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeVodSession

      public CreateVodSessionRequest.Builder mergeVodSession(VodSession value)
       Required. Parameters for creating a session.
       
      .google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearVodSession

      public CreateVodSessionRequest.Builder clearVodSession()
       Required. Parameters for creating a session.
       
      .google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];
    • getVodSessionBuilder

      public VodSession.Builder getVodSessionBuilder()
       Required. Parameters for creating a session.
       
      .google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];
    • getVodSessionOrBuilder

      public VodSessionOrBuilder getVodSessionOrBuilder()
       Required. Parameters for creating a session.
       
      .google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getVodSessionOrBuilder in interface CreateVodSessionRequestOrBuilder