Class Input
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.video.livestream.v1.Input
- All Implemented Interfaces:
InputOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Input
extends com.google.protobuf.GeneratedMessage
implements InputOrBuilder
Input resource represents the endpoint from which the channel ingests the input stream.Protobuf type
google.cloud.video.livestream.v1.Input- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classInput resource represents the endpoint from which the channel ingests the input stream.static final classSecurity rules for access control.static interfacestatic enumTier of the input specification.static enumThe type of the input.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) User-defined key/value metadata.booleancom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static Inputstatic final com.google.protobuf.Descriptors.DescriptorOutput only.Output only.Deprecated.intUser-defined key/value metadata.User-defined key/value metadata.getLabelsOrDefault(String key, String defaultValue) User-defined key/value metadata.getLabelsOrThrow(String key) User-defined key/value metadata.getName()The resource name of the input, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`.com.google.protobuf.ByteStringThe resource name of the input, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`.com.google.protobuf.Parser<Input>Preprocessing configurations.Preprocessing configurations.Security rule for access control.Security rule for access control.intgetTier()Tier defines the maximum input specification that is accepted by the video pipeline.intTier defines the maximum input specification that is accepted by the video pipeline.getType()Source type.intSource type.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getUri()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.inthashCode()booleanOutput only.booleanPreprocessing configurations.booleanSecurity rule for access control.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Input.Builderstatic Input.BuildernewBuilder(Input prototype) protected Input.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static InputparseDelimitedFrom(InputStream input) static InputparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InputparseFrom(byte[] data) static InputparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InputparseFrom(com.google.protobuf.ByteString data) static InputparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InputparseFrom(com.google.protobuf.CodedInputStream input) static InputparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InputparseFrom(InputStream input) static InputparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InputparseFrom(ByteBuffer data) static InputparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Input>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
TIER_FIELD_NUMBER
public static final int TIER_FIELD_NUMBER- See Also:
-
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER- See Also:
-
PREPROCESSING_CONFIG_FIELD_NUMBER
public static final int PREPROCESSING_CONFIG_FIELD_NUMBER- See Also:
-
SECURITY_RULES_FIELD_NUMBER
public static final int SECURITY_RULES_FIELD_NUMBER- See Also:
-
INPUT_STREAM_PROPERTY_FIELD_NUMBER
public static final int INPUT_STREAM_PROPERTY_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
The resource name of the input, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`.string name = 1;- Specified by:
getNamein interfaceInputOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The resource name of the input, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`.string name = 1;- Specified by:
getNameBytesin interfaceInputOrBuilder- Returns:
- The bytes for name.
-
hasCreateTime
public boolean hasCreateTime()Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceInputOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceInputOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceInputOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceInputOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceInputOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceInputOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:InputOrBuilderUser-defined key/value metadata.
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceInputOrBuilder
-
containsLabels
User-defined key/value metadata.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceInputOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceInputOrBuilder
-
getLabelsMap
User-defined key/value metadata.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceInputOrBuilder
-
getLabelsOrDefault
User-defined key/value metadata.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceInputOrBuilder
-
getLabelsOrThrow
User-defined key/value metadata.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceInputOrBuilder
-
getTypeValue
public int getTypeValue()Source type.
.google.cloud.video.livestream.v1.Input.Type type = 5;- Specified by:
getTypeValuein interfaceInputOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
Source type.
.google.cloud.video.livestream.v1.Input.Type type = 5;- Specified by:
getTypein interfaceInputOrBuilder- Returns:
- The type.
-
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](https://cloud.google.com/livestream/pricing) for more detail. The default is `HD`.
.google.cloud.video.livestream.v1.Input.Tier tier = 14;- Specified by:
getTierValuein interfaceInputOrBuilder- Returns:
- The enum numeric value on the wire for 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](https://cloud.google.com/livestream/pricing) for more detail. The default is `HD`.
.google.cloud.video.livestream.v1.Input.Tier tier = 14;- Specified by:
getTierin interfaceInputOrBuilder- Returns:
- The tier.
-
getUri
Output only. URI to push the input stream to. Its format depends on the input [type][google.cloud.video.livestream.v1.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];- Specified by:
getUriin interfaceInputOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()Output only. URI to push the input stream to. Its format depends on the input [type][google.cloud.video.livestream.v1.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];- Specified by:
getUriBytesin interfaceInputOrBuilder- Returns:
- The bytes for uri.
-
hasPreprocessingConfig
public boolean hasPreprocessingConfig()Preprocessing configurations.
.google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;- Specified by:
hasPreprocessingConfigin interfaceInputOrBuilder- Returns:
- Whether the preprocessingConfig field is set.
-
getPreprocessingConfig
Preprocessing configurations.
.google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;- Specified by:
getPreprocessingConfigin interfaceInputOrBuilder- Returns:
- The preprocessingConfig.
-
getPreprocessingConfigOrBuilder
Preprocessing configurations.
.google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;- Specified by:
getPreprocessingConfigOrBuilderin interfaceInputOrBuilder
-
hasSecurityRules
public boolean hasSecurityRules()Security rule for access control.
.google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;- Specified by:
hasSecurityRulesin interfaceInputOrBuilder- Returns:
- Whether the securityRules field is set.
-
getSecurityRules
Security rule for access control.
.google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;- Specified by:
getSecurityRulesin interfaceInputOrBuilder- Returns:
- The securityRules.
-
getSecurityRulesOrBuilder
Security rule for access control.
.google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;- Specified by:
getSecurityRulesOrBuilderin interfaceInputOrBuilder
-
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];- Specified by:
hasInputStreamPropertyin interfaceInputOrBuilder- Returns:
- Whether the inputStreamProperty field is set.
-
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];- Specified by:
getInputStreamPropertyin interfaceInputOrBuilder- Returns:
- The inputStreamProperty.
-
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];- Specified by:
getInputStreamPropertyOrBuilderin interfaceInputOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Input parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Input parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Input parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Input parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Input parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Input parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Input parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Input parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Input parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-