Class AdBreak (1.6.0)

public final class AdBreak extends GeneratedMessageV3 implements AdBreakOrBuilder

Ad break.

Protobuf type google.cloud.video.transcoder.v1.AdBreak

Implements

AdBreakOrBuilder

Static Fields

START_TIME_OFFSET_FIELD_NUMBER

public static final int START_TIME_OFFSET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AdBreak getDefaultInstance()
Returns
TypeDescription
AdBreak

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AdBreak.Builder newBuilder()
Returns
TypeDescription
AdBreak.Builder

newBuilder(AdBreak prototype)

public static AdBreak.Builder newBuilder(AdBreak prototype)
Parameter
NameDescription
prototypeAdBreak
Returns
TypeDescription
AdBreak.Builder

parseDelimitedFrom(InputStream input)

public static AdBreak parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AdBreak
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AdBreak parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdBreak
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AdBreak parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AdBreak
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AdBreak parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdBreak
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AdBreak parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AdBreak
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AdBreak parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdBreak
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AdBreak parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AdBreak
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AdBreak parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdBreak
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AdBreak parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AdBreak
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AdBreak parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdBreak
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AdBreak parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AdBreak
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AdBreak parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdBreak
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AdBreak> parser()
Returns
TypeDescription
Parser<AdBreak>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AdBreak getDefaultInstanceForType()
Returns
TypeDescription
AdBreak

getParserForType()

public Parser<AdBreak> getParserForType()
Returns
TypeDescription
Parser<AdBreak>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartTimeOffset()

public Duration getStartTimeOffset()

Start time in seconds for the ad break, relative to the output file timeline. The default is 0s.

.google.protobuf.Duration start_time_offset = 1;

Returns
TypeDescription
Duration

The startTimeOffset.

getStartTimeOffsetOrBuilder()

public DurationOrBuilder getStartTimeOffsetOrBuilder()

Start time in seconds for the ad break, relative to the output file timeline. The default is 0s.

.google.protobuf.Duration start_time_offset = 1;

Returns
TypeDescription
DurationOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasStartTimeOffset()

public boolean hasStartTimeOffset()

Start time in seconds for the ad break, relative to the output file timeline. The default is 0s.

.google.protobuf.Duration start_time_offset = 1;

Returns
TypeDescription
boolean

Whether the startTimeOffset field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AdBreak.Builder newBuilderForType()
Returns
TypeDescription
AdBreak.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AdBreak.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AdBreak.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AdBreak.Builder toBuilder()
Returns
TypeDescription
AdBreak.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException