Class RtmpPushOutputEndpoint.Builder (0.78.0)
Version latestkeyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RtmpPushOutputEndpoint . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public RtmpPushOutputEndpoint build ()
buildPartial()
public RtmpPushOutputEndpoint buildPartial ()
clear()
public RtmpPushOutputEndpoint . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RtmpPushOutputEndpoint . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RtmpPushOutputEndpoint . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearStreamKey()
public RtmpPushOutputEndpoint . Builder clearStreamKey ()
Required. Stream key for RTMP protocol.
string stream_key = 2 [(.google.api.field_behavior) = REQUIRED];
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];
clone()
public RtmpPushOutputEndpoint . Builder clone ()
Overrides
getDefaultInstanceForType()
public RtmpPushOutputEndpoint getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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()
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(RtmpPushOutputEndpoint other)
public RtmpPushOutputEndpoint . Builder mergeFrom ( RtmpPushOutputEndpoint other )
public RtmpPushOutputEndpoint . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public RtmpPushOutputEndpoint . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RtmpPushOutputEndpoint . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RtmpPushOutputEndpoint . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RtmpPushOutputEndpoint . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
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.
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.
setUnknownFields(UnknownFieldSet unknownFields)
public final RtmpPushOutputEndpoint . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]