Class AdStitchDetail
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.video.stitcher.v1.AdStitchDetail
- All Implemented Interfaces:
AdStitchDetailOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class AdStitchDetail
extends com.google.protobuf.GeneratedMessage
implements AdStitchDetailOrBuilder
Metadata for a stitched ad.Protobuf type
google.cloud.video.stitcher.v1.AdStitchDetail- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMetadata for a stitched ad.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMedia(String key) Optional.booleanRequired.com.google.protobuf.ByteStringRequired.getAdId()Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.DurationRequired.com.google.protobuf.DurationOrBuilderRequired.static AdStitchDetailstatic final com.google.protobuf.Descriptors.DescriptorgetMedia()Deprecated.intOptional.Optional.com.google.protobuf.ValuegetMediaOrDefault(String key, com.google.protobuf.Value defaultValue) Optional.com.google.protobuf.ValuegetMediaOrThrow(String key) Optional.com.google.protobuf.Parser<AdStitchDetail>intOptional.com.google.protobuf.ByteStringOptional.booleanRequired.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic AdStitchDetail.Builderstatic AdStitchDetail.BuildernewBuilder(AdStitchDetail prototype) protected AdStitchDetail.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AdStitchDetailparseDelimitedFrom(InputStream input) static AdStitchDetailparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdStitchDetailparseFrom(byte[] data) static AdStitchDetailparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdStitchDetailparseFrom(com.google.protobuf.ByteString data) static AdStitchDetailparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdStitchDetailparseFrom(com.google.protobuf.CodedInputStream input) static AdStitchDetailparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdStitchDetailparseFrom(InputStream input) static AdStitchDetailparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdStitchDetailparseFrom(ByteBuffer data) static AdStitchDetailparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AdStitchDetail>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
AD_BREAK_ID_FIELD_NUMBER
public static final int AD_BREAK_ID_FIELD_NUMBER- See Also:
-
AD_ID_FIELD_NUMBER
public static final int AD_ID_FIELD_NUMBER- See Also:
-
AD_TIME_OFFSET_FIELD_NUMBER
public static final int AD_TIME_OFFSET_FIELD_NUMBER- See Also:
-
SKIP_REASON_FIELD_NUMBER
public static final int SKIP_REASON_FIELD_NUMBER- See Also:
-
MEDIA_FIELD_NUMBER
public static final int MEDIA_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getAdBreakId
Required. The ad break ID of the processed ad.
string ad_break_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAdBreakIdin interfaceAdStitchDetailOrBuilder- Returns:
- The adBreakId.
-
getAdBreakIdBytes
public com.google.protobuf.ByteString getAdBreakIdBytes()Required. The ad break ID of the processed ad.
string ad_break_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAdBreakIdBytesin interfaceAdStitchDetailOrBuilder- Returns:
- The bytes for adBreakId.
-
getAdId
Required. The ad ID of the processed ad.
string ad_id = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAdIdin interfaceAdStitchDetailOrBuilder- Returns:
- The adId.
-
getAdIdBytes
public com.google.protobuf.ByteString getAdIdBytes()Required. The ad ID of the processed ad.
string ad_id = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAdIdBytesin interfaceAdStitchDetailOrBuilder- Returns:
- The bytes for adId.
-
hasAdTimeOffset
public boolean hasAdTimeOffset()Required. The time offset of the processed ad.
.google.protobuf.Duration ad_time_offset = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasAdTimeOffsetin interfaceAdStitchDetailOrBuilder- Returns:
- Whether the adTimeOffset field is set.
-
getAdTimeOffset
public com.google.protobuf.Duration getAdTimeOffset()Required. The time offset of the processed ad.
.google.protobuf.Duration ad_time_offset = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAdTimeOffsetin interfaceAdStitchDetailOrBuilder- Returns:
- The adTimeOffset.
-
getAdTimeOffsetOrBuilder
public com.google.protobuf.DurationOrBuilder getAdTimeOffsetOrBuilder()Required. The time offset of the processed ad.
.google.protobuf.Duration ad_time_offset = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAdTimeOffsetOrBuilderin interfaceAdStitchDetailOrBuilder
-
getSkipReason
Optional. Indicates the reason why the ad has been skipped.
string skip_reason = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSkipReasonin interfaceAdStitchDetailOrBuilder- Returns:
- The skipReason.
-
getSkipReasonBytes
public com.google.protobuf.ByteString getSkipReasonBytes()Optional. Indicates the reason why the ad has been skipped.
string skip_reason = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSkipReasonBytesin interfaceAdStitchDetailOrBuilder- Returns:
- The bytes for skipReason.
-
getMediaCount
public int getMediaCount()Description copied from interface:AdStitchDetailOrBuilderOptional. The metadata of the chosen media file for the ad.
map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMediaCountin interfaceAdStitchDetailOrBuilder
-
containsMedia
Optional. The metadata of the chosen media file for the ad.
map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsMediain interfaceAdStitchDetailOrBuilder
-
getMedia
Deprecated.UsegetMediaMap()instead.- Specified by:
getMediain interfaceAdStitchDetailOrBuilder
-
getMediaMap
Optional. The metadata of the chosen media file for the ad.
map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMediaMapin interfaceAdStitchDetailOrBuilder
-
getMediaOrDefault
public com.google.protobuf.Value getMediaOrDefault(String key, com.google.protobuf.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];- Specified by:
getMediaOrDefaultin interfaceAdStitchDetailOrBuilder
-
getMediaOrThrow
Optional. The metadata of the chosen media file for the ad.
map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMediaOrThrowin interfaceAdStitchDetailOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AdStitchDetail parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdStitchDetail parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdStitchDetail parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdStitchDetail parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdStitchDetail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdStitchDetail parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AdStitchDetail parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AdStitchDetail parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AdStitchDetail parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AdStitchDetail parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AdStitchDetail.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-