Class Input.Builder (0.39.0)

public static final class Input.Builder extends GeneratedMessageV3.Builder<Input.Builder> implements InputOrBuilder

Input resource represents the endpoint from which the channel ingests the input stream.

Protobuf type google.cloud.video.livestream.v1.Input

Implements

InputOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Input.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Input.Builder
Overrides

build()

public Input build()
Returns
TypeDescription
Input

buildPartial()

public Input buildPartial()
Returns
TypeDescription
Input

clear()

public Input.Builder clear()
Returns
TypeDescription
Input.Builder
Overrides

clearCreateTime()

public Input.Builder clearCreateTime()

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Input.Builder

clearField(Descriptors.FieldDescriptor field)

public Input.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Input.Builder
Overrides

clearInputStreamProperty()

public Input.Builder clearInputStreamProperty()

Output only. The information for the input stream. This field will be present only when this input receives the input stream.

.google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Input.Builder

clearLabels()

public Input.Builder clearLabels()
Returns
TypeDescription
Input.Builder

clearName()

public Input.Builder clearName()

The resource name of the input, in the form of: projects/{project}/locations/{location}/inputs/{inputId}.

string name = 1;

Returns
TypeDescription
Input.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Input.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Input.Builder
Overrides

clearPreprocessingConfig()

public Input.Builder clearPreprocessingConfig()

Preprocessing configurations.

.google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;

Returns
TypeDescription
Input.Builder

clearSecurityRules()

public Input.Builder clearSecurityRules()

Security rule for access control.

.google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;

Returns
TypeDescription
Input.Builder

clearTier()

public Input.Builder clearTier()

Tier defines the maximum input specification that is accepted by the video pipeline. The billing is charged based on the tier specified here. See Pricing for more detail. The default is HD.

.google.cloud.video.livestream.v1.Input.Tier tier = 14;

Returns
TypeDescription
Input.Builder

This builder for chaining.

clearType()

public Input.Builder clearType()

Source type.

.google.cloud.video.livestream.v1.Input.Type type = 5;

Returns
TypeDescription
Input.Builder

This builder for chaining.

clearUpdateTime()

public Input.Builder clearUpdateTime()

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Input.Builder

clearUri()

public Input.Builder clearUri()

Output only. URI to push the input stream to. Its format depends on the input type, for example:

  • RTMP_PUSH: rtmp://1.2.3.4/live/{STREAM-ID}
  • SRT_PUSH: srt://1.2.3.4:4201?streamid={STREAM-ID}

string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Input.Builder

This builder for chaining.

clone()

public Input.Builder clone()
Returns
TypeDescription
Input.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

User-defined key/value metadata.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Input getDefaultInstanceForType()
Returns
TypeDescription
Input

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInputStreamProperty()

public InputStreamProperty getInputStreamProperty()

Output only. The information for the input stream. This field will be present only when this input receives the input stream.

.google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
InputStreamProperty

The inputStreamProperty.

getInputStreamPropertyBuilder()

public InputStreamProperty.Builder getInputStreamPropertyBuilder()

Output only. The information for the input stream. This field will be present only when this input receives the input stream.

.google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
InputStreamProperty.Builder

getInputStreamPropertyOrBuilder()

public InputStreamPropertyOrBuilder getInputStreamPropertyOrBuilder()

Output only. The information for the input stream. This field will be present only when this input receives the input stream.

.google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
InputStreamPropertyOrBuilder

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

User-defined key/value metadata.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

User-defined key/value metadata.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

User-defined key/value metadata.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

User-defined key/value metadata.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

The resource name of the input, in the form of: projects/{project}/locations/{location}/inputs/{inputId}.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the input, in the form of: projects/{project}/locations/{location}/inputs/{inputId}.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getPreprocessingConfig()

public PreprocessingConfig getPreprocessingConfig()

Preprocessing configurations.

.google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;

Returns
TypeDescription
PreprocessingConfig

The preprocessingConfig.

getPreprocessingConfigBuilder()

public PreprocessingConfig.Builder getPreprocessingConfigBuilder()

Preprocessing configurations.

.google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;

Returns
TypeDescription
PreprocessingConfig.Builder

getPreprocessingConfigOrBuilder()

public PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder()

Preprocessing configurations.

.google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;

Returns
TypeDescription
PreprocessingConfigOrBuilder

getSecurityRules()

public Input.SecurityRule getSecurityRules()

Security rule for access control.

.google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;

Returns
TypeDescription
Input.SecurityRule

The securityRules.

getSecurityRulesBuilder()

