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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Event.AdBreakTask.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Event.AdBreakTask build()
Returns
buildPartial()
public Event.AdBreakTask buildPartial()
Returns
clear()
public Event.AdBreakTask.Builder clear()
Returns
Overrides
clearDuration()
public Event.AdBreakTask.Builder clearDuration()
Duration of an ad opportunity. Must be greater than 0.
.google.protobuf.Duration duration = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Event.AdBreakTask.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Event.AdBreakTask.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Event.AdBreakTask.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Event.AdBreakTask getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDuration()
public Duration getDuration()
Duration of an ad opportunity. Must be greater than 0.
.google.protobuf.Duration duration = 1;
Returns
getDurationBuilder()
public Duration.Builder getDurationBuilder()
Duration of an ad opportunity. Must be greater than 0.
.google.protobuf.Duration duration = 1;
Returns
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()
Duration of an ad opportunity. Must be greater than 0.
.google.protobuf.Duration duration = 1;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(Event.AdBreakTask other)
public Event.AdBreakTask.Builder mergeFrom(Event.AdBreakTask other)
Parameter
Returns
public Event.AdBreakTask.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Event.AdBreakTask.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Event.AdBreakTask.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Event.AdBreakTask.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Event.AdBreakTask.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Event.AdBreakTask.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides