public static final class Event.AdBreakTask.Builder extends GeneratedMessageV3.Builder<Event.AdBreakTask.Builder> implements Event.AdBreakTaskOrBuilder
Inserts a new ad opportunity.
Protobuf type google.cloud.video.livestream.v1.Event.AdBreakTask
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Event.AdBreakTask.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Event.AdBreakTask build()
buildPartial()
public Event.AdBreakTask buildPartial()
clear()
public Event.AdBreakTask.Builder clear()
Overrides
clearDuration()
public Event.AdBreakTask.Builder clearDuration()
Duration of an ad opportunity. Must be greater than 0.
.google.protobuf.Duration duration = 1;
clearField(Descriptors.FieldDescriptor field)
public Event.AdBreakTask.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Event.AdBreakTask.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Event.AdBreakTask.Builder clone()
Overrides
getDefaultInstanceForType()
public Event.AdBreakTask getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDuration()
public Duration getDuration()
Duration of an ad opportunity. Must be greater than 0.
.google.protobuf.Duration duration = 1;
Returns |
Type |
Description |
Duration |
The duration.
|
getDurationBuilder()
public Duration.Builder getDurationBuilder()
Duration of an ad opportunity. Must be greater than 0.
.google.protobuf.Duration duration = 1;
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()
Duration of an ad opportunity. Must be greater than 0.
.google.protobuf.Duration duration = 1;
hasDuration()
public boolean hasDuration()
Duration of an ad opportunity. Must be greater than 0.
.google.protobuf.Duration duration = 1;
Returns |
Type |
Description |
boolean |
Whether the duration field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDuration(Duration value)
public Event.AdBreakTask.Builder mergeDuration(Duration value)
Duration of an ad opportunity. Must be greater than 0.
.google.protobuf.Duration duration = 1;
Parameter |
Name |
Description |
value |
Duration
|
mergeFrom(Event.AdBreakTask other)
public Event.AdBreakTask.Builder mergeFrom(Event.AdBreakTask other)
public Event.AdBreakTask.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Event.AdBreakTask.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Event.AdBreakTask.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDuration(Duration value)
public Event.AdBreakTask.Builder setDuration(Duration value)
Duration of an ad opportunity. Must be greater than 0.
.google.protobuf.Duration duration = 1;
Parameter |
Name |
Description |
value |
Duration
|
setDuration(Duration.Builder builderForValue)
public Event.AdBreakTask.Builder setDuration(Duration.Builder builderForValue)
Duration of an ad opportunity. Must be greater than 0.
.google.protobuf.Duration duration = 1;
Parameter |
Name |
Description |
builderForValue |
Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public Event.AdBreakTask.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Event.AdBreakTask.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Event.AdBreakTask.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides