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 class
Companion.AdResourceCase
static class
Companion.Builder
Metadata 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 int
AD_SLOT_ID_FIELD_NUMBER
static int
API_FRAMEWORK_FIELD_NUMBER
static int
ASSET_HEIGHT_PX_FIELD_NUMBER
static int
ASSET_WIDTH_PX_FIELD_NUMBER
static int
EVENTS_FIELD_NUMBER
static int
EXPANDED_HEIGHT_PX_FIELD_NUMBER
static int
EXPANDED_WIDTH_PX_FIELD_NUMBER
static int
HEIGHT_PX_FIELD_NUMBER
static int
HTML_AD_RESOURCE_FIELD_NUMBER
static int
IFRAME_AD_RESOURCE_FIELD_NUMBER
static int
STATIC_AD_RESOURCE_FIELD_NUMBER
static int
WIDTH_PX_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Companion.AdResourceCase
getAdResourceCase()
String
getAdSlotId()
The ID used to identify the desired placement on a publisher's page.com.google.protobuf.ByteString
getAdSlotIdBytes()
The ID used to identify the desired placement on a publisher's page.String
getApiFramework()
The API necessary to communicate with the creative if available.com.google.protobuf.ByteString
getApiFrameworkBytes()
The API necessary to communicate with the creative if available.int
getAssetHeightPx()
The pixel height of the creative.int
getAssetWidthPx()
The pixel width of the creative.static Companion
getDefaultInstance()
Companion
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Event
getEvents(int index)
The list of tracking events for the companion.int
getEventsCount()
The list of tracking events for the companion.List<Event>
getEventsList()
The list of tracking events for the companion.EventOrBuilder
getEventsOrBuilder(int index)
The list of tracking events for the companion.List<? extends EventOrBuilder>
getEventsOrBuilderList()
The list of tracking events for the companion.int
getExpandedHeightPx()
The maximum pixel height of the creative in its expanded state.int
getExpandedWidthPx()
The maximum pixel width of the creative in its expanded state.int
getHeightPx()
The pixel height of the placement slot for the intended creative.HtmlAdResource
getHtmlAdResource()
The HTML ad resource associated with the companion ad.HtmlAdResourceOrBuilder
getHtmlAdResourceOrBuilder()
The HTML ad resource associated with the companion ad.IframeAdResource
getIframeAdResource()
The IFrame ad resource associated with the companion ad.IframeAdResourceOrBuilder
getIframeAdResourceOrBuilder()
The IFrame ad resource associated with the companion ad.com.google.protobuf.Parser<Companion>
getParserForType()
int
getSerializedSize()
StaticAdResource
getStaticAdResource()
The static ad resource associated with the companion ad.StaticAdResourceOrBuilder
getStaticAdResourceOrBuilder()
The static ad resource associated with the companion ad.int
getWidthPx()
The pixel width of the placement slot for the intended creative.int
hashCode()
boolean
hasHtmlAdResource()
The HTML ad resource associated with the companion ad.boolean
hasIframeAdResource()
The IFrame ad resource associated with the companion ad.boolean
hasStaticAdResource()
The static ad resource associated with the companion ad.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Companion.Builder
newBuilder()
static Companion.Builder
newBuilder(Companion prototype)
Companion.Builder
newBuilderForType()
protected Companion.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Companion
parseDelimitedFrom(InputStream input)
static Companion
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Companion
parseFrom(byte[] data)
static Companion
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Companion
parseFrom(com.google.protobuf.ByteString data)
static Companion
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Companion
parseFrom(com.google.protobuf.CodedInputStream input)
static Companion
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Companion
parseFrom(InputStream input)
static Companion
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Companion
parseFrom(ByteBuffer data)
static Companion
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Companion>
parser()
Companion.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getAdResourceCase
public Companion.AdResourceCase getAdResourceCase()
- Specified by:
getAdResourceCase
in 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:
hasIframeAdResource
in 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:
getIframeAdResource
in 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:
getIframeAdResourceOrBuilder
in 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:
hasStaticAdResource
in 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:
getStaticAdResource
in 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:
getStaticAdResourceOrBuilder
in 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:
hasHtmlAdResource
in 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:
getHtmlAdResource
in 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:
getHtmlAdResourceOrBuilder
in interfaceCompanionOrBuilder
-
getApiFramework
public String getApiFramework()
The API necessary to communicate with the creative if available.
string api_framework = 1;
- Specified by:
getApiFramework
in 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:
getApiFrameworkBytes
in 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:
getHeightPx
in 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:
getWidthPx
in interfaceCompanionOrBuilder
- Returns:
- The widthPx.
-
getAssetHeightPx
public int getAssetHeightPx()
The pixel height of the creative.
int32 asset_height_px = 4;
- Specified by:
getAssetHeightPx
in 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:
getExpandedHeightPx
in interfaceCompanionOrBuilder
- Returns:
- The expandedHeightPx.
-
getAssetWidthPx
public int getAssetWidthPx()
The pixel width of the creative.
int32 asset_width_px = 6;
- Specified by:
getAssetWidthPx
in 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:
getExpandedWidthPx
in 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:
getAdSlotId
in 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:
getAdSlotIdBytes
in 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:
getEventsList
in 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:
getEventsOrBuilderList
in interfaceCompanionOrBuilder
-
getEventsCount
public int getEventsCount()
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
- Specified by:
getEventsCount
in 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:
getEvents
in 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:
getEventsOrBuilder
in interfaceCompanionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Companion.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Companion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-