public static final class RtmpPushOutputEndpoint.Builder extends GeneratedMessage.Builder<RtmpPushOutputEndpoint.Builder> implements RtmpPushOutputEndpointOrBuilderConfigurations for an output endpoint using RTMP_PUSH as the streaming protocol.
Protobuf type google.cloud.video.livestream.v1.RtmpPushOutputEndpoint
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RtmpPushOutputEndpoint.BuilderImplements
RtmpPushOutputEndpointOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
getDefaultInstanceForType()
public RtmpPushOutputEndpoint getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RtmpPushOutputEndpoint |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RtmpPushOutputEndpoint.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RtmpPushOutputEndpoint.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for streamKey to set. |
| Returns | |
|---|---|
| Type | Description |
RtmpPushOutputEndpoint.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
RtmpPushOutputEndpoint.Builder |
This builder for chaining. |