Class LiveAdTagDetail.Builder (0.8.0)

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

Container for a live session's ad tag detail.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valueAdRequest
Returns
TypeDescription
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
NameDescription
builderForValueAdRequest.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAdRequest
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAdRequest.Builder
Returns
TypeDescription
LiveAdTagDetail.Builder

addAdRequestsBuilder()

public AdRequest.Builder addAdRequestsBuilder()

A list of ad requests.

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.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.video.stitcher.v1.AdRequest>
Returns
TypeDescription
LiveAdTagDetail.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LiveAdTagDetail build()
Returns
TypeDescription
LiveAdTagDetail

buildPartial()

public LiveAdTagDetail buildPartial()
Returns
TypeDescription
LiveAdTagDetail

clear()

public LiveAdTagDetail.Builder clear()
Returns
TypeDescription
LiveAdTagDetail.Builder
Overrides

clearAdRequests()

public LiveAdTagDetail.Builder clearAdRequests()

A list of ad requests.

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

Returns
TypeDescription
LiveAdTagDetail.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public LiveAdTagDetail.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AdRequest.Builder

getAdRequestsBuilderList()

public List<AdRequest.Builder> getAdRequestsBuilderList()

A list of ad requests.

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

Returns
TypeDescription
List<Builder>

getAdRequestsCount()

public int getAdRequestsCount()

A list of ad requests.

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

Returns
TypeDescription
int

getAdRequestsList()

public List<AdRequest> getAdRequestsList()

A list of ad requests.

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.

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.

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

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

getDefaultInstanceForType()

public LiveAdTagDetail getDefaultInstanceForType()
Returns
TypeDescription
LiveAdTagDetail

getDescriptorForType()

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

public LiveAdTagDetail.Builder mergeFrom(LiveAdTagDetail other)
Parameter
NameDescription
otherLiveAdTagDetail
Returns
TypeDescription
LiveAdTagDetail.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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