Class LiveAdTagDetail.Builder (0.45.0)

public static final class LiveAdTagDetail.Builder extends GeneratedMessageV3.Builder<LiveAdTagDetail.Builder> implements LiveAdTagDetailOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

addAdRequests(AdRequest value)

public LiveAdTagDetail.Builder addAdRequests(AdRequest value)

A list of ad requests.

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

Parameter
Name Description
value AdRequest
Returns
Type Description
LiveAdTagDetail.Builder

addAdRequests(AdRequest.Builder builderForValue)

public LiveAdTagDetail.Builder addAdRequests(AdRequest.Builder builderForValue)

A list of ad requests.

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

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

addAdRequests(int index, AdRequest value)

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

A list of ad requests.

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

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

addAdRequests(int index, AdRequest.Builder builderForValue)

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

A list of ad requests.

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

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

addAdRequestsBuilder()

public AdRequest.Builder addAdRequestsBuilder()

A list of ad requests.

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.

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 LiveAdTagDetail.Builder addAllAdRequests(Iterable<? extends AdRequest> values)

A list of ad requests.

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
LiveAdTagDetail.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LiveAdTagDetail build()
Returns
Type Description
LiveAdTagDetail

buildPartial()

public LiveAdTagDetail buildPartial()
Returns
Type Description
LiveAdTagDetail

clear()

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

clearAdRequests()

public LiveAdTagDetail.Builder clearAdRequests()

A list of ad requests.

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

Returns
Type Description
LiveAdTagDetail.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public LiveAdTagDetail.Builder clearName()

The resource name in the form of projects/{project}/locations/{location}/liveSessions/{live_session}/liveAdTagDetails/{id}.

string name = 1;

Returns
Type Description
LiveAdTagDetail.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAdRequests(int index)

public AdRequest getAdRequests(int index)

A list of ad requests.

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.

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.

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

Returns
Type Description
List<Builder>

getAdRequestsCount()

public int getAdRequestsCount()

A list of ad requests.

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

Returns
Type Description
int

getAdRequestsList()

public List<AdRequest> getAdRequestsList()

A list of ad requests.

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.

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.

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

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

getDefaultInstanceForType()

public LiveAdTagDetail getDefaultInstanceForType()
Returns
Type Description
LiveAdTagDetail

getDescriptorForType()

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

getName()

public String getName()

The resource name in the form of projects/{project}/locations/{location}/liveSessions/{live_session}/liveAdTagDetails/{id}.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name in the form of projects/{project}/locations/{location}/liveSessions/{live_session}/liveAdTagDetails/{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(LiveAdTagDetail other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAdRequests(int index)

public LiveAdTagDetail.Builder removeAdRequests(int index)

A list of ad requests.

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

Parameter
Name Description
index int
Returns
Type Description
LiveAdTagDetail.Builder

setAdRequests(int index, AdRequest value)

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

A list of ad requests.

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

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

setAdRequests(int index, AdRequest.Builder builderForValue)

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

A list of ad requests.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public LiveAdTagDetail.Builder setName(String value)

The resource name in the form of projects/{project}/locations/{location}/liveSessions/{live_session}/liveAdTagDetails/{id}.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
LiveAdTagDetail.Builder

This builder for chaining.

setNameBytes(ByteString value)

public LiveAdTagDetail.Builder setNameBytes(ByteString value)

The resource name in the form of projects/{project}/locations/{location}/liveSessions/{live_session}/liveAdTagDetails/{id}.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
LiveAdTagDetail.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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