public static final class DaiSession.Finding.AdRequestFinding.Builder extends GeneratedMessage.Builder<DaiSession.Finding.AdRequestFinding.Builder> implements DaiSession.Finding.AdRequestFindingOrBuilderA finding that occurred while making an ad request.
Protobuf type google.ads.admanager.v1.DaiSession.Finding.AdRequestFinding
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DaiSession.Finding.AdRequestFinding.BuilderImplements
DaiSession.Finding.AdRequestFindingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DaiSession.Finding.AdRequestFinding build()| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdRequestFinding |
|
buildPartial()
public DaiSession.Finding.AdRequestFinding buildPartial()| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdRequestFinding |
|
clear()
public DaiSession.Finding.AdRequestFinding.Builder clear()| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdRequestFinding.Builder |
|
clearAdRequestKey()
public DaiSession.Finding.AdRequestFinding.Builder clearAdRequestKey()Output only. The ID that links to the relevant ad request.
optional int64 ad_request_key = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdRequestFinding.Builder |
This builder for chaining. |
clearAdSelectionKey()
public DaiSession.Finding.AdRequestFinding.Builder clearAdSelectionKey()Output only. The ID that links to the relevant ad selection.
optional int64 ad_selection_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdRequestFinding.Builder |
This builder for chaining. |
clearType()
public DaiSession.Finding.AdRequestFinding.Builder clearType()Output only. The finding's type.
optional .google.ads.admanager.v1.AdRequestFindingTypeEnum.AdRequestFindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdRequestFinding.Builder |
This builder for chaining. |
getAdRequestKey()
public long getAdRequestKey()Output only. The ID that links to the relevant ad request.
optional int64 ad_request_key = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The adRequestKey. |
getAdSelectionKey()
public long getAdSelectionKey()Output only. The ID that links to the relevant ad selection.
optional int64 ad_selection_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The adSelectionKey. |
getDefaultInstanceForType()
public DaiSession.Finding.AdRequestFinding getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdRequestFinding |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getType()
public AdRequestFindingTypeEnum.AdRequestFindingType getType()Output only. The finding's type.
optional .google.ads.admanager.v1.AdRequestFindingTypeEnum.AdRequestFindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AdRequestFindingTypeEnum.AdRequestFindingType |
The type. |
getTypeValue()
public int getTypeValue()Output only. The finding's type.
optional .google.ads.admanager.v1.AdRequestFindingTypeEnum.AdRequestFindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
hasAdRequestKey()
public boolean hasAdRequestKey()Output only. The ID that links to the relevant ad request.
optional int64 ad_request_key = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the adRequestKey field is set. |
hasAdSelectionKey()
public boolean hasAdSelectionKey()Output only. The ID that links to the relevant ad selection.
optional int64 ad_selection_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the adSelectionKey field is set. |
hasType()
public boolean hasType()Output only. The finding's type.
optional .google.ads.admanager.v1.AdRequestFindingTypeEnum.AdRequestFindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the type field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DaiSession.Finding.AdRequestFinding other)
public DaiSession.Finding.AdRequestFinding.Builder mergeFrom(DaiSession.Finding.AdRequestFinding other)| Parameter | |
|---|---|
| Name | Description |
other |
DaiSession.Finding.AdRequestFinding |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdRequestFinding.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DaiSession.Finding.AdRequestFinding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdRequestFinding.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DaiSession.Finding.AdRequestFinding.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdRequestFinding.Builder |
|
setAdRequestKey(long value)
public DaiSession.Finding.AdRequestFinding.Builder setAdRequestKey(long value)Output only. The ID that links to the relevant ad request.
optional int64 ad_request_key = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe adRequestKey to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdRequestFinding.Builder |
This builder for chaining. |
setAdSelectionKey(long value)
public DaiSession.Finding.AdRequestFinding.Builder setAdSelectionKey(long value)Output only. The ID that links to the relevant ad selection.
optional int64 ad_selection_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe adSelectionKey to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdRequestFinding.Builder |
This builder for chaining. |
setType(AdRequestFindingTypeEnum.AdRequestFindingType value)
public DaiSession.Finding.AdRequestFinding.Builder setType(AdRequestFindingTypeEnum.AdRequestFindingType value)Output only. The finding's type.
optional .google.ads.admanager.v1.AdRequestFindingTypeEnum.AdRequestFindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
AdRequestFindingTypeEnum.AdRequestFindingTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdRequestFinding.Builder |
This builder for chaining. |
setTypeValue(int value)
public DaiSession.Finding.AdRequestFinding.Builder setTypeValue(int value)Output only. The finding's type.
optional .google.ads.admanager.v1.AdRequestFindingTypeEnum.AdRequestFindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdRequestFinding.Builder |
This builder for chaining. |