Class Companion
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.video.stitcher.v1.Companion
- All Implemented Interfaces:
CompanionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Companion
extends com.google.protobuf.GeneratedMessage
implements CompanionOrBuilder
Metadata for a companion.Protobuf type
google.cloud.video.stitcher.v1.Companion- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classMetadata for a companion.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 intstatic final intstatic final intstatic 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 TypeMethodDescriptionbooleanThe ID used to identify the desired placement on a publisher's page.com.google.protobuf.ByteStringThe ID used to identify the desired placement on a publisher's page.The API necessary to communicate with the creative if available.com.google.protobuf.ByteStringThe API necessary to communicate with the creative if available.intThe pixel height of the creative.intThe pixel width of the creative.static Companionstatic final com.google.protobuf.Descriptors.DescriptorgetEvents(int index) The list of tracking events for the companion.intThe list of tracking events for the companion.The list of tracking events for the companion.getEventsOrBuilder(int index) The list of tracking events for the companion.List<? extends EventOrBuilder>The list of tracking events for the companion.intThe maximum pixel height of the creative in its expanded state.intThe maximum pixel width of the creative in its expanded state.intThe pixel height of the placement slot for the intended creative.The HTML ad resource associated with the companion ad.The HTML ad resource associated with the companion ad.The IFrame ad resource associated with the companion ad.The IFrame ad resource associated with the companion ad.com.google.protobuf.Parser<Companion>intThe static ad resource associated with the companion ad.The static ad resource associated with the companion ad.intThe pixel width of the placement slot for the intended creative.inthashCode()booleanThe HTML ad resource associated with the companion ad.booleanThe IFrame ad resource associated with the companion ad.booleanThe static ad resource associated with the companion ad.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Companion.Builderstatic Companion.BuildernewBuilder(Companion prototype) protected Companion.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CompanionparseDelimitedFrom(InputStream input) static CompanionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CompanionparseFrom(byte[] data) static CompanionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CompanionparseFrom(com.google.protobuf.ByteString data) static CompanionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CompanionparseFrom(com.google.protobuf.CodedInputStream input) static CompanionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CompanionparseFrom(InputStream input) static CompanionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CompanionparseFrom(ByteBuffer data) static CompanionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Companion>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, internalGetMapFieldReflection, 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
-
IFRAME_AD_RESOURCE_FIELD_NUMBER
public static final int IFRAME_AD_RESOURCE_FIELD_NUMBER- See Also:
-
STATIC_AD_RESOURCE_FIELD_NUMBER
public static final int STATIC_AD_RESOURCE_FIELD_NUMBER- See Also:
-
HTML_AD_RESOURCE_FIELD_NUMBER
public static final int HTML_AD_RESOURCE_FIELD_NUMBER- See Also:
-
API_FRAMEWORK_FIELD_NUMBER
public static final int API_FRAMEWORK_FIELD_NUMBER- See Also:
-
HEIGHT_PX_FIELD_NUMBER
public static final int HEIGHT_PX_FIELD_NUMBER- See Also:
-
WIDTH_PX_FIELD_NUMBER
public static final int WIDTH_PX_FIELD_NUMBER- See Also:
-
ASSET_HEIGHT_PX_FIELD_NUMBER
public static final int ASSET_HEIGHT_PX_FIELD_NUMBER- See Also:
-
EXPANDED_HEIGHT_PX_FIELD_NUMBER
public static final int EXPANDED_HEIGHT_PX_FIELD_NUMBER- See Also:
-
ASSET_WIDTH_PX_FIELD_NUMBER
public static final int ASSET_WIDTH_PX_FIELD_NUMBER- See Also:
-
EXPANDED_WIDTH_PX_FIELD_NUMBER
public static final int EXPANDED_WIDTH_PX_FIELD_NUMBER- See Also:
-
AD_SLOT_ID_FIELD_NUMBER
public static final int AD_SLOT_ID_FIELD_NUMBER- See Also:
-
EVENTS_FIELD_NUMBER
public static final int EVENTS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getAdResourceCase
- Specified by:
getAdResourceCasein interfaceCompanionOrBuilder
-
hasIframeAdResource
public boolean hasIframeAdResource()The IFrame ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.IframeAdResource iframe_ad_resource = 10;- Specified by:
hasIframeAdResourcein interfaceCompanionOrBuilder- Returns:
- Whether the iframeAdResource field is set.
-
getIframeAdResource
The IFrame ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.IframeAdResource iframe_ad_resource = 10;- Specified by:
getIframeAdResourcein interfaceCompanionOrBuilder- Returns:
- The iframeAdResource.
-
getIframeAdResourceOrBuilder
The IFrame ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.IframeAdResource iframe_ad_resource = 10;- Specified by:
getIframeAdResourceOrBuilderin interfaceCompanionOrBuilder
-
hasStaticAdResource
public boolean hasStaticAdResource()The static ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.StaticAdResource static_ad_resource = 11;- Specified by:
hasStaticAdResourcein interfaceCompanionOrBuilder- Returns:
- Whether the staticAdResource field is set.
-
getStaticAdResource
The static ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.StaticAdResource static_ad_resource = 11;- Specified by:
getStaticAdResourcein interfaceCompanionOrBuilder- Returns:
- The staticAdResource.
-
getStaticAdResourceOrBuilder
The static ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.StaticAdResource static_ad_resource = 11;- Specified by:
getStaticAdResourceOrBuilderin interfaceCompanionOrBuilder
-
hasHtmlAdResource
public boolean hasHtmlAdResource()The HTML ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.HtmlAdResource html_ad_resource = 12;- Specified by:
hasHtmlAdResourcein interfaceCompanionOrBuilder- Returns:
- Whether the htmlAdResource field is set.
-
getHtmlAdResource
The HTML ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.HtmlAdResource html_ad_resource = 12;- Specified by:
getHtmlAdResourcein interfaceCompanionOrBuilder- Returns:
- The htmlAdResource.
-
getHtmlAdResourceOrBuilder
The HTML ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.HtmlAdResource html_ad_resource = 12;- Specified by:
getHtmlAdResourceOrBuilderin interfaceCompanionOrBuilder
-
getApiFramework
The API necessary to communicate with the creative if available.
string api_framework = 1;- Specified by:
getApiFrameworkin interfaceCompanionOrBuilder- Returns:
- The apiFramework.
-
getApiFrameworkBytes
public com.google.protobuf.ByteString getApiFrameworkBytes()The API necessary to communicate with the creative if available.
string api_framework = 1;- Specified by:
getApiFrameworkBytesin interfaceCompanionOrBuilder- Returns:
- The bytes for apiFramework.
-
getHeightPx
public int getHeightPx()The pixel height of the placement slot for the intended creative.
int32 height_px = 2;- Specified by:
getHeightPxin interfaceCompanionOrBuilder- Returns:
- The heightPx.
-
getWidthPx
public int getWidthPx()The pixel width of the placement slot for the intended creative.
int32 width_px = 3;- Specified by:
getWidthPxin interfaceCompanionOrBuilder- Returns:
- The widthPx.
-
getAssetHeightPx
public int getAssetHeightPx()The pixel height of the creative.
int32 asset_height_px = 4;- Specified by:
getAssetHeightPxin interfaceCompanionOrBuilder- Returns:
- The assetHeightPx.
-
getExpandedHeightPx
public int getExpandedHeightPx()The maximum pixel height of the creative in its expanded state.
int32 expanded_height_px = 5;- Specified by:
getExpandedHeightPxin interfaceCompanionOrBuilder- Returns:
- The expandedHeightPx.
-
getAssetWidthPx
public int getAssetWidthPx()The pixel width of the creative.
int32 asset_width_px = 6;- Specified by:
getAssetWidthPxin interfaceCompanionOrBuilder- Returns:
- The assetWidthPx.
-
getExpandedWidthPx
public int getExpandedWidthPx()The maximum pixel width of the creative in its expanded state.
int32 expanded_width_px = 7;- Specified by:
getExpandedWidthPxin interfaceCompanionOrBuilder- Returns:
- The expandedWidthPx.
-
getAdSlotId
The ID used to identify the desired placement on a publisher's page. Values to be used should be discussed between publishers and advertisers.
string ad_slot_id = 8;- Specified by:
getAdSlotIdin interfaceCompanionOrBuilder- Returns:
- The adSlotId.
-
getAdSlotIdBytes
public com.google.protobuf.ByteString getAdSlotIdBytes()The ID used to identify the desired placement on a publisher's page. Values to be used should be discussed between publishers and advertisers.
string ad_slot_id = 8;- Specified by:
getAdSlotIdBytesin interfaceCompanionOrBuilder- Returns:
- The bytes for adSlotId.
-
getEventsList
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;- Specified by:
getEventsListin interfaceCompanionOrBuilder
-
getEventsOrBuilderList
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;- Specified by:
getEventsOrBuilderListin interfaceCompanionOrBuilder
-
getEventsCount
public int getEventsCount()The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;- Specified by:
getEventsCountin interfaceCompanionOrBuilder
-
getEvents
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;- Specified by:
getEventsin interfaceCompanionOrBuilder
-
getEventsOrBuilder
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;- Specified by:
getEventsOrBuilderin interfaceCompanionOrBuilder
-
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 Companion parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Companion parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Companion parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Companion parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Companion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Companion parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Companion parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Companion parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Companion 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 Companion.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
-