public static final class OpenRtbProtobuf.Segment.Builder extends com.google.protobuf.GeneratedMessage.Builder<OpenRtbProtobuf.Segment.Builder> implements OpenRtbProtobuf.SegmentOrBuilder
3.3.14 Segment Object The data and segment objects together allow data about the user to be passed to bidders in the bid request. Segment objects convey specific units of information from the provider identified in the parent data object. The segment object itself and all of its parameters are optional, so default values are not provided; if an optional parameter is not specified, it should be considered unknown.Protobuf type
open_rtb.Segment| Modifier and Type | Method and Description |
|---|---|
OpenRtbProtobuf.Segment |
build() |
OpenRtbProtobuf.Segment |
buildPartial() |
OpenRtbProtobuf.Segment.Builder |
clear() |
OpenRtbProtobuf.Segment.Builder |
clearId()
ID of a data provider’s segment applicable to the user.
|
OpenRtbProtobuf.Segment.Builder |
clearName()
Name of a data provider’s segment applicable to the user.
|
OpenRtbProtobuf.Segment.Builder |
clearValue()
String representing the value of the segment.
|
OpenRtbProtobuf.Segment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getId()
ID of a data provider’s segment applicable to the user.
|
com.google.protobuf.ByteString |
getIdBytes()
ID of a data provider’s segment applicable to the user.
|
String |
getName()
Name of a data provider’s segment applicable to the user.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of a data provider’s segment applicable to the user.
|
String |
getValue()
String representing the value of the segment.
|
com.google.protobuf.ByteString |
getValueBytes()
String representing the value of the segment.
|
boolean |
hasId()
ID of a data provider’s segment applicable to the user.
|
boolean |
hasName()
Name of a data provider’s segment applicable to the user.
|
boolean |
hasValue()
String representing the value of the segment.
|
boolean |
isInitialized() |
OpenRtbProtobuf.Segment.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpenRtbProtobuf.Segment.Builder |
mergeFrom(com.google.protobuf.Message other) |
OpenRtbProtobuf.Segment.Builder |
mergeFrom(OpenRtbProtobuf.Segment other) |
OpenRtbProtobuf.Segment.Builder |
setId(String value)
ID of a data provider’s segment applicable to the user.
|
OpenRtbProtobuf.Segment.Builder |
setIdBytes(com.google.protobuf.ByteString value)
ID of a data provider’s segment applicable to the user.
|
OpenRtbProtobuf.Segment.Builder |
setName(String value)
Name of a data provider’s segment applicable to the user.
|
OpenRtbProtobuf.Segment.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of a data provider’s segment applicable to the user.
|
OpenRtbProtobuf.Segment.Builder |
setValue(String value)
String representing the value of the segment.
|
OpenRtbProtobuf.Segment.Builder |
setValueBytes(com.google.protobuf.ByteString value)
String representing the value of the segment.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, mergeUnknownFields, newBuilderForField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public OpenRtbProtobuf.Segment.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<OpenRtbProtobuf.Segment.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<OpenRtbProtobuf.Segment.Builder>public OpenRtbProtobuf.Segment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OpenRtbProtobuf.Segment build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OpenRtbProtobuf.Segment buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OpenRtbProtobuf.Segment.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OpenRtbProtobuf.Segment.Builder>public OpenRtbProtobuf.Segment.Builder mergeFrom(OpenRtbProtobuf.Segment other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<OpenRtbProtobuf.Segment.Builder>public OpenRtbProtobuf.Segment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OpenRtbProtobuf.Segment.Builder>IOExceptionpublic boolean hasId()
ID of a data provider’s segment applicable to the user.
optional string id = 1;hasId in interface OpenRtbProtobuf.SegmentOrBuilderpublic String getId()
ID of a data provider’s segment applicable to the user.
optional string id = 1;getId in interface OpenRtbProtobuf.SegmentOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
ID of a data provider’s segment applicable to the user.
optional string id = 1;getIdBytes in interface OpenRtbProtobuf.SegmentOrBuilderpublic OpenRtbProtobuf.Segment.Builder setId(String value)
ID of a data provider’s segment applicable to the user.
optional string id = 1;public OpenRtbProtobuf.Segment.Builder clearId()
ID of a data provider’s segment applicable to the user.
optional string id = 1;public OpenRtbProtobuf.Segment.Builder setIdBytes(com.google.protobuf.ByteString value)
ID of a data provider’s segment applicable to the user.
optional string id = 1;public boolean hasName()
Name of a data provider’s segment applicable to the user.
optional string name = 2;hasName in interface OpenRtbProtobuf.SegmentOrBuilderpublic String getName()
Name of a data provider’s segment applicable to the user.
optional string name = 2;getName in interface OpenRtbProtobuf.SegmentOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of a data provider’s segment applicable to the user.
optional string name = 2;getNameBytes in interface OpenRtbProtobuf.SegmentOrBuilderpublic OpenRtbProtobuf.Segment.Builder setName(String value)
Name of a data provider’s segment applicable to the user.
optional string name = 2;public OpenRtbProtobuf.Segment.Builder clearName()
Name of a data provider’s segment applicable to the user.
optional string name = 2;public OpenRtbProtobuf.Segment.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of a data provider’s segment applicable to the user.
optional string name = 2;public boolean hasValue()
String representing the value of the segment. The method for transmitting this data should be negotiated offline with the data provider. For example for gender, “male”, or “female”, for age, “30-40”).
optional string value = 3;hasValue in interface OpenRtbProtobuf.SegmentOrBuilderpublic String getValue()
String representing the value of the segment. The method for transmitting this data should be negotiated offline with the data provider. For example for gender, “male”, or “female”, for age, “30-40”).
optional string value = 3;getValue in interface OpenRtbProtobuf.SegmentOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
String representing the value of the segment. The method for transmitting this data should be negotiated offline with the data provider. For example for gender, “male”, or “female”, for age, “30-40”).
optional string value = 3;getValueBytes in interface OpenRtbProtobuf.SegmentOrBuilderpublic OpenRtbProtobuf.Segment.Builder setValue(String value)
String representing the value of the segment. The method for transmitting this data should be negotiated offline with the data provider. For example for gender, “male”, or “female”, for age, “30-40”).
optional string value = 3;public OpenRtbProtobuf.Segment.Builder clearValue()
String representing the value of the segment. The method for transmitting this data should be negotiated offline with the data provider. For example for gender, “male”, or “female”, for age, “30-40”).
optional string value = 3;public OpenRtbProtobuf.Segment.Builder setValueBytes(com.google.protobuf.ByteString value)
String representing the value of the segment. The method for transmitting this data should be negotiated offline with the data provider. For example for gender, “male”, or “female”, for age, “30-40”).
optional string value = 3;Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.