public static final class DaiIngestError.Builder extends GeneratedMessage.Builder<DaiIngestError.Builder> implements DaiIngestErrorOrBuilder Represents an error associated with a Dynamic Ad Insertion (DAI) Content's
status.
Protobuf type google.ads.admanager.v1.DaiIngestError
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DaiIngestError.BuilderImplements
DaiIngestErrorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DaiIngestError build()| Returns | |
|---|---|
| Type | Description |
DaiIngestError |
|
buildPartial()
public DaiIngestError buildPartial()| Returns | |
|---|---|
| Type | Description |
DaiIngestError |
|
clear()
public DaiIngestError.Builder clear()| Returns | |
|---|---|
| Type | Description |
DaiIngestError.Builder |
|
clearReason()
public DaiIngestError.Builder clearReason()The error associated with the content.
optional .google.ads.admanager.v1.DaiIngestErrorReasonEnum.DaiIngestErrorReason reason = 1;
| Returns | |
|---|---|
| Type | Description |
DaiIngestError.Builder |
This builder for chaining. |
clearTrigger()
public DaiIngestError.Builder clearTrigger()Output only. The field, if any, that triggered the error.
optional string trigger = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiIngestError.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DaiIngestError getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DaiIngestError |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getReason()
public DaiIngestErrorReasonEnum.DaiIngestErrorReason getReason()The error associated with the content.
optional .google.ads.admanager.v1.DaiIngestErrorReasonEnum.DaiIngestErrorReason reason = 1;
| Returns | |
|---|---|
| Type | Description |
DaiIngestErrorReasonEnum.DaiIngestErrorReason |
The reason. |
getReasonValue()
public int getReasonValue()The error associated with the content.
optional .google.ads.admanager.v1.DaiIngestErrorReasonEnum.DaiIngestErrorReason reason = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for reason. |
getTrigger()
public String getTrigger()Output only. The field, if any, that triggered the error.
optional string trigger = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The trigger. |
getTriggerBytes()
public ByteString getTriggerBytes()Output only. The field, if any, that triggered the error.
optional string trigger = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for trigger. |
hasReason()
public boolean hasReason()The error associated with the content.
optional .google.ads.admanager.v1.DaiIngestErrorReasonEnum.DaiIngestErrorReason reason = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reason field is set. |
hasTrigger()
public boolean hasTrigger()Output only. The field, if any, that triggered the error.
optional string trigger = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the trigger field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DaiIngestError other)
public DaiIngestError.Builder mergeFrom(DaiIngestError other)| Parameter | |
|---|---|
| Name | Description |
other |
DaiIngestError |
| Returns | |
|---|---|
| Type | Description |
DaiIngestError.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DaiIngestError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DaiIngestError.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DaiIngestError.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DaiIngestError.Builder |
|
setReason(DaiIngestErrorReasonEnum.DaiIngestErrorReason value)
public DaiIngestError.Builder setReason(DaiIngestErrorReasonEnum.DaiIngestErrorReason value)The error associated with the content.
optional .google.ads.admanager.v1.DaiIngestErrorReasonEnum.DaiIngestErrorReason reason = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
DaiIngestErrorReasonEnum.DaiIngestErrorReasonThe reason to set. |
| Returns | |
|---|---|
| Type | Description |
DaiIngestError.Builder |
This builder for chaining. |
setReasonValue(int value)
public DaiIngestError.Builder setReasonValue(int value)The error associated with the content.
optional .google.ads.admanager.v1.DaiIngestErrorReasonEnum.DaiIngestErrorReason reason = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for reason to set. |
| Returns | |
|---|---|
| Type | Description |
DaiIngestError.Builder |
This builder for chaining. |
setTrigger(String value)
public DaiIngestError.Builder setTrigger(String value)Output only. The field, if any, that triggered the error.
optional string trigger = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe trigger to set. |
| Returns | |
|---|---|
| Type | Description |
DaiIngestError.Builder |
This builder for chaining. |
setTriggerBytes(ByteString value)
public DaiIngestError.Builder setTriggerBytes(ByteString value)Output only. The field, if any, that triggered the error.
optional string trigger = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for trigger to set. |
| Returns | |
|---|---|
| Type | Description |
DaiIngestError.Builder |
This builder for chaining. |