Interface VideoSettingsOrBuilder (0.58.0)

public interface VideoSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBitrate()

public abstract long getBitrate()

Required. The bitrate of the video, in bits per second. This value must be between 32kbps and 250 Mbps.

optional int64 bitrate = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The bitrate.

getCodec()

public abstract String getCodec()

Required. The RFC6381 codec string of the video.

optional string codec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The codec.

getCodecBytes()

public abstract ByteString getCodecBytes()

Required. The RFC6381 codec string of the video.

optional string codec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for codec.

getFramesPerSecond()

public abstract double getFramesPerSecond()

Required. The frames per second of the video. This value will be truncated to three decimal places.

optional double frames_per_second = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
double

The framesPerSecond.

getResolution()

public abstract Size getResolution()

Required. The resolution of the video, in pixels.

optional .google.ads.admanager.v1.Size resolution = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Size

The resolution.

getResolutionOrBuilder()

public abstract SizeOrBuilder getResolutionOrBuilder()

Required. The resolution of the video, in pixels.

optional .google.ads.admanager.v1.Size resolution = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SizeOrBuilder

hasBitrate()

public abstract boolean hasBitrate()

Required. The bitrate of the video, in bits per second. This value must be between 32kbps and 250 Mbps.

optional int64 bitrate = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the bitrate field is set.

hasCodec()

public abstract boolean hasCodec()

Required. The RFC6381 codec string of the video.

optional string codec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the codec field is set.

hasFramesPerSecond()

public abstract boolean hasFramesPerSecond()

Required. The frames per second of the video. This value will be truncated to three decimal places.

optional double frames_per_second = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the framesPerSecond field is set.

hasResolution()

public abstract boolean hasResolution()

Required. The resolution of the video, in pixels.

optional .google.ads.admanager.v1.Size resolution = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the resolution field is set.