Class RtmpPushOutputEndpoint.Builder

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

public static final class RtmpPushOutputEndpoint.Builder extends com.google.protobuf.GeneratedMessage.Builder<RtmpPushOutputEndpoint.Builder> implements RtmpPushOutputEndpointOrBuilder
 Configurations for an output endpoint using RTMP_PUSH as the streaming
 protocol.
 
Protobuf type google.cloud.video.livestream.v1.RtmpPushOutputEndpoint
  • 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<RtmpPushOutputEndpoint.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<RtmpPushOutputEndpoint.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<RtmpPushOutputEndpoint.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public RtmpPushOutputEndpoint.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<RtmpPushOutputEndpoint.Builder>
      Throws:
      IOException
    • getUri

      public String getUri()
       Required. The full URI of the remote RTMP server. For example:
       `rtmp://192.168.123.321/live/my-stream` or `rtmp://somedomain.com/someapp`.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUri in interface RtmpPushOutputEndpointOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       Required. The full URI of the remote RTMP server. For example:
       `rtmp://192.168.123.321/live/my-stream` or `rtmp://somedomain.com/someapp`.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUriBytes in interface RtmpPushOutputEndpointOrBuilder
      Returns:
      The bytes for uri.
    • setUri

      public RtmpPushOutputEndpoint.Builder setUri(String value)
       Required. The full URI of the remote RTMP server. For example:
       `rtmp://192.168.123.321/live/my-stream` or `rtmp://somedomain.com/someapp`.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

      public RtmpPushOutputEndpoint.Builder clearUri()
       Required. The full URI of the remote RTMP server. For example:
       `rtmp://192.168.123.321/live/my-stream` or `rtmp://somedomain.com/someapp`.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setUriBytes

      public RtmpPushOutputEndpoint.Builder setUriBytes(com.google.protobuf.ByteString value)
       Required. The full URI of the remote RTMP server. For example:
       `rtmp://192.168.123.321/live/my-stream` or `rtmp://somedomain.com/someapp`.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • getStreamKey

      public String getStreamKey()
       Required. Stream key for RTMP protocol.
       
      string stream_key = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getStreamKey in interface RtmpPushOutputEndpointOrBuilder
      Returns:
      The streamKey.
    • getStreamKeyBytes

      public com.google.protobuf.ByteString getStreamKeyBytes()
       Required. Stream key for RTMP protocol.
       
      string stream_key = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getStreamKeyBytes in interface RtmpPushOutputEndpointOrBuilder
      Returns:
      The bytes for streamKey.
    • setStreamKey

      public RtmpPushOutputEndpoint.Builder setStreamKey(String value)
       Required. Stream key for RTMP protocol.
       
      string stream_key = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The streamKey to set.
      Returns:
      This builder for chaining.
    • clearStreamKey

      public RtmpPushOutputEndpoint.Builder clearStreamKey()
       Required. Stream key for RTMP protocol.
       
      string stream_key = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setStreamKeyBytes

      public RtmpPushOutputEndpoint.Builder setStreamKeyBytes(com.google.protobuf.ByteString value)
       Required. Stream key for RTMP protocol.
       
      string stream_key = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for streamKey to set.
      Returns:
      This builder for chaining.