Class VodAdTagDetail.Builder (0.47.0)

public static final class VodAdTagDetail.Builder extends GeneratedMessageV3.Builder<VodAdTagDetail.Builder> implements VodAdTagDetailOrBuilder

Information related to the details for one ad tag. This resource is only available for VOD sessions that do not implement Google Ad Manager ad insertion.

Protobuf type google.cloud.video.stitcher.v1.VodAdTagDetail

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAdRequests(AdRequest value)

public VodAdTagDetail.Builder addAdRequests(AdRequest value)

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Parameter
Name Description
value AdRequest
Returns
Type Description
VodAdTagDetail.Builder

addAdRequests(AdRequest.Builder builderForValue)

public VodAdTagDetail.Builder addAdRequests(AdRequest.Builder builderForValue)

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Parameter
Name Description
builderForValue AdRequest.Builder
Returns
Type Description
VodAdTagDetail.Builder

addAdRequests(int index, AdRequest value)

public VodAdTagDetail.Builder addAdRequests(int index, AdRequest value)

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Parameters
Name Description
index int
value AdRequest
Returns
Type Description
VodAdTagDetail.Builder

addAdRequests(int index, AdRequest.Builder builderForValue)

public VodAdTagDetail.Builder addAdRequests(int index, AdRequest.Builder builderForValue)

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Parameters
Name Description
index int
builderForValue AdRequest.Builder
Returns
Type Description
VodAdTagDetail.Builder

addAdRequestsBuilder()

public AdRequest.Builder addAdRequestsBuilder()

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Returns
Type Description
AdRequest.Builder

addAdRequestsBuilder(int index)

public AdRequest.Builder addAdRequestsBuilder(int index)

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Parameter
Name Description
index int
Returns
Type Description
AdRequest.Builder

addAllAdRequests(Iterable<? extends AdRequest> values)

public VodAdTagDetail.Builder addAllAdRequests(Iterable<? extends AdRequest> values)

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.video.stitcher.v1.AdRequest>
Returns
Type Description
VodAdTagDetail.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VodAdTagDetail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VodAdTagDetail.Builder
Overrides

build()

public VodAdTagDetail build()
Returns
Type Description
VodAdTagDetail

buildPartial()

public VodAdTagDetail buildPartial()
Returns
Type Description
VodAdTagDetail

clear()

public VodAdTagDetail.Builder clear()
Returns
Type Description
VodAdTagDetail.Builder
Overrides

clearAdRequests()

public VodAdTagDetail.Builder clearAdRequests()

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Returns
Type Description
VodAdTagDetail.Builder

clearField(Descriptors.FieldDescriptor field)

public VodAdTagDetail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VodAdTagDetail.Builder
Overrides

clearName()

public VodAdTagDetail.Builder clearName()

The name of the ad tag detail for the specified VOD session, in the form of projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodAdTagDetails/{id}.

string name = 1;

Returns
Type Description
VodAdTagDetail.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VodAdTagDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VodAdTagDetail.Builder
Overrides

clone()

public VodAdTagDetail.Builder clone()
Returns
Type Description
VodAdTagDetail.Builder
Overrides

getAdRequests(int index)

public AdRequest getAdRequests(int index)

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Parameter
Name Description
index int
Returns
Type Description
AdRequest

getAdRequestsBuilder(int index)

public AdRequest.Builder getAdRequestsBuilder(int index)

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Parameter
Name Description
index int
Returns
Type Description
AdRequest.Builder

getAdRequestsBuilderList()

public List<AdRequest.Builder> getAdRequestsBuilderList()

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Returns
Type Description
List<Builder>

getAdRequestsCount()

public int getAdRequestsCount()

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Returns
Type Description
int

getAdRequestsList()

public List<AdRequest> getAdRequestsList()

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Returns
Type Description
List<AdRequest>

getAdRequestsOrBuilder(int index)

public AdRequestOrBuilder getAdRequestsOrBuilder(int index)

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Parameter
Name Description
index int
Returns
Type Description
AdRequestOrBuilder

getAdRequestsOrBuilderList()

public List<? extends AdRequestOrBuilder> getAdRequestsOrBuilderList()

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Returns
Type Description
List<? extends com.google.cloud.video.stitcher.v1.AdRequestOrBuilder>

getDefaultInstanceForType()

public VodAdTagDetail getDefaultInstanceForType()
Returns
Type Description
VodAdTagDetail

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

The name of the ad tag detail for the specified VOD session, in the form of projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodAdTagDetails/{id}.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the ad tag detail for the specified VOD session, in the form of projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodAdTagDetails/{id}.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VodAdTagDetail other)

public VodAdTagDetail.Builder mergeFrom(VodAdTagDetail other)
Parameter
Name Description
other VodAdTagDetail
Returns
Type Description
VodAdTagDetail.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VodAdTagDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VodAdTagDetail.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VodAdTagDetail.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VodAdTagDetail.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VodAdTagDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VodAdTagDetail.Builder
Overrides

removeAdRequests(int index)

public VodAdTagDetail.Builder removeAdRequests(int index)

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Parameter
Name Description
index int
Returns
Type Description
VodAdTagDetail.Builder

setAdRequests(int index, AdRequest value)

public VodAdTagDetail.Builder setAdRequests(int index, AdRequest value)

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Parameters
Name Description
index int
value AdRequest
Returns
Type Description
VodAdTagDetail.Builder

setAdRequests(int index, AdRequest.Builder builderForValue)

public VodAdTagDetail.Builder setAdRequests(int index, AdRequest.Builder builderForValue)

A list of ad requests for one ad tag.

repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;

Parameters
Name Description
index int
builderForValue AdRequest.Builder
Returns
Type Description
VodAdTagDetail.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VodAdTagDetail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VodAdTagDetail.Builder
Overrides

setName(String value)

public VodAdTagDetail.Builder setName(String value)

The name of the ad tag detail for the specified VOD session, in the form of projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodAdTagDetails/{id}.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
VodAdTagDetail.Builder

This builder for chaining.

setNameBytes(ByteString value)

public VodAdTagDetail.Builder setNameBytes(ByteString value)

The name of the ad tag detail for the specified VOD session, in the form of projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodAdTagDetails/{id}.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
VodAdTagDetail.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VodAdTagDetail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VodAdTagDetail.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VodAdTagDetail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VodAdTagDetail.Builder
Overrides