public static final class OpenRtbProtobuf.Segment extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
OpenRtbProtobuf.Segment.Builder
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.
|
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ID_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<OpenRtbProtobuf.Segment> |
PARSER
Deprecated.
|
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static OpenRtbProtobuf.Segment |
getDefaultInstance() |
OpenRtbProtobuf.Segment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<OpenRtbProtobuf.Segment> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getValue()
String representing the value of the segment.
|
com.google.protobuf.ByteString |
getValueBytes()
String representing the value of the segment.
|
int |
hashCode() |
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() |
static OpenRtbProtobuf.Segment.Builder |
newBuilder() |
static OpenRtbProtobuf.Segment.Builder |
newBuilder(OpenRtbProtobuf.Segment prototype) |
OpenRtbProtobuf.Segment.Builder |
newBuilderForType() |
static OpenRtbProtobuf.Segment |
parseDelimitedFrom(InputStream input) |
static OpenRtbProtobuf.Segment |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OpenRtbProtobuf.Segment |
parseFrom(byte[] data) |
static OpenRtbProtobuf.Segment |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OpenRtbProtobuf.Segment |
parseFrom(com.google.protobuf.ByteString data) |
static OpenRtbProtobuf.Segment |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OpenRtbProtobuf.Segment |
parseFrom(com.google.protobuf.CodedInputStream input) |
static OpenRtbProtobuf.Segment |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OpenRtbProtobuf.Segment |
parseFrom(InputStream input) |
static OpenRtbProtobuf.Segment |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<OpenRtbProtobuf.Segment> |
parser() |
OpenRtbProtobuf.Segment.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int ID_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<OpenRtbProtobuf.Segment> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static OpenRtbProtobuf.Segment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OpenRtbProtobuf.Segment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OpenRtbProtobuf.Segment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OpenRtbProtobuf.Segment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OpenRtbProtobuf.Segment parseFrom(InputStream input) throws IOException
IOExceptionpublic static OpenRtbProtobuf.Segment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OpenRtbProtobuf.Segment parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OpenRtbProtobuf.Segment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OpenRtbProtobuf.Segment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static OpenRtbProtobuf.Segment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OpenRtbProtobuf.Segment.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static OpenRtbProtobuf.Segment.Builder newBuilder()
public static OpenRtbProtobuf.Segment.Builder newBuilder(OpenRtbProtobuf.Segment prototype)
public OpenRtbProtobuf.Segment.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLitepublic static OpenRtbProtobuf.Segment getDefaultInstance()
public static com.google.protobuf.Parser<OpenRtbProtobuf.Segment> parser()
public com.google.protobuf.Parser<OpenRtbProtobuf.Segment> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public OpenRtbProtobuf.Segment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.