- 0.77.0 (latest)
- 0.76.0
- 0.75.0
- 0.74.0
- 0.72.0
- 0.70.0
- 0.69.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.8
- 0.3.0
public static final class DistributionStream.Builder extends GeneratedMessageV3.Builder<DistributionStream.Builder> implements DistributionStreamOrBuilder
Multiplexing settings for output streams used in Distribution.
Protobuf type google.cloud.video.livestream.v1.DistributionStream
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DistributionStream.BuilderImplements
DistributionStreamOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllElementaryStreams(Iterable<String> values)
public DistributionStream.Builder addAllElementaryStreams(Iterable<String> values)
Required. List of ElementaryStream
keys multiplexed
in this stream. Must contain at least one audio stream and up to one video
stream.
repeated string elementary_streams = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The elementaryStreams to add. |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
This builder for chaining. |
addElementaryStreams(String value)
public DistributionStream.Builder addElementaryStreams(String value)
Required. List of ElementaryStream
keys multiplexed
in this stream. Must contain at least one audio stream and up to one video
stream.
repeated string elementary_streams = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The elementaryStreams to add. |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
This builder for chaining. |
addElementaryStreamsBytes(ByteString value)
public DistributionStream.Builder addElementaryStreamsBytes(ByteString value)
Required. List of ElementaryStream
keys multiplexed
in this stream. Must contain at least one audio stream and up to one video
stream.
repeated string elementary_streams = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the elementaryStreams to add. |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DistributionStream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
build()
public DistributionStream build()
Returns | |
---|---|
Type | Description |
DistributionStream |
buildPartial()
public DistributionStream buildPartial()
Returns | |
---|---|
Type | Description |
DistributionStream |
clear()
public DistributionStream.Builder clear()
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
clearContainer()
public DistributionStream.Builder clearContainer()
Required. The container format.
Supported container formats:
ts
, must contain exactly one audio stream and up to one video stream.flv
, must contain at most one audio stream and at most one video stream.
string container = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
This builder for chaining. |
clearElementaryStreams()
public DistributionStream.Builder clearElementaryStreams()
Required. List of ElementaryStream
keys multiplexed
in this stream. Must contain at least one audio stream and up to one video
stream.
repeated string elementary_streams = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DistributionStream.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
clearKey()
public DistributionStream.Builder clearKey()
Required. A unique key for this distribution stream. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DistributionStream.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
clone()
public DistributionStream.Builder clone()
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
getContainer()
public String getContainer()
Required. The container format.
Supported container formats:
ts
, must contain exactly one audio stream and up to one video stream.flv
, must contain at most one audio stream and at most one video stream.
string container = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The container. |
getContainerBytes()
public ByteString getContainerBytes()
Required. The container format.
Supported container formats:
ts
, must contain exactly one audio stream and up to one video stream.flv
, must contain at most one audio stream and at most one video stream.
string container = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for container. |
getDefaultInstanceForType()
public DistributionStream getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DistributionStream |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getElementaryStreams(int index)
public String getElementaryStreams(int index)
Required. List of ElementaryStream
keys multiplexed
in this stream. Must contain at least one audio stream and up to one video
stream.
repeated string elementary_streams = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The elementaryStreams at the given index. |
getElementaryStreamsBytes(int index)
public ByteString getElementaryStreamsBytes(int index)
Required. List of ElementaryStream
keys multiplexed
in this stream. Must contain at least one audio stream and up to one video
stream.
repeated string elementary_streams = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the elementaryStreams at the given index. |
getElementaryStreamsCount()
public int getElementaryStreamsCount()
Required. List of ElementaryStream
keys multiplexed
in this stream. Must contain at least one audio stream and up to one video
stream.
repeated string elementary_streams = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The count of elementaryStreams. |
getElementaryStreamsList()
public ProtocolStringList getElementaryStreamsList()
Required. List of ElementaryStream
keys multiplexed
in this stream. Must contain at least one audio stream and up to one video
stream.
repeated string elementary_streams = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the elementaryStreams. |
getKey()
public String getKey()
Required. A unique key for this distribution stream. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The key. |
getKeyBytes()
public ByteString getKeyBytes()
Required. A unique key for this distribution stream. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for key. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DistributionStream other)
public DistributionStream.Builder mergeFrom(DistributionStream other)
Parameter | |
---|---|
Name | Description |
other |
DistributionStream |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DistributionStream.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DistributionStream.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DistributionStream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
setContainer(String value)
public DistributionStream.Builder setContainer(String value)
Required. The container format.
Supported container formats:
ts
, must contain exactly one audio stream and up to one video stream.flv
, must contain at most one audio stream and at most one video stream.
string container = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The container to set. |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
This builder for chaining. |
setContainerBytes(ByteString value)
public DistributionStream.Builder setContainerBytes(ByteString value)
Required. The container format.
Supported container formats:
ts
, must contain exactly one audio stream and up to one video stream.flv
, must contain at most one audio stream and at most one video stream.
string container = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for container to set. |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
This builder for chaining. |
setElementaryStreams(int index, String value)
public DistributionStream.Builder setElementaryStreams(int index, String value)
Required. List of ElementaryStream
keys multiplexed
in this stream. Must contain at least one audio stream and up to one video
stream.
repeated string elementary_streams = 3 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The elementaryStreams to set. |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DistributionStream.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
setKey(String value)
public DistributionStream.Builder setKey(String value)
Required. A unique key for this distribution stream. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The key to set. |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
This builder for chaining. |
setKeyBytes(ByteString value)
public DistributionStream.Builder setKeyBytes(ByteString value)
Required. A unique key for this distribution stream. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for key to set. |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DistributionStream.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DistributionStream.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DistributionStream.Builder |