/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.google.dataflow.sample.timeseriesflow;

import org.apache.beam.runners.dataflow.options.DataflowPipelineOptions;
import org.apache.beam.sdk.annotations.Experimental;
import org.apache.beam.sdk.options.Default;
import org.apache.beam.sdk.options.Description;

@Experimental
public interface TimeseriesStreamingOptions extends DataflowPipelineOptions {

  @Description("Fixed window length for type 1 computations in seconds")
  public Integer getTypeOneComputationsLengthInSecs();

  public void setTypeOneComputationsLengthInSecs(Integer typeOneComputationsLengthInSecs);

  @Description("Sliding window length for type 2 computations in seconds")
  public Integer getTypeTwoComputationsLengthInSecs();

  public void setTypeTwoComputationsLengthInSecs(Integer typeTwoComputationsLengthInSecs);

  @Description("Sliding window offset length for type 2 computations in seconds")
  public Integer getTypeTwoComputationsOffsetLengthInSecs();

  public void setTypeTwoComputationsOffsetLengthInSecs(
      Integer typeTwoComputationsOffsetLengthInSecs);

  @Description("Length of the Sequences, output after type 1 and type 2 computations are complete.")
  public Integer getSequenceLengthInSeconds();

  @Description("Length of the Sequences, output after type 1 and type 2 computations are complete.")
  public void setSequenceLengthInSeconds(Integer sequenceLengthInSeconds);

  @Description(
      "The time to live value for how long after a key does not output values we continue to gap fill.")
  public Integer getTTLDurationSecs();

  @Description(
      "The time to live value for how long after a key does not output values we continue to gap fill.")
  public void setTTLDurationSecs(Integer ttlDurationSecs);

  @Description(
      "The absolute time EpocjMilli to stop gap filling, used in bootstrap pipelines when working with Bounded sources")
  public Long getAbsoluteStopTimeMSTimestamp();

  @Description(
      "The absolute time EpocjMilli to stop gap filling, used in bootstrap pipelines when working with Bounded sources")
  public void setAbsoluteStopTimeMSTimestamp(Long absoluteStopTimeMSTimestamp);

  @Description(
      "Enable hold and propagate of last known value for key, within the TTLDurationSec to gaps.")
  @Default.Boolean(false)
  public Boolean getEnableHoldAndPropogate();

  @Description(
      "Enable hold and propagate of last known value for key, within the TTLDurationSec to gaps.")
  public void setEnableHoldAndPropogate(Boolean enableHoldAndPropogate);
}

@@ -1230,39 +1230,32 @@
  in seconds%22)%0A  
-public 
 Integer getTypeO
@@ -1279,39 +1279,32 @@
 gthInSecs();%0A%0A  
-public 
 void setTypeOneC
@@ -1439,39 +1439,32 @@
  in seconds%22)%0A  
-public 
 Integer getTypeT
@@ -1488,39 +1488,32 @@
 gthInSecs();%0A%0A  
-public 
 void setTypeTwoC
@@ -1659,31 +1659,24 @@
 seconds%22)%0A  
-public 
 Integer getT
@@ -1718,23 +1718,16 @@
 s();%0A%0A  
-public 
 void set
@@ -1765,16 +1765,20 @@
 InSecs(%0A
+    
       In
@@ -1923,31 +1923,24 @@
 mplete.%22)%0A  
-public 
 Integer getS
@@ -2065,31 +2065,24 @@
 mplete.%22)%0A  
-public 
 void setSequ
@@ -2259,23 +2259,16 @@
 ll.%22)%0A  
-public 
 Integer 
@@ -2409,31 +2409,24 @@
 p fill.%22)%0A  
-public 
 void setTTLD
@@ -2501,33 +2501,32 @@
 solute time Epoc
-j
 Milli to stop ga
@@ -2602,23 +2602,16 @@
 ces%22)%0A  
-public 
 Long get
@@ -2691,9 +2691,8 @@
 Epoc
-j
 Mill
@@ -2776,31 +2776,24 @@
 sources%22)%0A  
-public 
 void setAbso
@@ -2995,23 +2995,16 @@
 alse)%0A  
-public 
 Boolean 
@@ -3150,23 +3150,16 @@
 ps.%22)%0A  
-public 
 void set

Fix typo and remove unnecessary public modifier in interface methods and fields, as they are implicitly public already