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
  
  
  
    public static final int INPUT_STREAM_PROPERTY_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int LABELS_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int NAME_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int PREPROCESSING_CONFIG_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int SECURITY_RULES_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int TIER_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int TYPE_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int UPDATE_TIME_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int URI_FIELD_NUMBER
   
  Field Value
  
  Static Methods
  
  
  
  
    public static Input getDefaultInstance()
   
  Returns
  
  
  
  
    public static final Descriptors.Descriptor getDescriptor()
   
  Returns
  
  
  
  
    public static Input.Builder newBuilder()
   
  Returns
  
  
  
  
    public static Input.Builder newBuilder(Input prototype)
   
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        | prototype | 
        Input
  | 
      
    
  
  Returns
  
  
  
  
    public static Input parseDelimitedFrom(InputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Input parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Input parseFrom(byte[] data)
   
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        | data | 
        byte[]
  | 
      
    
  
  Returns
  
  Exceptions
  
  
  
  
    public static Input parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Input parseFrom(ByteString data)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Input parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Input parseFrom(CodedInputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Input parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Input parseFrom(InputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Input parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Input parseFrom(ByteBuffer data)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Input parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Parser<Input> parser()
   
  Returns
  
  Methods
  
  
  
  
    public boolean containsLabels(String key)
   
   User-defined key/value metadata.
 map<string, string> labels = 4;
 
  Parameter
  
  Returns
  
  
  
  
    public boolean equals(Object obj)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  
  
    public Timestamp getCreateTime()
   
   Output only. The creation time.
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  Returns
  
  
  
  
    public TimestampOrBuilder getCreateTimeOrBuilder()
   
   Output only. The creation time.
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  Returns
  
  
  
  
    public Input getDefaultInstanceForType()
   
  Returns
  
  
  
  
    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];
 
 
  Returns
  
  
  
  
    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];
 
 
  Returns
  
  
  
  
    public Map<String,String> getLabels()
   
  
  Returns
  
  
  
  
    public int getLabelsCount()
   
   User-defined key/value metadata.
 map<string, string> labels = 4;
 
  Returns
  
  
  
  
    public Map<String,String> getLabelsMap()
   
   User-defined key/value metadata.
 map<string, string> labels = 4;
 
  Returns
  
  
  
  
    public String getLabelsOrDefault(String key, String defaultValue)
   
   User-defined key/value metadata.
 map<string, string> labels = 4;
 
  Parameters
  
  Returns
  
  
  
  
    public String getLabelsOrThrow(String key)
   
   User-defined key/value metadata.
 map<string, string> labels = 4;
 
  Parameter
  
  Returns
  
  
  
  
   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
  
  
  
  
    public Parser<Input> getParserForType()
   
  Returns
  
  Overrides
  
  
  
  
    public PreprocessingConfig getPreprocessingConfig()
   
   Preprocessing configurations.
 .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;
 
  Returns
  
  
  
  
    public PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder()
   
   Preprocessing configurations.
 .google.cloud.video.livestream.v1.PreprocessingConfig preprocessing_config = 9;
 
  Returns
  
  
  
  
    public Input.SecurityRule getSecurityRules()
   
   Security rule for access control.
 .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;
 
  Returns
  
  
  
  
    public Input.SecurityRuleOrBuilder getSecurityRulesOrBuilder()
   
   Security rule for access control.
 .google.cloud.video.livestream.v1.Input.SecurityRule security_rules = 12;
 
  Returns
  
  
  
  
    public int getSerializedSize()
   
  Returns
  
  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;
 
  Returns
  
  
  
  
    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;
 
  Returns
  
  
  
  
    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()
   
  Returns
  
  Overrides
  
  
  
  
    public Timestamp getUpdateTime()
   
   Output only. The update time.
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  Returns
  
  
  
  
    public TimestampOrBuilder getUpdateTimeOrBuilder()
   
   Output only. The update time.
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  Returns
  
  
  
  
   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
  
  
  
  
    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
  
  Overrides
  
  
  
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  Returns
  
  Overrides
  
  
  
  
    protected MapField internalGetMapField(int number)
   
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        | number | 
        int
  | 
      
    
  
  Returns
  
  Overrides
  
  
  
  
    public final boolean isInitialized()
   
  Returns
  
  Overrides
  
  
  
  
    public Input.Builder newBuilderForType()
   
  Returns
  
  
  
  
    protected Input.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  
  
    public Input.Builder toBuilder()
   
  Returns
  
  
  
  
    public void writeTo(CodedOutputStream output)
   
  Parameter
  
  Overrides
  
  Exceptions