- 0.51.0 (latest)
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.6
- 0.1.2
public static final class AdStitchDetail.Builder extends GeneratedMessageV3.Builder<AdStitchDetail.Builder> implements AdStitchDetailOrBuilder
Metadata for a stitched ad.
Protobuf type google.cloud.video.stitcher.v1.AdStitchDetail
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AdStitchDetail.BuilderImplements
AdStitchDetailOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AdStitchDetail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AdStitchDetail.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public AdStitchDetail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
AdStitchDetail.Builder |
clearMedia()
public AdStitchDetail.Builder clearMedia()
Returns | |
---|---|
Type | Description |
AdStitchDetail.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AdStitchDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
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. |
clone()
public AdStitchDetail.Builder clone()
Returns | |
---|---|
Type | Description |
AdStitchDetail.Builder |
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()
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()
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AdStitchDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
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 |
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 | String The 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 | ByteString The 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 | String The 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 | ByteString The 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 |
setField(Descriptors.FieldDescriptor field, Object value)
public AdStitchDetail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AdStitchDetail.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AdStitchDetail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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 | String The 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 | ByteString The bytes for skipReason to set. |
Returns | |
---|---|
Type | Description |
AdStitchDetail.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AdStitchDetail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AdStitchDetail.Builder |