@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.video.livestream.v1.StaticOverlay)) {
      return super.equals(obj);
    }
    com.google.cloud.video.livestream.v1.StaticOverlay other =
        (com.google.cloud.video.livestream.v1.StaticOverlay) obj;

    if (!getAsset().equals(other.getAsset())) return false;
    if (hasResolution() != other.hasResolution()) return false;
    if (hasResolution()) {
      if (!getResolution().equals(other.getResolution())) return false;
    }
    if (hasPosition() != other.hasPosition()) return false;
    if (hasPosition()) {
      if (!getPosition().equals(other.getPosition())) return false;
    }
    if (java.lang.Double.doubleToLongBits(getOpacity())
        != java.lang.Double.doubleToLongBits(other.getOpacity())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Optional. Target image opacity. Valid values are from `1.0` (solid,
default) to `0.0` (transparent), exclusive. Set this to a value greater
than `0.0`.
</pre>

<code>double opacity = 4 [(.google.api.field_behavior) = OPTIONAL];</code>

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