- 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 Distribution.Builder extends GeneratedMessageV3.Builder<Distribution.Builder> implements DistributionOrBuilder
Distribution configuration.
Protobuf type google.cloud.video.livestream.v1.Distribution
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Distribution.BuilderImplements
DistributionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Distribution.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
build()
public Distribution build()
Returns | |
---|---|
Type | Description |
Distribution |
buildPartial()
public Distribution buildPartial()
Returns | |
---|---|
Type | Description |
Distribution |
clear()
public Distribution.Builder clear()
Returns | |
---|---|
Type | Description |
Distribution.Builder |
clearDistributionStream()
public Distribution.Builder clearDistributionStream()
Required. DistributionStream
keys that should
appear in this distribution output.
- For SRT protocol, only
ts
distribution streams can be specified. - For RTMP protocol, only
flv
distribution streams can be specified.
string distribution_stream = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Distribution.Builder |
This builder for chaining. |
clearEndpoint()
public Distribution.Builder clearEndpoint()
Returns | |
---|---|
Type | Description |
Distribution.Builder |
clearError()
public Distribution.Builder clearError()
Output only. Only present when the state
is ERROR
. The reason for the
error state of the distribution.
.google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Distribution.Builder |
clearField(Descriptors.FieldDescriptor field)
public Distribution.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
clearKey()
public Distribution.Builder clearKey()
Required. A unique key for this distribution. 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 |
Distribution.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Distribution.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
clearRtmpPush()
public Distribution.Builder clearRtmpPush()
Output endpoint using RTMP_PUSH.
.google.cloud.video.livestream.v1.RtmpPushOutputEndpoint rtmp_push = 6;
Returns | |
---|---|
Type | Description |
Distribution.Builder |
clearSrtPush()
public Distribution.Builder clearSrtPush()
Output endpoint using SRT_PUSH.
.google.cloud.video.livestream.v1.SrtPushOutputEndpoint srt_push = 5;
Returns | |
---|---|
Type | Description |
Distribution.Builder |
clearState()
public Distribution.Builder clearState()
Output only. State of the distribution.
.google.cloud.video.livestream.v1.Distribution.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Distribution.Builder |
This builder for chaining. |
clone()
public Distribution.Builder clone()
Returns | |
---|---|
Type | Description |
Distribution.Builder |
getDefaultInstanceForType()
public Distribution getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Distribution |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDistributionStream()
public String getDistributionStream()
Required. DistributionStream
keys that should
appear in this distribution output.
- For SRT protocol, only
ts
distribution streams can be specified. - For RTMP protocol, only
flv
distribution streams can be specified.
string distribution_stream = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The distributionStream. |
getDistributionStreamBytes()
public ByteString getDistributionStreamBytes()
Required. DistributionStream
keys that should
appear in this distribution output.
- For SRT protocol, only
ts
distribution streams can be specified. - For RTMP protocol, only
flv
distribution streams can be specified.
string distribution_stream = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for distributionStream. |
getEndpointCase()
public Distribution.EndpointCase getEndpointCase()
Returns | |
---|---|
Type | Description |
Distribution.EndpointCase |
getError()
public Status getError()
Output only. Only present when the state
is ERROR
. The reason for the
error state of the distribution.
.google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
com.google.rpc.Status |
The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()
Output only. Only present when the state
is ERROR
. The reason for the
error state of the distribution.
.google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
com.google.rpc.Status.Builder |
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
Output only. Only present when the state
is ERROR
. The reason for the
error state of the distribution.
.google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getKey()
public String getKey()
Required. A unique key for this distribution. 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. 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. |
getRtmpPush()
public RtmpPushOutputEndpoint getRtmpPush()
Output endpoint using RTMP_PUSH.
.google.cloud.video.livestream.v1.RtmpPushOutputEndpoint rtmp_push = 6;
Returns | |
---|---|
Type | Description |
RtmpPushOutputEndpoint |
The rtmpPush. |
getRtmpPushBuilder()
public RtmpPushOutputEndpoint.Builder getRtmpPushBuilder()
Output endpoint using RTMP_PUSH.
.google.cloud.video.livestream.v1.RtmpPushOutputEndpoint rtmp_push = 6;
Returns | |
---|---|
Type | Description |
RtmpPushOutputEndpoint.Builder |
getRtmpPushOrBuilder()
public RtmpPushOutputEndpointOrBuilder getRtmpPushOrBuilder()
Output endpoint using RTMP_PUSH.
.google.cloud.video.livestream.v1.RtmpPushOutputEndpoint rtmp_push = 6;
Returns | |
---|---|
Type | Description |
RtmpPushOutputEndpointOrBuilder |
getSrtPush()
public SrtPushOutputEndpoint getSrtPush()
Output endpoint using SRT_PUSH.
.google.cloud.video.livestream.v1.SrtPushOutputEndpoint srt_push = 5;
Returns | |
---|---|
Type | Description |
SrtPushOutputEndpoint |
The srtPush. |
getSrtPushBuilder()
public SrtPushOutputEndpoint.Builder getSrtPushBuilder()
Output endpoint using SRT_PUSH.
.google.cloud.video.livestream.v1.SrtPushOutputEndpoint srt_push = 5;
Returns | |
---|---|
Type | Description |
SrtPushOutputEndpoint.Builder |
getSrtPushOrBuilder()
public SrtPushOutputEndpointOrBuilder getSrtPushOrBuilder()
Output endpoint using SRT_PUSH.
.google.cloud.video.livestream.v1.SrtPushOutputEndpoint srt_push = 5;
Returns | |
---|---|
Type | Description |
SrtPushOutputEndpointOrBuilder |
getState()
public Distribution.State getState()
Output only. State of the distribution.
.google.cloud.video.livestream.v1.Distribution.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Distribution.State |
The state. |
getStateValue()
public int getStateValue()
Output only. State of the distribution.
.google.cloud.video.livestream.v1.Distribution.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
hasError()
public boolean hasError()
Output only. Only present when the state
is ERROR
. The reason for the
error state of the distribution.
.google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the error field is set. |
hasRtmpPush()
public boolean hasRtmpPush()
Output endpoint using RTMP_PUSH.
.google.cloud.video.livestream.v1.RtmpPushOutputEndpoint rtmp_push = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the rtmpPush field is set. |
hasSrtPush()
public boolean hasSrtPush()
Output endpoint using SRT_PUSH.
.google.cloud.video.livestream.v1.SrtPushOutputEndpoint srt_push = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the srtPush field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeError(Status value)
public Distribution.Builder mergeError(Status value)
Output only. Only present when the state
is ERROR
. The reason for the
error state of the distribution.
.google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
mergeFrom(Distribution other)
public Distribution.Builder mergeFrom(Distribution other)
Parameter | |
---|---|
Name | Description |
other |
Distribution |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Distribution.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Distribution.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
mergeRtmpPush(RtmpPushOutputEndpoint value)
public Distribution.Builder mergeRtmpPush(RtmpPushOutputEndpoint value)
Output endpoint using RTMP_PUSH.
.google.cloud.video.livestream.v1.RtmpPushOutputEndpoint rtmp_push = 6;
Parameter | |
---|---|
Name | Description |
value |
RtmpPushOutputEndpoint |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
mergeSrtPush(SrtPushOutputEndpoint value)
public Distribution.Builder mergeSrtPush(SrtPushOutputEndpoint value)
Output endpoint using SRT_PUSH.
.google.cloud.video.livestream.v1.SrtPushOutputEndpoint srt_push = 5;
Parameter | |
---|---|
Name | Description |
value |
SrtPushOutputEndpoint |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Distribution.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
setDistributionStream(String value)
public Distribution.Builder setDistributionStream(String value)
Required. DistributionStream
keys that should
appear in this distribution output.
- For SRT protocol, only
ts
distribution streams can be specified. - For RTMP protocol, only
flv
distribution streams can be specified.
string distribution_stream = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The distributionStream to set. |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
This builder for chaining. |
setDistributionStreamBytes(ByteString value)
public Distribution.Builder setDistributionStreamBytes(ByteString value)
Required. DistributionStream
keys that should
appear in this distribution output.
- For SRT protocol, only
ts
distribution streams can be specified. - For RTMP protocol, only
flv
distribution streams can be specified.
string distribution_stream = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for distributionStream to set. |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
This builder for chaining. |
setError(Status value)
public Distribution.Builder setError(Status value)
Output only. Only present when the state
is ERROR
. The reason for the
error state of the distribution.
.google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
setError(Status.Builder builderForValue)
public Distribution.Builder setError(Status.Builder builderForValue)
Output only. Only present when the state
is ERROR
. The reason for the
error state of the distribution.
.google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Distribution.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
setKey(String value)
public Distribution.Builder setKey(String value)
Required. A unique key for this distribution. 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 |
Distribution.Builder |
This builder for chaining. |
setKeyBytes(ByteString value)
public Distribution.Builder setKeyBytes(ByteString value)
Required. A unique key for this distribution. 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 |
Distribution.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Distribution.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
setRtmpPush(RtmpPushOutputEndpoint value)
public Distribution.Builder setRtmpPush(RtmpPushOutputEndpoint value)
Output endpoint using RTMP_PUSH.
.google.cloud.video.livestream.v1.RtmpPushOutputEndpoint rtmp_push = 6;
Parameter | |
---|---|
Name | Description |
value |
RtmpPushOutputEndpoint |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
setRtmpPush(RtmpPushOutputEndpoint.Builder builderForValue)
public Distribution.Builder setRtmpPush(RtmpPushOutputEndpoint.Builder builderForValue)
Output endpoint using RTMP_PUSH.
.google.cloud.video.livestream.v1.RtmpPushOutputEndpoint rtmp_push = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
RtmpPushOutputEndpoint.Builder |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
setSrtPush(SrtPushOutputEndpoint value)
public Distribution.Builder setSrtPush(SrtPushOutputEndpoint value)
Output endpoint using SRT_PUSH.
.google.cloud.video.livestream.v1.SrtPushOutputEndpoint srt_push = 5;
Parameter | |
---|---|
Name | Description |
value |
SrtPushOutputEndpoint |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
setSrtPush(SrtPushOutputEndpoint.Builder builderForValue)
public Distribution.Builder setSrtPush(SrtPushOutputEndpoint.Builder builderForValue)
Output endpoint using SRT_PUSH.
.google.cloud.video.livestream.v1.SrtPushOutputEndpoint srt_push = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
SrtPushOutputEndpoint.Builder |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
setState(Distribution.State value)
public Distribution.Builder setState(Distribution.State value)
Output only. State of the distribution.
.google.cloud.video.livestream.v1.Distribution.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Distribution.State The state to set. |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
This builder for chaining. |
setStateValue(int value)
public Distribution.Builder setStateValue(int value)
Output only. State of the distribution.
.google.cloud.video.livestream.v1.Distribution.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
Distribution.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Distribution.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Distribution.Builder |