public static final class DaiSession.Finding.AdBreakFinding.Builder extends GeneratedMessage.Builder<DaiSession.Finding.AdBreakFinding.Builder> implements DaiSession.Finding.AdBreakFindingOrBuilderA finding that occurred while serving ads for a session.
Protobuf type google.ads.admanager.v1.DaiSession.Finding.AdBreakFinding
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DaiSession.Finding.AdBreakFinding.BuilderImplements
DaiSession.Finding.AdBreakFindingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DaiSession.Finding.AdBreakFinding build()| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdBreakFinding |
|
buildPartial()
public DaiSession.Finding.AdBreakFinding buildPartial()| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdBreakFinding |
|
clear()
public DaiSession.Finding.AdBreakFinding.Builder clear()| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdBreakFinding.Builder |
|
clearBreakKey()
public DaiSession.Finding.AdBreakFinding.Builder clearBreakKey()Output only. The ID that links to the relevant ad break.
optional int64 break_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdBreakFinding.Builder |
This builder for chaining. |
clearType()
public DaiSession.Finding.AdBreakFinding.Builder clearType()Output only. The finding's type.
optional .google.ads.admanager.v1.AdBreakFindingTypeEnum.AdBreakFindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdBreakFinding.Builder |
This builder for chaining. |
getBreakKey()
public long getBreakKey()Output only. The ID that links to the relevant ad break.
optional int64 break_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The breakKey. |
getDefaultInstanceForType()
public DaiSession.Finding.AdBreakFinding getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdBreakFinding |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getType()
public AdBreakFindingTypeEnum.AdBreakFindingType getType()Output only. The finding's type.
optional .google.ads.admanager.v1.AdBreakFindingTypeEnum.AdBreakFindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AdBreakFindingTypeEnum.AdBreakFindingType |
The type. |
getTypeValue()
public int getTypeValue()Output only. The finding's type.
optional .google.ads.admanager.v1.AdBreakFindingTypeEnum.AdBreakFindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
hasBreakKey()
public boolean hasBreakKey()Output only. The ID that links to the relevant ad break.
optional int64 break_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the breakKey field is set. |
hasType()
public boolean hasType()Output only. The finding's type.
optional .google.ads.admanager.v1.AdBreakFindingTypeEnum.AdBreakFindingType 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.AdBreakFinding other)
public DaiSession.Finding.AdBreakFinding.Builder mergeFrom(DaiSession.Finding.AdBreakFinding other)| Parameter | |
|---|---|
| Name | Description |
other |
DaiSession.Finding.AdBreakFinding |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdBreakFinding.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DaiSession.Finding.AdBreakFinding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdBreakFinding.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DaiSession.Finding.AdBreakFinding.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdBreakFinding.Builder |
|
setBreakKey(long value)
public DaiSession.Finding.AdBreakFinding.Builder setBreakKey(long value)Output only. The ID that links to the relevant ad break.
optional int64 break_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe breakKey to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdBreakFinding.Builder |
This builder for chaining. |
setType(AdBreakFindingTypeEnum.AdBreakFindingType value)
public DaiSession.Finding.AdBreakFinding.Builder setType(AdBreakFindingTypeEnum.AdBreakFindingType value)Output only. The finding's type.
optional .google.ads.admanager.v1.AdBreakFindingTypeEnum.AdBreakFindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
AdBreakFindingTypeEnum.AdBreakFindingTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.AdBreakFinding.Builder |
This builder for chaining. |
setTypeValue(int value)
public DaiSession.Finding.AdBreakFinding.Builder setTypeValue(int value)Output only. The finding's type.
optional .google.ads.admanager.v1.AdBreakFindingTypeEnum.AdBreakFindingType 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.AdBreakFinding.Builder |
This builder for chaining. |