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:
  • 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:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       The resource name of the input, in the form of:
       `projects/{project}/locations/{location}/inputs/{inputId}`.
       
      string name = 1;
      Specified by:
      getName in interface InputOrBuilder
      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:
      getNameBytes in interface InputOrBuilder
      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:
      hasCreateTime in interface InputOrBuilder
      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:
      getCreateTime in interface InputOrBuilder
      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:
      getCreateTimeOrBuilder in interface InputOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The update time.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface InputOrBuilder
      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:
      getUpdateTime in interface InputOrBuilder
      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:
      getUpdateTimeOrBuilder in interface InputOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: InputOrBuilder
       User-defined key/value metadata.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsCount in interface InputOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       User-defined key/value metadata.
       
      map<string, string> labels = 4;
      Specified by:
      containsLabels in interface InputOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface InputOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       User-defined key/value metadata.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsMap in interface InputOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       User-defined key/value metadata.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrDefault in interface InputOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       User-defined key/value metadata.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrThrow in interface InputOrBuilder
    • getTypeValue

      public int getTypeValue()
       Source type.
       
      .google.cloud.video.livestream.v1.Input.Type type = 5;
      Specified by:
      getTypeValue in interface InputOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      public Input.Type getType()
       Source type.
       
      .google.cloud.video.livestream.v1.Input.Type type = 5;
      Specified by:
      getType in interface InputOrBuilder
      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:
      getTierValue in interface InputOrBuilder
      Returns:
      The enum numeric value on the wire for tier.
    • 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](https://cloud.google.com/livestream/pricing) for more detail.
       The default is `HD`.
       
      .google.cloud.video.livestream.v1.Input.Tier tier = 14;
      Specified by:
      getTier in interface InputOrBuilder
      Returns:
      The tier.
    • getUri

      public String 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:
      getUri in interface InputOrBuilder
      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:
      getUriBytes in interface InputOrBuilder
      Returns:
      The bytes for uri.
    • hasPreprocessingConfig

      public boolean hasPreprocessingConfig()
       Preprocessing configurations.
       
      .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;
      Specified by:
      hasPreprocessingConfig in interface InputOrBuilder
      Returns:
      Whether the preprocessingConfig field is set.
    • getPreprocessingConfig

      public PreprocessingConfig getPreprocessingConfig()
       Preprocessing configurations.
       
      .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;
      Specified by:
      getPreprocessingConfig in interface InputOrBuilder
      Returns:
      The preprocessingConfig.
    • getPreprocessingConfigOrBuilder

      public PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder()
       Preprocessing configurations.
       
      .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;
      Specified by:
      getPreprocessingConfigOrBuilder in interface InputOrBuilder
    • hasSecurityRules

      public boolean hasSecurityRules()
       Security rule for access control.
       
      .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;
      Specified by:
      hasSecurityRules in interface InputOrBuilder
      Returns:
      Whether the securityRules field is set.
    • getSecurityRules

      public Input.SecurityRule getSecurityRules()
       Security rule for access control.
       
      .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;
      Specified by:
      getSecurityRules in interface InputOrBuilder
      Returns:
      The securityRules.
    • getSecurityRulesOrBuilder

      public Input.SecurityRuleOrBuilder getSecurityRulesOrBuilder()
       Security rule for access control.
       
      .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;
      Specified by:
      getSecurityRulesOrBuilder in interface InputOrBuilder
    • 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:
      hasInputStreamProperty in interface InputOrBuilder
      Returns:
      Whether the inputStreamProperty field is set.
    • 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];
      Specified by:
      getInputStreamProperty in interface InputOrBuilder
      Returns:
      The inputStreamProperty.
    • 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];
      Specified by:
      getInputStreamPropertyOrBuilder in interface InputOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static Input parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Input parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Input parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Input parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Input parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Input parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Input.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Input.Builder newBuilder()
    • newBuilder

      public static Input.Builder newBuilder(Input prototype)
    • toBuilder

      public Input.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Input.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Input getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Input> parser()
    • getParserForType

      public com.google.protobuf.Parser<Input> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Input getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder