Class CompanionAds.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CompanionAds.Builder>
com.google.cloud.video.stitcher.v1.CompanionAds.Builder
- All Implemented Interfaces:
CompanionAdsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CompanionAds
public static final class CompanionAds.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CompanionAds.Builder>
implements CompanionAdsOrBuilder
Metadata for companion ads.Protobuf type
google.cloud.video.stitcher.v1.CompanionAds-
Method Summary
Modifier and TypeMethodDescriptionaddAllCompanions(Iterable<? extends Companion> values) List of companion ads.addCompanions(int index, Companion value) List of companion ads.addCompanions(int index, Companion.Builder builderForValue) List of companion ads.addCompanions(Companion value) List of companion ads.addCompanions(Companion.Builder builderForValue) List of companion ads.List of companion ads.addCompanionsBuilder(int index) List of companion ads.build()clear()List of companion ads.Indicates how many of the companions should be displayed with the ad.getCompanions(int index) List of companion ads.getCompanionsBuilder(int index) List of companion ads.List of companion ads.intList of companion ads.List of companion ads.getCompanionsOrBuilder(int index) List of companion ads.List<? extends CompanionOrBuilder>List of companion ads.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIndicates how many of the companions should be displayed with the ad.intIndicates how many of the companions should be displayed with the ad.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CompanionAds other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeCompanions(int index) List of companion ads.setCompanions(int index, Companion value) List of companion ads.setCompanions(int index, Companion.Builder builderForValue) List of companion ads.Indicates how many of the companions should be displayed with the ad.setDisplayRequirementValue(int value) Indicates how many of the companions should be displayed with the ad.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<CompanionAds.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CompanionAds.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CompanionAds.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CompanionAds.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CompanionAds.Builder>
-
mergeFrom
public CompanionAds.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CompanionAds.Builder>- Throws:
IOException
-
getDisplayRequirementValue
public int getDisplayRequirementValue()Indicates how many of the companions should be displayed with the ad.
.google.cloud.video.stitcher.v1.CompanionAds.DisplayRequirement display_requirement = 1;- Specified by:
getDisplayRequirementValuein interfaceCompanionAdsOrBuilder- Returns:
- The enum numeric value on the wire for displayRequirement.
-
setDisplayRequirementValue
Indicates how many of the companions should be displayed with the ad.
.google.cloud.video.stitcher.v1.CompanionAds.DisplayRequirement display_requirement = 1;- Parameters:
value- The enum numeric value on the wire for displayRequirement to set.- Returns:
- This builder for chaining.
-
getDisplayRequirement
Indicates how many of the companions should be displayed with the ad.
.google.cloud.video.stitcher.v1.CompanionAds.DisplayRequirement display_requirement = 1;- Specified by:
getDisplayRequirementin interfaceCompanionAdsOrBuilder- Returns:
- The displayRequirement.
-
setDisplayRequirement
Indicates how many of the companions should be displayed with the ad.
.google.cloud.video.stitcher.v1.CompanionAds.DisplayRequirement display_requirement = 1;- Parameters:
value- The displayRequirement to set.- Returns:
- This builder for chaining.
-
clearDisplayRequirement
Indicates how many of the companions should be displayed with the ad.
.google.cloud.video.stitcher.v1.CompanionAds.DisplayRequirement display_requirement = 1;- Returns:
- This builder for chaining.
-
getCompanionsList
List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2;- Specified by:
getCompanionsListin interfaceCompanionAdsOrBuilder
-
getCompanionsCount
public int getCompanionsCount()List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2;- Specified by:
getCompanionsCountin interfaceCompanionAdsOrBuilder
-
getCompanions
List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2;- Specified by:
getCompanionsin interfaceCompanionAdsOrBuilder
-
setCompanions
List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2; -
setCompanions
List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2; -
addCompanions
List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2; -
addCompanions
List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2; -
addCompanions
List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2; -
addCompanions
List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2; -
addAllCompanions
List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2; -
clearCompanions
List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2; -
removeCompanions
List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2; -
getCompanionsBuilder
List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2; -
getCompanionsOrBuilder
List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2;- Specified by:
getCompanionsOrBuilderin interfaceCompanionAdsOrBuilder
-
getCompanionsOrBuilderList
List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2;- Specified by:
getCompanionsOrBuilderListin interfaceCompanionAdsOrBuilder
-
addCompanionsBuilder
List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2; -
addCompanionsBuilder
List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2; -
getCompanionsBuilderList
List of companion ads.
repeated .google.cloud.video.stitcher.v1.Companion companions = 2;
-