Package ai.promoted.proto.event
Class CohortMembership
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- ai.promoted.proto.event.CohortMembership
-
- All Implemented Interfaces:
CohortMembershipOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class CohortMembership extends com.google.protobuf.GeneratedMessageV3 implements CohortMembershipOrBuilder
Protobuf typeevent.CohortMembership- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCohortMembership.BuilderProtobuf typeevent.CohortMembership-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, 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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intARM_FIELD_NUMBERstatic intCLIENT_INFO_FIELD_NUMBERstatic intCOHORT_ID_FIELD_NUMBERstatic intMEMBERSHIP_ID_FIELD_NUMBERstatic intPLATFORM_ID_FIELD_NUMBERstatic intPROPERTIES_FIELD_NUMBERstatic intTIMING_FIELD_NUMBERstatic intUSER_INFO_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)CohortArmgetArm().event.CohortArm arm = 9 [json_name = "arm"];intgetArmValue().event.CohortArm arm = 9 [json_name = "arm"];ClientInfogetClientInfo().common.ClientInfo client_info = 4 [json_name = "clientInfo"];ClientInfoOrBuildergetClientInfoOrBuilder().common.ClientInfo client_info = 4 [json_name = "clientInfo"];StringgetCohortId()string cohort_id = 8 [json_name = "cohortId"];com.google.protobuf.ByteStringgetCohortIdBytes()string cohort_id = 8 [json_name = "cohortId"];static CohortMembershipgetDefaultInstance()CohortMembershipgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetMembershipId()string membership_id = 6 [json_name = "membershipId"];com.google.protobuf.ByteStringgetMembershipIdBytes()string membership_id = 6 [json_name = "membershipId"];com.google.protobuf.Parser<CohortMembership>getParserForType()longgetPlatformId()uint64 platform_id = 1 [json_name = "platformId"];PropertiesgetProperties().common.Properties properties = 10 [json_name = "properties"];PropertiesOrBuildergetPropertiesOrBuilder().common.Properties properties = 10 [json_name = "properties"];intgetSerializedSize()TiminggetTiming().common.Timing timing = 3 [json_name = "timing"];TimingOrBuildergetTimingOrBuilder().common.Timing timing = 3 [json_name = "timing"];com.google.protobuf.UnknownFieldSetgetUnknownFields()UserInfogetUserInfo().common.UserInfo user_info = 2 [json_name = "userInfo"];UserInfoOrBuildergetUserInfoOrBuilder().common.UserInfo user_info = 2 [json_name = "userInfo"];booleanhasClientInfo().common.ClientInfo client_info = 4 [json_name = "clientInfo"];inthashCode()booleanhasProperties().common.Properties properties = 10 [json_name = "properties"];booleanhasTiming().common.Timing timing = 3 [json_name = "timing"];booleanhasUserInfo().common.UserInfo user_info = 2 [json_name = "userInfo"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CohortMembership.BuildernewBuilder()static CohortMembership.BuildernewBuilder(CohortMembership prototype)CohortMembership.BuildernewBuilderForType()protected CohortMembership.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static CohortMembershipparseDelimitedFrom(InputStream input)static CohortMembershipparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CohortMembershipparseFrom(byte[] data)static CohortMembershipparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CohortMembershipparseFrom(com.google.protobuf.ByteString data)static CohortMembershipparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CohortMembershipparseFrom(com.google.protobuf.CodedInputStream input)static CohortMembershipparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CohortMembershipparseFrom(InputStream input)static CohortMembershipparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CohortMembershipparseFrom(ByteBuffer data)static CohortMembershipparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CohortMembership>parser()CohortMembership.BuildertoBuilder()voidwriteTo(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, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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
-
PLATFORM_ID_FIELD_NUMBER
public static final int PLATFORM_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_INFO_FIELD_NUMBER
public static final int USER_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMING_FIELD_NUMBER
public static final int TIMING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLIENT_INFO_FIELD_NUMBER
public static final int CLIENT_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEMBERSHIP_ID_FIELD_NUMBER
public static final int MEMBERSHIP_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COHORT_ID_FIELD_NUMBER
public static final int COHORT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARM_FIELD_NUMBER
public static final int ARM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getPlatformId
public long getPlatformId()
uint64 platform_id = 1 [json_name = "platformId"];- Specified by:
getPlatformIdin interfaceCohortMembershipOrBuilder- Returns:
- The platformId.
-
hasUserInfo
public boolean hasUserInfo()
.common.UserInfo user_info = 2 [json_name = "userInfo"];- Specified by:
hasUserInfoin interfaceCohortMembershipOrBuilder- Returns:
- Whether the userInfo field is set.
-
getUserInfo
public UserInfo getUserInfo()
.common.UserInfo user_info = 2 [json_name = "userInfo"];- Specified by:
getUserInfoin interfaceCohortMembershipOrBuilder- Returns:
- The userInfo.
-
getUserInfoOrBuilder
public UserInfoOrBuilder getUserInfoOrBuilder()
.common.UserInfo user_info = 2 [json_name = "userInfo"];- Specified by:
getUserInfoOrBuilderin interfaceCohortMembershipOrBuilder
-
hasTiming
public boolean hasTiming()
.common.Timing timing = 3 [json_name = "timing"];- Specified by:
hasTimingin interfaceCohortMembershipOrBuilder- Returns:
- Whether the timing field is set.
-
getTiming
public Timing getTiming()
.common.Timing timing = 3 [json_name = "timing"];- Specified by:
getTimingin interfaceCohortMembershipOrBuilder- Returns:
- The timing.
-
getTimingOrBuilder
public TimingOrBuilder getTimingOrBuilder()
.common.Timing timing = 3 [json_name = "timing"];- Specified by:
getTimingOrBuilderin interfaceCohortMembershipOrBuilder
-
hasClientInfo
public boolean hasClientInfo()
.common.ClientInfo client_info = 4 [json_name = "clientInfo"];- Specified by:
hasClientInfoin interfaceCohortMembershipOrBuilder- Returns:
- Whether the clientInfo field is set.
-
getClientInfo
public ClientInfo getClientInfo()
.common.ClientInfo client_info = 4 [json_name = "clientInfo"];- Specified by:
getClientInfoin interfaceCohortMembershipOrBuilder- Returns:
- The clientInfo.
-
getClientInfoOrBuilder
public ClientInfoOrBuilder getClientInfoOrBuilder()
.common.ClientInfo client_info = 4 [json_name = "clientInfo"];- Specified by:
getClientInfoOrBuilderin interfaceCohortMembershipOrBuilder
-
getMembershipId
public String getMembershipId()
string membership_id = 6 [json_name = "membershipId"];- Specified by:
getMembershipIdin interfaceCohortMembershipOrBuilder- Returns:
- The membershipId.
-
getMembershipIdBytes
public com.google.protobuf.ByteString getMembershipIdBytes()
string membership_id = 6 [json_name = "membershipId"];- Specified by:
getMembershipIdBytesin interfaceCohortMembershipOrBuilder- Returns:
- The bytes for membershipId.
-
getCohortId
public String getCohortId()
string cohort_id = 8 [json_name = "cohortId"];- Specified by:
getCohortIdin interfaceCohortMembershipOrBuilder- Returns:
- The cohortId.
-
getCohortIdBytes
public com.google.protobuf.ByteString getCohortIdBytes()
string cohort_id = 8 [json_name = "cohortId"];- Specified by:
getCohortIdBytesin interfaceCohortMembershipOrBuilder- Returns:
- The bytes for cohortId.
-
getArmValue
public int getArmValue()
.event.CohortArm arm = 9 [json_name = "arm"];- Specified by:
getArmValuein interfaceCohortMembershipOrBuilder- Returns:
- The enum numeric value on the wire for arm.
-
getArm
public CohortArm getArm()
.event.CohortArm arm = 9 [json_name = "arm"];- Specified by:
getArmin interfaceCohortMembershipOrBuilder- Returns:
- The arm.
-
hasProperties
public boolean hasProperties()
.common.Properties properties = 10 [json_name = "properties"];- Specified by:
hasPropertiesin interfaceCohortMembershipOrBuilder- Returns:
- Whether the properties field is set.
-
getProperties
public Properties getProperties()
.common.Properties properties = 10 [json_name = "properties"];- Specified by:
getPropertiesin interfaceCohortMembershipOrBuilder- Returns:
- The properties.
-
getPropertiesOrBuilder
public PropertiesOrBuilder getPropertiesOrBuilder()
.common.Properties properties = 10 [json_name = "properties"];- Specified by:
getPropertiesOrBuilderin interfaceCohortMembershipOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CohortMembership parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CohortMembership parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CohortMembership parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CohortMembership parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CohortMembership parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CohortMembership parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CohortMembership parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CohortMembership parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CohortMembership parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CohortMembership parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CohortMembership parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CohortMembership parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CohortMembership.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CohortMembership.Builder newBuilder()
-
newBuilder
public static CohortMembership.Builder newBuilder(CohortMembership prototype)
-
toBuilder
public CohortMembership.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CohortMembership.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CohortMembership getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CohortMembership> parser()
-
getParserForType
public com.google.protobuf.Parser<CohortMembership> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CohortMembership getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-