public Input.SecurityRule.Builder getSecurityRulesBuilder()

Security rule for access control.

.google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;

Returns
TypeDescription
Input.SecurityRule.Builder

getSecurityRulesOrBuilder()

public Input.SecurityRuleOrBuilder getSecurityRulesOrBuilder()

Security rule for access control.

.google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;

Returns
TypeDescription
Input.SecurityRuleOrBuilder

getTier()

public Input.Tier getTier()

Tier defines the maximum input specification that is accepted by the video pipeline. The billing is charged based on the tier specified here. See Pricing for more detail. The default is HD.

.google.cloud.video.livestream.v1.Input.Tier tier = 14;

Returns
TypeDescription
Input.Tier

The tier.

getTierValue()

public int getTierValue()

Tier defines the maximum input specification that is accepted by the video pipeline. The billing is charged based on the tier specified here. See Pricing for more detail. The default is HD.

.google.cloud.video.livestream.v1.Input.Tier tier = 14;

Returns
TypeDescription
int

The enum numeric value on the wire for tier.

getType()

public Input.Type getType()

Source type.

.google.cloud.video.livestream.v1.Input.Type type = 5;

Returns
TypeDescription
Input.Type

The type.

getTypeValue()

public int getTypeValue()

Source type.

.google.cloud.video.livestream.v1.Input.Type type = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getUri()

public String getUri()

Output only. URI to push the input stream to. Its format depends on the input type, for example:

  • RTMP_PUSH: rtmp://1.2.3.4/live/{STREAM-ID}
  • SRT_PUSH: srt://1.2.3.4:4201?streamid={STREAM-ID}

string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Output only. URI to push the input stream to. Its format depends on the input type, for example:

  • RTMP_PUSH: rtmp://1.2.3.4/live/{STREAM-ID}
  • SRT_PUSH: srt://1.2.3.4:4201?streamid={STREAM-ID}

string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for uri.

hasCreateTime()

public boolean hasCreateTime()

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasInputStreamProperty()

public boolean hasInputStreamProperty()

Output only. The information for the input stream. This field will be present only when this input receives the input stream.

.google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the inputStreamProperty field is set.

hasPreprocessingConfig()

public boolean hasPreprocessingConfig()

Preprocessing configurations.

.google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;

Returns
TypeDescription
boolean

Whether the preprocessingConfig field is set.

hasSecurityRules()

public boolean hasSecurityRules()

Security rule for access control.

.google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;

Returns
TypeDescription
boolean

Whether the securityRules field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Input.Builder mergeCreateTime(Timestamp value)

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Input.Builder

mergeFrom(Input other)

public Input.Builder mergeFrom(Input other)
Parameter
NameDescription
otherInput
Returns
TypeDescription
Input.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Input.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Input.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Input.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Input.Builder
Overrides

mergeInputStreamProperty(InputStreamProperty value)

public Input.Builder mergeInputStreamProperty(InputStreamProperty value)

Output only. The information for the input stream. This field will be present only when this input receives the input stream.

.google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueInputStreamProperty
Returns
TypeDescription
Input.Builder

mergePreprocessingConfig(PreprocessingConfig value)

public Input.Builder mergePreprocessingConfig(PreprocessingConfig value)

Preprocessing configurations.

.google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;

Parameter
NameDescription
valuePreprocessingConfig
Returns
TypeDescription
Input.Builder

mergeSecurityRules(Input.SecurityRule value)

public Input.Builder mergeSecurityRules(Input.SecurityRule value)

Security rule for access control.

.google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;

Parameter
NameDescription
valueInput.SecurityRule
Returns
TypeDescription
Input.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Input.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Input.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Input.Builder mergeUpdateTime(Timestamp value)

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Input.Builder

putAllLabels(Map<String,String> values)

public Input.Builder putAllLabels(Map<String,String> values)

User-defined key/value metadata.

map<string, string> labels = 4;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Input.Builder

putLabels(String key, String value)

public Input.Builder putLabels(String key, String value)

User-defined key/value metadata.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Input.Builder

removeLabels(String key)

public Input.Builder removeLabels(String key)

User-defined key/value metadata.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
Input.Builder

setCreateTime(Timestamp value)

public Input.Builder setCreateTime(Timestamp value)

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Input.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Input.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Input.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Input.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Input.Builder
Overrides

setInputStreamProperty(InputStreamProperty value)

public Input.Builder setInputStreamProperty(InputStreamProperty value)

Output only. The information for the input stream. This field will be present only when this input receives the input stream.

