Class GoogleUserIdData (0.20.0)

public final class GoogleUserIdData extends GeneratedMessage implements GoogleUserIdDataOrBuilder

Google user id data holding encrypted google user IDs. At least one google user ID is required.

Protobuf type google.ads.datamanager.v1.GoogleUserIdData

Static Fields

GOOGLE_USER_IDS_FIELD_NUMBER

public static final int GOOGLE_USER_IDS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GoogleUserIdData getDefaultInstance()
Returns
Type Description
GoogleUserIdData

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GoogleUserIdData.Builder newBuilder()
Returns
Type Description
GoogleUserIdData.Builder

newBuilder(GoogleUserIdData prototype)

public static GoogleUserIdData.Builder newBuilder(GoogleUserIdData prototype)
Parameter
Name Description
prototype GoogleUserIdData
Returns
Type Description
GoogleUserIdData.Builder

parseDelimitedFrom(InputStream input)

public static GoogleUserIdData parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GoogleUserIdData
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GoogleUserIdData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleUserIdData
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GoogleUserIdData parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GoogleUserIdData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GoogleUserIdData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleUserIdData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GoogleUserIdData parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GoogleUserIdData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GoogleUserIdData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleUserIdData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GoogleUserIdData parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GoogleUserIdData
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GoogleUserIdData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleUserIdData
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GoogleUserIdData parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GoogleUserIdData
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GoogleUserIdData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleUserIdData
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GoogleUserIdData parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GoogleUserIdData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GoogleUserIdData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleUserIdData
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GoogleUserIdData> parser()
Returns
Type Description
Parser<GoogleUserIdData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GoogleUserIdData getDefaultInstanceForType()
Returns
Type Description
GoogleUserIdData

getGoogleUserIds(int index)

public String getGoogleUserIds(int index)

Required. The list of encrypted google user IDs.

repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The googleUserIds at the given index.

getGoogleUserIdsBytes(int index)

public ByteString getGoogleUserIdsBytes(int index)

Required. The list of encrypted google user IDs.

repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the googleUserIds at the given index.

getGoogleUserIdsCount()

public int getGoogleUserIdsCount()

Required. The list of encrypted google user IDs.

repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of googleUserIds.

getGoogleUserIdsList()

public ProtocolStringList getGoogleUserIdsList()

Required. The list of encrypted google user IDs.

repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the googleUserIds.

getParserForType()

public Parser<GoogleUserIdData> getParserForType()
Returns
Type Description
Parser<GoogleUserIdData>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GoogleUserIdData.Builder newBuilderForType()
Returns
Type Description
GoogleUserIdData.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected GoogleUserIdData.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GoogleUserIdData.Builder
Overrides

toBuilder()

public GoogleUserIdData.Builder toBuilder()
Returns
Type Description
GoogleUserIdData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException