public static final class DisapprovalReason.Builder extends GeneratedMessage.Builder<DisapprovalReason.Builder> implements DisapprovalReasonOrBuilderRepresents the reason for which Google disapproved the Site.
Protobuf type google.ads.admanager.v1.DisapprovalReason
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DisapprovalReason.BuilderImplements
DisapprovalReasonOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DisapprovalReason build()| Returns | |
|---|---|
| Type | Description |
DisapprovalReason |
|
buildPartial()
public DisapprovalReason buildPartial()| Returns | |
|---|---|
| Type | Description |
DisapprovalReason |
|
clear()
public DisapprovalReason.Builder clear()| Returns | |
|---|---|
| Type | Description |
DisapprovalReason.Builder |
|
clearDetails()
public DisapprovalReason.Builder clearDetails()Output only. Additional details for the disapproval of the Site.
optional string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DisapprovalReason.Builder |
This builder for chaining. |
clearType()
public DisapprovalReason.Builder clearType()Output only. The type of policy violation found for the Site.
optional .google.ads.admanager.v1.SiteDisapprovalReasonEnum.SiteDisapprovalReason type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DisapprovalReason.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DisapprovalReason getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DisapprovalReason |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDetails()
public String getDetails()Output only. Additional details for the disapproval of the Site.
optional string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The details. |
getDetailsBytes()
public ByteString getDetailsBytes()Output only. Additional details for the disapproval of the Site.
optional string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for details. |
getType()
public SiteDisapprovalReasonEnum.SiteDisapprovalReason getType()Output only. The type of policy violation found for the Site.
optional .google.ads.admanager.v1.SiteDisapprovalReasonEnum.SiteDisapprovalReason type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SiteDisapprovalReasonEnum.SiteDisapprovalReason |
The type. |
getTypeValue()
public int getTypeValue()Output only. The type of policy violation found for the Site.
optional .google.ads.admanager.v1.SiteDisapprovalReasonEnum.SiteDisapprovalReason type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
hasDetails()
public boolean hasDetails()Output only. Additional details for the disapproval of the Site.
optional string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the details field is set. |
hasType()
public boolean hasType()Output only. The type of policy violation found for the Site.
optional .google.ads.admanager.v1.SiteDisapprovalReasonEnum.SiteDisapprovalReason 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(DisapprovalReason other)
public DisapprovalReason.Builder mergeFrom(DisapprovalReason other)| Parameter | |
|---|---|
| Name | Description |
other |
DisapprovalReason |
| Returns | |
|---|---|
| Type | Description |
DisapprovalReason.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DisapprovalReason.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DisapprovalReason.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DisapprovalReason.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DisapprovalReason.Builder |
|
setDetails(String value)
public DisapprovalReason.Builder setDetails(String value)Output only. Additional details for the disapproval of the Site.
optional string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe details to set. |
| Returns | |
|---|---|
| Type | Description |
DisapprovalReason.Builder |
This builder for chaining. |
setDetailsBytes(ByteString value)
public DisapprovalReason.Builder setDetailsBytes(ByteString value)Output only. Additional details for the disapproval of the Site.
optional string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for details to set. |
| Returns | |
|---|---|
| Type | Description |
DisapprovalReason.Builder |
This builder for chaining. |
setType(SiteDisapprovalReasonEnum.SiteDisapprovalReason value)
public DisapprovalReason.Builder setType(SiteDisapprovalReasonEnum.SiteDisapprovalReason value)Output only. The type of policy violation found for the Site.
optional .google.ads.admanager.v1.SiteDisapprovalReasonEnum.SiteDisapprovalReason type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
SiteDisapprovalReasonEnum.SiteDisapprovalReasonThe type to set. |
| Returns | |
|---|---|
| Type | Description |
DisapprovalReason.Builder |
This builder for chaining. |
setTypeValue(int value)
public DisapprovalReason.Builder setTypeValue(int value)Output only. The type of policy violation found for the Site.
optional .google.ads.admanager.v1.SiteDisapprovalReasonEnum.SiteDisapprovalReason 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 |
DisapprovalReason.Builder |
This builder for chaining. |