Class RtmpPushOutputEndpoint.Builder (0.77.0)

public static final class RtmpPushOutputEndpoint.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RtmpPushOutputEndpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RtmpPushOutputEndpoint.Builder
Overrides

build()

public RtmpPushOutputEndpoint build()
Returns
Type Description
RtmpPushOutputEndpoint

buildPartial()

public RtmpPushOutputEndpoint buildPartial()
Returns
Type Description
RtmpPushOutputEndpoint

clear()

public RtmpPushOutputEndpoint.Builder clear()
Returns
Type Description
RtmpPushOutputEndpoint.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RtmpPushOutputEndpoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RtmpPushOutputEndpoint.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RtmpPushOutputEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RtmpPushOutputEndpoint.Builder
Overrides

clearStreamKey()

public RtmpPushOutputEndpoint.Builder clearStreamKey()

Required. Stream key for RTMP protocol.

string stream_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RtmpPushOutputEndpoint.Builder

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
Type Description
RtmpPushOutputEndpoint.Builder

This builder for chaining.

clone()

public RtmpPushOutputEndpoint.Builder clone()
Returns
Type Description
RtmpPushOutputEndpoint.Builder
Overrides

getDefaultInstanceForType()

public RtmpPushOutputEndpoint getDefaultInstanceForType()
Returns
Type Description
RtmpPushOutputEndpoint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getStreamKey()

public String getStreamKey()

Required. Stream key for RTMP protocol.

string stream_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The streamKey.

getStreamKeyBytes()

public ByteString getStreamKeyBytes()

Required. Stream key for RTMP protocol.

string stream_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for streamKey.

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];

Returns
Type Description
String

The uri.

getUriBytes()

public 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];

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RtmpPushOutputEndpoint other)

public RtmpPushOutputEndpoint.Builder mergeFrom(RtmpPushOutputEndpoint other)
Parameter
Name Description
other RtmpPushOutputEndpoint
Returns
Type Description
RtmpPushOutputEndpoint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RtmpPushOutputEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RtmpPushOutputEndpoint.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RtmpPushOutputEndpoint.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RtmpPushOutputEndpoint.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RtmpPushOutputEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RtmpPushOutputEndpoint.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RtmpPushOutputEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RtmpPushOutputEndpoint.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RtmpPushOutputEndpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RtmpPushOutputEndpoint.Builder
Overrides

setStreamKey(String value)

public RtmpPushOutputEndpoint.Builder setStreamKey(String value)

Required. Stream key for RTMP protocol.

string stream_key = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The streamKey to set.

Returns
Type Description
RtmpPushOutputEndpoint.Builder

This builder for chaining.

setStreamKeyBytes(ByteString value)

public RtmpPushOutputEndpoint.Builder setStreamKeyBytes(ByteString value)

Required. Stream key for RTMP protocol.

string stream_key = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for streamKey to set.

Returns
Type Description
RtmpPushOutputEndpoint.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RtmpPushOutputEndpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RtmpPushOutputEndpoint.Builder
Overrides

setUri(String value)

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];

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
RtmpPushOutputEndpoint.Builder

This builder for chaining.

setUriBytes(ByteString value)

public RtmpPushOutputEndpoint.Builder setUriBytes(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];

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
RtmpPushOutputEndpoint.Builder

This builder for chaining.