public static final class MobileIdInfo.Builder extends GeneratedMessage.Builder<MobileIdInfo.Builder> implements MobileIdInfoOrBuilder Additional information when MOBILE_ID is one of the upload_key_types.
Protobuf type google.ads.datamanager.v1.MobileIdInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MobileIdInfo.BuilderImplements
MobileIdInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MobileIdInfo build()| Returns | |
|---|---|
| Type | Description |
MobileIdInfo |
|
buildPartial()
public MobileIdInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
MobileIdInfo |
|
clear()
public MobileIdInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
MobileIdInfo.Builder |
|
clearAppId()
public MobileIdInfo.Builder clearAppId()Required. Immutable. A string that uniquely identifies a mobile application from which the data was collected.
optional string app_id = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
MobileIdInfo.Builder |
This builder for chaining. |
clearDataSourceType()
public MobileIdInfo.Builder clearDataSourceType()Optional. Immutable. Source of the upload data.
optional .google.ads.datamanager.v1.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
MobileIdInfo.Builder |
This builder for chaining. |
clearKeySpace()
public MobileIdInfo.Builder clearKeySpace()Required. Immutable. The key space of mobile IDs.
optional .google.ads.datamanager.v1.MobileIdInfo.KeySpace key_space = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
MobileIdInfo.Builder |
This builder for chaining. |
getAppId()
public String getAppId()Required. Immutable. A string that uniquely identifies a mobile application from which the data was collected.
optional string app_id = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The appId. |
getAppIdBytes()
public ByteString getAppIdBytes()Required. Immutable. A string that uniquely identifies a mobile application from which the data was collected.
optional string app_id = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for appId. |
getDataSourceType()
public DataSourceType getDataSourceType()Optional. Immutable. Source of the upload data.
optional .google.ads.datamanager.v1.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
DataSourceType |
The dataSourceType. |
getDataSourceTypeValue()
public int getDataSourceTypeValue()Optional. Immutable. Source of the upload data.
optional .google.ads.datamanager.v1.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for dataSourceType. |
getDefaultInstanceForType()
public MobileIdInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MobileIdInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKeySpace()
public MobileIdInfo.KeySpace getKeySpace()Required. Immutable. The key space of mobile IDs.
optional .google.ads.datamanager.v1.MobileIdInfo.KeySpace key_space = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
MobileIdInfo.KeySpace |
The keySpace. |
getKeySpaceValue()
public int getKeySpaceValue()Required. Immutable. The key space of mobile IDs.
optional .google.ads.datamanager.v1.MobileIdInfo.KeySpace key_space = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for keySpace. |
hasAppId()
public boolean hasAppId()Required. Immutable. A string that uniquely identifies a mobile application from which the data was collected.
optional string app_id = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the appId field is set. |
hasDataSourceType()
public boolean hasDataSourceType()Optional. Immutable. Source of the upload data.
optional .google.ads.datamanager.v1.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dataSourceType field is set. |
hasKeySpace()
public boolean hasKeySpace()Required. Immutable. The key space of mobile IDs.
optional .google.ads.datamanager.v1.MobileIdInfo.KeySpace key_space = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the keySpace field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MobileIdInfo other)
public MobileIdInfo.Builder mergeFrom(MobileIdInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
MobileIdInfo |
| Returns | |
|---|---|
| Type | Description |
MobileIdInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MobileIdInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MobileIdInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MobileIdInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MobileIdInfo.Builder |
|
setAppId(String value)
public MobileIdInfo.Builder setAppId(String value)Required. Immutable. A string that uniquely identifies a mobile application from which the data was collected.
optional string app_id = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe appId to set. |
| Returns | |
|---|---|
| Type | Description |
MobileIdInfo.Builder |
This builder for chaining. |
setAppIdBytes(ByteString value)
public MobileIdInfo.Builder setAppIdBytes(ByteString value)Required. Immutable. A string that uniquely identifies a mobile application from which the data was collected.
optional string app_id = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for appId to set. |
| Returns | |
|---|---|
| Type | Description |
MobileIdInfo.Builder |
This builder for chaining. |
setDataSourceType(DataSourceType value)
public MobileIdInfo.Builder setDataSourceType(DataSourceType value)Optional. Immutable. Source of the upload data.
optional .google.ads.datamanager.v1.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
DataSourceTypeThe dataSourceType to set. |
| Returns | |
|---|---|
| Type | Description |
MobileIdInfo.Builder |
This builder for chaining. |
setDataSourceTypeValue(int value)
public MobileIdInfo.Builder setDataSourceTypeValue(int value)Optional. Immutable. Source of the upload data.
optional .google.ads.datamanager.v1.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for dataSourceType to set. |
| Returns | |
|---|---|
| Type | Description |
MobileIdInfo.Builder |
This builder for chaining. |
setKeySpace(MobileIdInfo.KeySpace value)
public MobileIdInfo.Builder setKeySpace(MobileIdInfo.KeySpace value)Required. Immutable. The key space of mobile IDs.
optional .google.ads.datamanager.v1.MobileIdInfo.KeySpace key_space = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
MobileIdInfo.KeySpaceThe keySpace to set. |
| Returns | |
|---|---|
| Type | Description |
MobileIdInfo.Builder |
This builder for chaining. |
setKeySpaceValue(int value)
public MobileIdInfo.Builder setKeySpaceValue(int value)Required. Immutable. The key space of mobile IDs.
optional .google.ads.datamanager.v1.MobileIdInfo.KeySpace key_space = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for keySpace to set. |
| Returns | |
|---|---|
| Type | Description |
MobileIdInfo.Builder |
This builder for chaining. |