public final class Input extends GeneratedMessageV3 implements InputOrBuilder
Input resource represents the endpoint from which the channel ingests
the input stream.
Protobuf type google.cloud.video.livestream.v1.Input
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int INPUT_STREAM_PROPERTY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int LABELS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PREPROCESSING_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int SECURITY_RULES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TIER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static Input getDefaultInstance()
Returns |
---|
Type | Description |
Input | |
public static final Descriptors.Descriptor getDescriptor()
public static Input.Builder newBuilder()
public static Input.Builder newBuilder(Input prototype)
Parameter |
---|
Name | Description |
prototype | Input
|
public static Input parseDelimitedFrom(InputStream input)
Returns |
---|
Type | Description |
Input | |
public static Input parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Input | |
public static Input parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
Returns |
---|
Type | Description |
Input | |
public static Input parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Input | |
public static Input parseFrom(ByteString data)
Returns |
---|
Type | Description |
Input | |
public static Input parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Input | |
public static Input parseFrom(CodedInputStream input)
Returns |
---|
Type | Description |
Input | |
public static Input parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Input | |
public static Input parseFrom(InputStream input)
Returns |
---|
Type | Description |
Input | |
public static Input parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Input | |
public static Input parseFrom(ByteBuffer data)
Returns |
---|
Type | Description |
Input | |
public static Input parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Input | |
public static Parser<Input> parser()
Methods
public boolean containsLabels(String key)
User-defined key/value metadata.
map<string, string> labels = 4;
Parameter |
---|
Name | Description |
key | String
|
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Input getDefaultInstanceForType()
Returns |
---|
Type | Description |
Input | |
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];
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];
public Map<String,String> getLabels()
public int getLabelsCount()
User-defined key/value metadata.
map<string, string> labels = 4;
Returns |
---|
Type | Description |
int | |
public Map<String,String> getLabelsMap()
User-defined key/value metadata.
map<string, string> labels = 4;
public String getLabelsOrDefault(String key, String defaultValue)
User-defined key/value metadata.
map<string, string> labels = 4;
public String getLabelsOrThrow(String key)
User-defined key/value metadata.
map<string, string> labels = 4;
Parameter |
---|
Name | Description |
key | String
|
The resource name of the input, in the form of:
projects/{project}/locations/{location}/inputs/{inputId}
.
string name = 1;
Returns |
---|
Type | Description |
String | The name.
|
public ByteString getNameBytes()
The resource name of the input, in the form of:
projects/{project}/locations/{location}/inputs/{inputId}
.
string name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
public Parser<Input> getParserForType()
Overrides
public PreprocessingConfig getPreprocessingConfig()
Preprocessing configurations.
.google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;
public PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder()
Preprocessing configurations.
.google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;
public Input.SecurityRule getSecurityRules()
Security rule for access control.
.google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;
public Input.SecurityRuleOrBuilder getSecurityRulesOrBuilder()
Security rule for access control.
.google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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;
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 |
---|
Type | Description |
int | The enum numeric value on the wire for tier.
|
public Input.Type getType()
Source type.
.google.cloud.video.livestream.v1.Input.Type type = 5;
public int getTypeValue()
Source type.
.google.cloud.video.livestream.v1.Input.Type type = 5;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for type.
|
public final UnknownFieldSet getUnknownFields()
Overrides
public Timestamp getUpdateTime()
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The updateTime.
|
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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 |
---|
Type | Description |
String | The uri.
|
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 |
---|
Type | Description |
ByteString | The bytes for uri.
|
public boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the createTime field is set.
|
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 |
---|
Type | Description |
boolean | Whether the inputStreamProperty field is set.
|
public boolean hasPreprocessingConfig()
Preprocessing configurations.
.google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;
Returns |
---|
Type | Description |
boolean | Whether the preprocessingConfig field is set.
|
public boolean hasSecurityRules()
Security rule for access control.
.google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;
Returns |
---|
Type | Description |
boolean | Whether the securityRules field is set.
|
public boolean hasUpdateTime()
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the updateTime field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
public final boolean isInitialized()
Overrides
public Input.Builder newBuilderForType()
protected Input.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public Input.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides