@java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (inputSwitchMode_
        != com.google.cloud.video.livestream.v1.InputConfig.InputSwitchMode
            .INPUT_SWITCH_MODE_UNSPECIFIED
            .getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, inputSwitchMode_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<pre>
Input switch mode. Default mode is `FAILOVER_PREFER_PRIMARY`.
</pre>

<code>.google.cloud.video.livestream.v1.InputConfig.InputSwitchMode input_switch_mode = 1;
</code>

@return The inputSwitchMode.
java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/InputConfig.java