Class VodAdTagDetail.Builder (0.1.0)

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

Information related to the details for one ad tag.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valueAdRequest
Returns
TypeDescription
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
NameDescription
builderForValueAdRequest.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAdRequest
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAdRequest.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.video.stitcher.v1.AdRequest>
Returns
TypeDescription
VodAdTagDetail.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VodAdTagDetail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VodAdTagDetail.Builder
Overrides

build()

public VodAdTagDetail build()
Returns
TypeDescription
VodAdTagDetail

buildPartial()

public VodAdTagDetail buildPartial()
Returns
TypeDescription
VodAdTagDetail

clear()

public VodAdTagDetail.Builder clear()
Returns
TypeDescription
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
TypeDescription
VodAdTagDetail.Builder

clearField(Descriptors.FieldDescriptor field)

public VodAdTagDetail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
VodAdTagDetail.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VodAdTagDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VodAdTagDetail.Builder
Overrides

clone()

public VodAdTagDetail.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.video.stitcher.v1.AdRequestOrBuilder>

getDefaultInstanceForType()

public VodAdTagDetail getDefaultInstanceForType()
Returns
TypeDescription
VodAdTagDetail

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VodAdTagDetail other)

public VodAdTagDetail.Builder mergeFrom(VodAdTagDetail other)
Parameter
NameDescription
otherVodAdTagDetail
Returns
TypeDescription
VodAdTagDetail.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VodAdTagDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VodAdTagDetail.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VodAdTagDetail.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VodAdTagDetail.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VodAdTagDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAdRequest
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAdRequest.Builder
Returns
TypeDescription
VodAdTagDetail.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VodAdTagDetail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VodAdTagDetail.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VodAdTagDetail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VodAdTagDetail.Builder
Overrides