Class AdxExt.SourceExt.SupplyChain

  • All Implemented Interfaces:
    AdxExt.SourceExt.SupplyChainOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
    Enclosing class:
    AdxExt.SourceExt

    public static final class AdxExt.SourceExt.SupplyChain
    extends com.google.protobuf.GeneratedMessageV3
    implements AdxExt.SourceExt.SupplyChainOrBuilder
     OpenRTB SupplyChain object. For more information, see
     https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/supplychainobject.md.
     
    Protobuf type com.google.doubleclick.SourceExt.SupplyChain
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.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 class com.google.protobuf.GeneratedMessageV3
      • hasComplete

        public boolean hasComplete()
         Flag indicating whether the chain contains all nodes involved in the
         transaction leading back to the owner of the site, app or other medium
         of the inventory, where 0 = no, 1 = yes.
         
        optional int32 complete = 1;
        Specified by:
        hasComplete in interface AdxExt.SourceExt.SupplyChainOrBuilder
        Returns:
        Whether the complete field is set.
      • getComplete

        public int getComplete()
         Flag indicating whether the chain contains all nodes involved in the
         transaction leading back to the owner of the site, app or other medium
         of the inventory, where 0 = no, 1 = yes.
         
        optional int32 complete = 1;
        Specified by:
        getComplete in interface AdxExt.SourceExt.SupplyChainOrBuilder
        Returns:
        The complete.
      • getNodesList

        public List<AdxExt.SourceExt.SupplyChain.SupplyChainNode> getNodesList()
         Array of SupplyChainNode objects in the order of the chain.
         In a complete supply chain, the first node represents the initial
         advertising system and seller ID involved in the transaction, i.e. the
         owner of the site, app, or other medium. In an incomplete supply chain,
         it represents the first known node. The last node represents the entity
         sending this bid request.
         
        repeated .com.google.doubleclick.SourceExt.SupplyChain.SupplyChainNode nodes = 2;
        Specified by:
        getNodesList in interface AdxExt.SourceExt.SupplyChainOrBuilder
      • getNodesOrBuilderList

        public List<? extends AdxExt.SourceExt.SupplyChain.SupplyChainNodeOrBuilder> getNodesOrBuilderList()
         Array of SupplyChainNode objects in the order of the chain.
         In a complete supply chain, the first node represents the initial
         advertising system and seller ID involved in the transaction, i.e. the
         owner of the site, app, or other medium. In an incomplete supply chain,
         it represents the first known node. The last node represents the entity
         sending this bid request.
         
        repeated .com.google.doubleclick.SourceExt.SupplyChain.SupplyChainNode nodes = 2;
        Specified by:
        getNodesOrBuilderList in interface AdxExt.SourceExt.SupplyChainOrBuilder
      • getNodesCount

        public int getNodesCount()
         Array of SupplyChainNode objects in the order of the chain.
         In a complete supply chain, the first node represents the initial
         advertising system and seller ID involved in the transaction, i.e. the
         owner of the site, app, or other medium. In an incomplete supply chain,
         it represents the first known node. The last node represents the entity
         sending this bid request.
         
        repeated .com.google.doubleclick.SourceExt.SupplyChain.SupplyChainNode nodes = 2;
        Specified by:
        getNodesCount in interface AdxExt.SourceExt.SupplyChainOrBuilder
      • getNodes

        public AdxExt.SourceExt.SupplyChain.SupplyChainNode getNodes​(int index)
         Array of SupplyChainNode objects in the order of the chain.
         In a complete supply chain, the first node represents the initial
         advertising system and seller ID involved in the transaction, i.e. the
         owner of the site, app, or other medium. In an incomplete supply chain,
         it represents the first known node. The last node represents the entity
         sending this bid request.
         
        repeated .com.google.doubleclick.SourceExt.SupplyChain.SupplyChainNode nodes = 2;
        Specified by:
        getNodes in interface AdxExt.SourceExt.SupplyChainOrBuilder
      • getNodesOrBuilder

        public AdxExt.SourceExt.SupplyChain.SupplyChainNodeOrBuilder getNodesOrBuilder​(int index)
         Array of SupplyChainNode objects in the order of the chain.
         In a complete supply chain, the first node represents the initial
         advertising system and seller ID involved in the transaction, i.e. the
         owner of the site, app, or other medium. In an incomplete supply chain,
         it represents the first known node. The last node represents the entity
         sending this bid request.
         
        repeated .com.google.doubleclick.SourceExt.SupplyChain.SupplyChainNode nodes = 2;
        Specified by:
        getNodesOrBuilder in interface AdxExt.SourceExt.SupplyChainOrBuilder
      • hasVer

        public boolean hasVer()
         Version of the supply chain specification in use, in the format of
         "major.minor". For example, for version 1.0 of the spec,
         use the string "1.0".
         
        optional string ver = 3;
        Specified by:
        hasVer in interface AdxExt.SourceExt.SupplyChainOrBuilder
        Returns:
        Whether the ver field is set.
      • getVer

        public String getVer()
         Version of the supply chain specification in use, in the format of
         "major.minor". For example, for version 1.0 of the spec,
         use the string "1.0".
         
        optional string ver = 3;
        Specified by:
        getVer in interface AdxExt.SourceExt.SupplyChainOrBuilder
        Returns:
        The ver.
      • getVerBytes

        public com.google.protobuf.ByteString getVerBytes()
         Version of the supply chain specification in use, in the format of
         "major.minor". For example, for version 1.0 of the spec,
         use the string "1.0".
         
        optional string ver = 3;
        Specified by:
        getVerBytes in interface AdxExt.SourceExt.SupplyChainOrBuilder
        Returns:
        The bytes for ver.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static AdxExt.SourceExt.SupplyChain parseFrom​(ByteBuffer data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AdxExt.SourceExt.SupplyChain parseFrom​(ByteBuffer data,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AdxExt.SourceExt.SupplyChain parseFrom​(com.google.protobuf.ByteString data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AdxExt.SourceExt.SupplyChain parseFrom​(com.google.protobuf.ByteString data,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AdxExt.SourceExt.SupplyChain parseFrom​(byte[] data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AdxExt.SourceExt.SupplyChain parseFrom​(byte[] data,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public AdxExt.SourceExt.SupplyChain.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public AdxExt.SourceExt.SupplyChain.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected AdxExt.SourceExt.SupplyChain.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<AdxExt.SourceExt.SupplyChain> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public AdxExt.SourceExt.SupplyChain getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder