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
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
Returns
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
Returns
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
Returns
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
Returns
addAdRequestsBuilder()
public AdRequest.Builder addAdRequestsBuilder()
A list of ad requests.
repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;
Returns
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
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LiveAdTagDetail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public LiveAdTagDetail build()
Returns
buildPartial()
public LiveAdTagDetail buildPartial()
Returns
clear()
public LiveAdTagDetail.Builder clear()
Returns
Overrides
clearAdRequests()
public LiveAdTagDetail.Builder clearAdRequests()
A list of ad requests.
repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public LiveAdTagDetail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public LiveAdTagDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public LiveAdTagDetail.Builder clone()
Returns
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
Returns
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
Returns
getAdRequestsBuilderList()
public List<AdRequest.Builder> getAdRequestsBuilderList()
A list of ad requests.
repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;
Returns
getAdRequestsCount()
public int getAdRequestsCount()
A list of ad requests.
repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;
Returns
getAdRequestsList()
public List<AdRequest> getAdRequestsList()
A list of ad requests.
repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;
Returns
getAdRequestsOrBuilder(int index)
public AdRequestOrBuilder getAdRequestsOrBuilder(int index)
A list of ad requests.
repeated .google.cloud.video.stitcher.v1.AdRequest ad_requests = 2;
Parameter
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(LiveAdTagDetail other)
public LiveAdTagDetail.Builder mergeFrom(LiveAdTagDetail other)
Parameter
Returns
public LiveAdTagDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LiveAdTagDetail.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LiveAdTagDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public LiveAdTagDetail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LiveAdTagDetail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LiveAdTagDetail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides