public static final class AdStitchDetail.Builder extends GeneratedMessage.Builder<AdStitchDetail.Builder> implements AdStitchDetailOrBuilderMetadata for a stitched ad.
Protobuf type google.cloud.video.stitcher.v1.AdStitchDetail
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AdStitchDetail.BuilderImplements
AdStitchDetailOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AdStitchDetail build()| Returns | |
|---|---|
| Type | Description |
AdStitchDetail |
|
buildPartial()
public AdStitchDetail buildPartial()| Returns | |
|---|---|
| Type | Description |
AdStitchDetail |
|
clear()
public AdStitchDetail.Builder clear()| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
|
clearAdBreakId()
public AdStitchDetail.Builder clearAdBreakId()Required. The ad break ID of the processed ad.
string ad_break_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
This builder for chaining. |
clearAdId()
public AdStitchDetail.Builder clearAdId()Required. The ad ID of the processed ad.
string ad_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
This builder for chaining. |
clearAdTimeOffset()
public AdStitchDetail.Builder clearAdTimeOffset()Required. The time offset of the processed ad.
.google.protobuf.Duration ad_time_offset = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
|
clearMedia()
public AdStitchDetail.Builder clearMedia()| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
|
clearSkipReason()
public AdStitchDetail.Builder clearSkipReason()Optional. Indicates the reason why the ad has been skipped.
string skip_reason = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
This builder for chaining. |
containsMedia(String key)
public boolean containsMedia(String key)Optional. The metadata of the chosen media file for the ad.
map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAdBreakId()
public String getAdBreakId()Required. The ad break ID of the processed ad.
string ad_break_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The adBreakId. |
getAdBreakIdBytes()
public ByteString getAdBreakIdBytes()Required. The ad break ID of the processed ad.
string ad_break_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for adBreakId. |
getAdId()
public String getAdId()Required. The ad ID of the processed ad.
string ad_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The adId. |
getAdIdBytes()
public ByteString getAdIdBytes()Required. The ad ID of the processed ad.
string ad_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for adId. |
getAdTimeOffset()
public Duration getAdTimeOffset()Required. The time offset of the processed ad.
.google.protobuf.Duration ad_time_offset = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Duration |
The adTimeOffset. |
getAdTimeOffsetBuilder()
public Duration.Builder getAdTimeOffsetBuilder()Required. The time offset of the processed ad.
.google.protobuf.Duration ad_time_offset = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getAdTimeOffsetOrBuilder()
public DurationOrBuilder getAdTimeOffsetOrBuilder()Required. The time offset of the processed ad.
.google.protobuf.Duration ad_time_offset = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getDefaultInstanceForType()
public AdStitchDetail getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AdStitchDetail |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMedia() (deprecated)
public Map<String,Value> getMedia()Use #getMediaMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,Value> |
|
getMediaCount()
public int getMediaCount()Optional. The metadata of the chosen media file for the ad.
map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getMediaMap()
public Map<String,Value> getMediaMap()Optional. The metadata of the chosen media file for the ad.
map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,Value> |
|
getMediaOrDefault(String key, Value defaultValue)
public Value getMediaOrDefault(String key, Value defaultValue)Optional. The metadata of the chosen media file for the ad.
map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
Value |
| Returns | |
|---|---|
| Type | Description |
Value |
|
getMediaOrThrow(String key)
public Value getMediaOrThrow(String key)Optional. The metadata of the chosen media file for the ad.
map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Value |
|
getMutableMedia() (deprecated)
public Map<String,Value> getMutableMedia()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,Value> |
|
getSkipReason()
public String getSkipReason()Optional. Indicates the reason why the ad has been skipped.
string skip_reason = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The skipReason. |
getSkipReasonBytes()
public ByteString getSkipReasonBytes()Optional. Indicates the reason why the ad has been skipped.
string skip_reason = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for skipReason. |
hasAdTimeOffset()
public boolean hasAdTimeOffset()Required. The time offset of the processed ad.
.google.protobuf.Duration ad_time_offset = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the adTimeOffset field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAdTimeOffset(Duration value)
public AdStitchDetail.Builder mergeAdTimeOffset(Duration value)Required. The time offset of the processed ad.
.google.protobuf.Duration ad_time_offset = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
|
mergeFrom(AdStitchDetail other)
public AdStitchDetail.Builder mergeFrom(AdStitchDetail other)| Parameter | |
|---|---|
| Name | Description |
other |
AdStitchDetail |
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AdStitchDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AdStitchDetail.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
|
putAllMedia(Map<String,Value> values)
public AdStitchDetail.Builder putAllMedia(Map<String,Value> values)Optional. The metadata of the chosen media file for the ad.
map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,Value> |
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
|
putMedia(String key, Value value)
public AdStitchDetail.Builder putMedia(String key, Value value)Optional. The metadata of the chosen media file for the ad.
map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
Value |
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
|
putMediaBuilderIfAbsent(String key)
public Value.Builder putMediaBuilderIfAbsent(String key)Optional. The metadata of the chosen media file for the ad.
map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Builder |
|
removeMedia(String key)
public AdStitchDetail.Builder removeMedia(String key)Optional. The metadata of the chosen media file for the ad.
map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
|
setAdBreakId(String value)
public AdStitchDetail.Builder setAdBreakId(String value)Required. The ad break ID of the processed ad.
string ad_break_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe adBreakId to set. |
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
This builder for chaining. |
setAdBreakIdBytes(ByteString value)
public AdStitchDetail.Builder setAdBreakIdBytes(ByteString value)Required. The ad break ID of the processed ad.
string ad_break_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for adBreakId to set. |
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
This builder for chaining. |
setAdId(String value)
public AdStitchDetail.Builder setAdId(String value)Required. The ad ID of the processed ad.
string ad_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe adId to set. |
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
This builder for chaining. |
setAdIdBytes(ByteString value)
public AdStitchDetail.Builder setAdIdBytes(ByteString value)Required. The ad ID of the processed ad.
string ad_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for adId to set. |
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
This builder for chaining. |
setAdTimeOffset(Duration value)
public AdStitchDetail.Builder setAdTimeOffset(Duration value)Required. The time offset of the processed ad.
.google.protobuf.Duration ad_time_offset = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
|
setAdTimeOffset(Duration.Builder builderForValue)
public AdStitchDetail.Builder setAdTimeOffset(Duration.Builder builderForValue)Required. The time offset of the processed ad.
.google.protobuf.Duration ad_time_offset = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
|
setSkipReason(String value)
public AdStitchDetail.Builder setSkipReason(String value)Optional. Indicates the reason why the ad has been skipped.
string skip_reason = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe skipReason to set. |
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
This builder for chaining. |
setSkipReasonBytes(ByteString value)
public AdStitchDetail.Builder setSkipReasonBytes(ByteString value)Optional. Indicates the reason why the ad has been skipped.
string skip_reason = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for skipReason to set. |
| Returns | |
|---|---|
| Type | Description |
AdStitchDetail.Builder |
This builder for chaining. |