public final class AdBreak extends GeneratedMessageV3 implements AdBreakOrBuilder
Ad break.
Protobuf type google.cloud.video.transcoder.v1.AdBreak
Static Fields
START_TIME_OFFSET_FIELD_NUMBER
public static final int START_TIME_OFFSET_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AdBreak getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AdBreak.Builder newBuilder()
Returns
newBuilder(AdBreak prototype)
public static AdBreak.Builder newBuilder(AdBreak prototype)
Parameter
Returns
public static AdBreak parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AdBreak parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AdBreak parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AdBreak parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AdBreak parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AdBreak parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AdBreak parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AdBreak parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AdBreak parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AdBreak parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AdBreak parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AdBreak parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AdBreak> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AdBreak getDefaultInstanceForType()
Returns
getParserForType()
public Parser<AdBreak> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
Type | Description |
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Type | Description |
boolean | Whether the startTimeOffset field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AdBreak.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AdBreak.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AdBreak.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions