Class Companion
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class Companion extends com.google.protobuf.GeneratedMessageV3 implements CompanionOrBuilder
Metadata for a companion.
Protobuf typegoogle.cloud.video.stitcher.v1.Companion- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompanion.AdResourceCasestatic classCompanion.BuilderMetadata for a companion.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAD_SLOT_ID_FIELD_NUMBERstatic intAPI_FRAMEWORK_FIELD_NUMBERstatic intASSET_HEIGHT_PX_FIELD_NUMBERstatic intASSET_WIDTH_PX_FIELD_NUMBERstatic intEVENTS_FIELD_NUMBERstatic intEXPANDED_HEIGHT_PX_FIELD_NUMBERstatic intEXPANDED_WIDTH_PX_FIELD_NUMBERstatic intHEIGHT_PX_FIELD_NUMBERstatic intHTML_AD_RESOURCE_FIELD_NUMBERstatic intIFRAME_AD_RESOURCE_FIELD_NUMBERstatic intSTATIC_AD_RESOURCE_FIELD_NUMBERstatic intWIDTH_PX_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Companion.AdResourceCasegetAdResourceCase()StringgetAdSlotId()The ID used to identify the desired placement on a publisher's page.com.google.protobuf.ByteStringgetAdSlotIdBytes()The ID used to identify the desired placement on a publisher's page.StringgetApiFramework()The API necessary to communicate with the creative if available.com.google.protobuf.ByteStringgetApiFrameworkBytes()The API necessary to communicate with the creative if available.intgetAssetHeightPx()The pixel height of the creative.intgetAssetWidthPx()The pixel width of the creative.static CompaniongetDefaultInstance()CompaniongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()EventgetEvents(int index)The list of tracking events for the companion.intgetEventsCount()The list of tracking events for the companion.List<Event>getEventsList()The list of tracking events for the companion.EventOrBuildergetEventsOrBuilder(int index)The list of tracking events for the companion.List<? extends EventOrBuilder>getEventsOrBuilderList()The list of tracking events for the companion.intgetExpandedHeightPx()The maximum pixel height of the creative in its expanded state.intgetExpandedWidthPx()The maximum pixel width of the creative in its expanded state.intgetHeightPx()The pixel height of the placement slot for the intended creative.HtmlAdResourcegetHtmlAdResource()The HTML ad resource associated with the companion ad.HtmlAdResourceOrBuildergetHtmlAdResourceOrBuilder()The HTML ad resource associated with the companion ad.IframeAdResourcegetIframeAdResource()The IFrame ad resource associated with the companion ad.IframeAdResourceOrBuildergetIframeAdResourceOrBuilder()The IFrame ad resource associated with the companion ad.com.google.protobuf.Parser<Companion>getParserForType()intgetSerializedSize()StaticAdResourcegetStaticAdResource()The static ad resource associated with the companion ad.StaticAdResourceOrBuildergetStaticAdResourceOrBuilder()The static ad resource associated with the companion ad.intgetWidthPx()The pixel width of the placement slot for the intended creative.inthashCode()booleanhasHtmlAdResource()The HTML ad resource associated with the companion ad.booleanhasIframeAdResource()The IFrame ad resource associated with the companion ad.booleanhasStaticAdResource()The static ad resource associated with the companion ad.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Companion.BuildernewBuilder()static Companion.BuildernewBuilder(Companion prototype)Companion.BuildernewBuilderForType()protected Companion.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()Companion.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
IFRAME_AD_RESOURCE_FIELD_NUMBER
public static final int IFRAME_AD_RESOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATIC_AD_RESOURCE_FIELD_NUMBER
public static final int STATIC_AD_RESOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HTML_AD_RESOURCE_FIELD_NUMBER
public static final int HTML_AD_RESOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
API_FRAMEWORK_FIELD_NUMBER
public static final int API_FRAMEWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEIGHT_PX_FIELD_NUMBER
public static final int HEIGHT_PX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WIDTH_PX_FIELD_NUMBER
public static final int WIDTH_PX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSET_HEIGHT_PX_FIELD_NUMBER
public static final int ASSET_HEIGHT_PX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPANDED_HEIGHT_PX_FIELD_NUMBER
public static final int EXPANDED_HEIGHT_PX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSET_WIDTH_PX_FIELD_NUMBER
public static final int ASSET_WIDTH_PX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPANDED_WIDTH_PX_FIELD_NUMBER
public static final int EXPANDED_WIDTH_PX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AD_SLOT_ID_FIELD_NUMBER
public static final int AD_SLOT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENTS_FIELD_NUMBER
public static final int EVENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getAdResourceCase
public Companion.AdResourceCase 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
public IframeAdResource 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
public IframeAdResourceOrBuilder 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
public StaticAdResource 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
public StaticAdResourceOrBuilder 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
public HtmlAdResource 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
public HtmlAdResourceOrBuilder 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
public String 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
public String 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
public List<Event> getEventsList()
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;- Specified by:
getEventsListin interfaceCompanionOrBuilder
-
getEventsOrBuilderList
public List<? extends EventOrBuilder> 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
public Event getEvents(int index)
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;- Specified by:
getEventsin interfaceCompanionOrBuilder
-
getEventsOrBuilder
public EventOrBuilder getEventsOrBuilder(int index)
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.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static Companion parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Companion parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Companion parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Companion parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Companion parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Companion parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Companion.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Companion.Builder newBuilder()
-
newBuilder
public static Companion.Builder newBuilder(Companion prototype)
-
toBuilder
public Companion.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Companion.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Companion getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Companion> parser()
-
getParserForType
public com.google.protobuf.Parser<Companion> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Companion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-