.google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueInputStreamProperty
Returns
TypeDescription
Input.Builder

setInputStreamProperty(InputStreamProperty.Builder builderForValue)

public Input.Builder setInputStreamProperty(InputStreamProperty.Builder builderForValue)

Output only. The information for the input stream. This field will be present only when this input receives the input stream.

.google.cloud.video.livestream.v1.InputStreamProperty input_stream_property = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueInputStreamProperty.Builder
Returns
TypeDescription
Input.Builder

setName(String value)

public Input.Builder setName(String value)

The resource name of the input, in the form of: projects/{project}/locations/{location}/inputs/{inputId}.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Input.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Input.Builder setNameBytes(ByteString value)

The resource name of the input, in the form of: projects/{project}/locations/{location}/inputs/{inputId}.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Input.Builder

This builder for chaining.

setPreprocessingConfig(PreprocessingConfig value)

public Input.Builder setPreprocessingConfig(PreprocessingConfig value)

Preprocessing configurations.

.google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;

Parameter
NameDescription
valuePreprocessingConfig
Returns
TypeDescription
Input.Builder

setPreprocessingConfig(PreprocessingConfig.Builder builderForValue)

public Input.Builder setPreprocessingConfig(PreprocessingConfig.Builder builderForValue)

Preprocessing configurations.

.google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;

Parameter
NameDescription
builderForValuePreprocessingConfig.Builder
Returns
TypeDescription
Input.Builder

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

public Input.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Input.Builder
Overrides

setSecurityRules(Input.SecurityRule value)

public Input.Builder setSecurityRules(Input.SecurityRule value)

Security rule for access control.

.google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;

Parameter
NameDescription
valueInput.SecurityRule
Returns
TypeDescription
Input.Builder

setSecurityRules(Input.SecurityRule.Builder builderForValue)

public Input.Builder setSecurityRules(Input.SecurityRule.Builder builderForValue)

Security rule for access control.

.google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;

Parameter
NameDescription
builderForValueInput.SecurityRule.Builder
Returns
TypeDescription
Input.Builder

setTier(Input.Tier value)

public Input.Builder setTier(Input.Tier value)

Tier defines the maximum input specification that is accepted by the video pipeline. The billing is charged based on the tier specified here. See Pricing for more detail. The default is HD.

.google.cloud.video.livestream.v1.Input.Tier tier = 14;

Parameter
NameDescription
valueInput.Tier

The tier to set.

Returns
TypeDescription
Input.Builder

This builder for chaining.

setTierValue(int value)

public Input.Builder setTierValue(int value)

Tier defines the maximum input specification that is accepted by the video pipeline. The billing is charged based on the tier specified here. See Pricing for more detail. The default is HD.

.google.cloud.video.livestream.v1.Input.Tier tier = 14;

Parameter
NameDescription
valueint

The enum numeric value on the wire for tier to set.

Returns
TypeDescription
Input.Builder

This builder for chaining.

setType(Input.Type value)

public Input.Builder setType(Input.Type value)

Source type.

.google.cloud.video.livestream.v1.Input.Type type = 5;

Parameter
NameDescription
valueInput.Type

The type to set.

Returns
TypeDescription
Input.Builder

This builder for chaining.

setTypeValue(int value)

public Input.Builder setTypeValue(int value)

Source type.

.google.cloud.video.livestream.v1.Input.Type type = 5;

Parameter
NameDescription
valueint

The enum numeric value on the wire for type to set.

Returns
TypeDescription
Input.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Input.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Input.Builder
Overrides

setUpdateTime(Timestamp value)

public Input.Builder setUpdateTime(Timestamp value)

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Input.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Input.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Input.Builder

setUri(String value)

public Input.Builder setUri(String value)

Output only. URI to push the input stream to. Its format depends on the input type, for example:

  • RTMP_PUSH: rtmp://1.2.3.4/live/{STREAM-ID}
  • SRT_PUSH: srt://1.2.3.4:4201?streamid={STREAM-ID}

string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The uri to set.

Returns
TypeDescription
Input.Builder

This builder for chaining.

setUriBytes(ByteString value)

public Input.Builder setUriBytes(ByteString value)

Output only. URI to push the input stream to. Its format depends on the input type, for example:

  • RTMP_PUSH: rtmp://1.2.3.4/live/{STREAM-ID}
  • SRT_PUSH: srt://1.2.3.4:4201?streamid={STREAM-ID}

string uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for uri to set.

Returns
TypeDescription
Input.Builder

This builder for chaining.