public static final class RichMediaAdsCompany.Builder extends GeneratedMessage.Builder<RichMediaAdsCompany.Builder> implements RichMediaAdsCompanyOrBuilderRepresents a Rich Media Ads Company, typically used for vendor compliance.
Protobuf type google.ads.admanager.v1.RichMediaAdsCompany
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RichMediaAdsCompany.BuilderImplements
RichMediaAdsCompanyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RichMediaAdsCompany build()| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany |
|
buildPartial()
public RichMediaAdsCompany buildPartial()| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany |
|
clear()
public RichMediaAdsCompany.Builder clear()| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
|
clearCompanyGvlId()
public RichMediaAdsCompany.Builder clearCompanyGvlId()Output only. The GVL ID of the Rich Media Ads Company.
optional int64 company_gvl_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
This builder for chaining. |
clearDisplayName()
public RichMediaAdsCompany.Builder clearDisplayName()Output only. The name of the Rich Media Ads Company.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
This builder for chaining. |
clearGdprStatus()
public RichMediaAdsCompany.Builder clearGdprStatus()Output only. The GDPR status of the Rich Media Ads Company.
optional .google.ads.admanager.v1.RichMediaAdsCompanyGdprStatusEnum.RichMediaAdsCompanyGdprStatus gdpr_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
This builder for chaining. |
clearName()
public RichMediaAdsCompany.Builder clearName() Identifier. The resource name of the RichMediaAdsCompany.
Format:
networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
This builder for chaining. |
clearPolicyUrl()
public RichMediaAdsCompany.Builder clearPolicyUrl()Output only. The policy URL of the Rich Media Ads Company.
optional string policy_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
This builder for chaining. |
getCompanyGvlId()
public long getCompanyGvlId()Output only. The GVL ID of the Rich Media Ads Company.
optional int64 company_gvl_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The companyGvlId. |
getDefaultInstanceForType()
public RichMediaAdsCompany getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Output only. The name of the Rich Media Ads Company.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Output only. The name of the Rich Media Ads Company.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getGdprStatus()
public RichMediaAdsCompanyGdprStatusEnum.RichMediaAdsCompanyGdprStatus getGdprStatus()Output only. The GDPR status of the Rich Media Ads Company.
optional .google.ads.admanager.v1.RichMediaAdsCompanyGdprStatusEnum.RichMediaAdsCompanyGdprStatus gdpr_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompanyGdprStatusEnum.RichMediaAdsCompanyGdprStatus |
The gdprStatus. |
getGdprStatusValue()
public int getGdprStatusValue()Output only. The GDPR status of the Rich Media Ads Company.
optional .google.ads.admanager.v1.RichMediaAdsCompanyGdprStatusEnum.RichMediaAdsCompanyGdprStatus gdpr_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for gdprStatus. |
getName()
public String getName() Identifier. The resource name of the RichMediaAdsCompany.
Format:
networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The resource name of the RichMediaAdsCompany.
Format:
networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPolicyUrl()
public String getPolicyUrl()Output only. The policy URL of the Rich Media Ads Company.
optional string policy_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The policyUrl. |
getPolicyUrlBytes()
public ByteString getPolicyUrlBytes()Output only. The policy URL of the Rich Media Ads Company.
optional string policy_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for policyUrl. |
hasCompanyGvlId()
public boolean hasCompanyGvlId()Output only. The GVL ID of the Rich Media Ads Company.
optional int64 company_gvl_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the companyGvlId field is set. |
hasDisplayName()
public boolean hasDisplayName()Output only. The name of the Rich Media Ads Company.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayName field is set. |
hasGdprStatus()
public boolean hasGdprStatus()Output only. The GDPR status of the Rich Media Ads Company.
optional .google.ads.admanager.v1.RichMediaAdsCompanyGdprStatusEnum.RichMediaAdsCompanyGdprStatus gdpr_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gdprStatus field is set. |
hasPolicyUrl()
public boolean hasPolicyUrl()Output only. The policy URL of the Rich Media Ads Company.
optional string policy_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the policyUrl field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RichMediaAdsCompany other)
public RichMediaAdsCompany.Builder mergeFrom(RichMediaAdsCompany other)| Parameter | |
|---|---|
| Name | Description |
other |
RichMediaAdsCompany |
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RichMediaAdsCompany.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RichMediaAdsCompany.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
|
setCompanyGvlId(long value)
public RichMediaAdsCompany.Builder setCompanyGvlId(long value)Output only. The GVL ID of the Rich Media Ads Company.
optional int64 company_gvl_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe companyGvlId to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
This builder for chaining. |
setDisplayName(String value)
public RichMediaAdsCompany.Builder setDisplayName(String value)Output only. The name of the Rich Media Ads Company.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public RichMediaAdsCompany.Builder setDisplayNameBytes(ByteString value)Output only. The name of the Rich Media Ads Company.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
This builder for chaining. |
setGdprStatus(RichMediaAdsCompanyGdprStatusEnum.RichMediaAdsCompanyGdprStatus value)
public RichMediaAdsCompany.Builder setGdprStatus(RichMediaAdsCompanyGdprStatusEnum.RichMediaAdsCompanyGdprStatus value)Output only. The GDPR status of the Rich Media Ads Company.
optional .google.ads.admanager.v1.RichMediaAdsCompanyGdprStatusEnum.RichMediaAdsCompanyGdprStatus gdpr_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
RichMediaAdsCompanyGdprStatusEnum.RichMediaAdsCompanyGdprStatusThe gdprStatus to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
This builder for chaining. |
setGdprStatusValue(int value)
public RichMediaAdsCompany.Builder setGdprStatusValue(int value)Output only. The GDPR status of the Rich Media Ads Company.
optional .google.ads.admanager.v1.RichMediaAdsCompanyGdprStatusEnum.RichMediaAdsCompanyGdprStatus gdpr_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for gdprStatus to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
This builder for chaining. |
setName(String value)
public RichMediaAdsCompany.Builder setName(String value) Identifier. The resource name of the RichMediaAdsCompany.
Format:
networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public RichMediaAdsCompany.Builder setNameBytes(ByteString value) Identifier. The resource name of the RichMediaAdsCompany.
Format:
networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
This builder for chaining. |
setPolicyUrl(String value)
public RichMediaAdsCompany.Builder setPolicyUrl(String value)Output only. The policy URL of the Rich Media Ads Company.
optional string policy_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe policyUrl to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
This builder for chaining. |
setPolicyUrlBytes(ByteString value)
public RichMediaAdsCompany.Builder setPolicyUrlBytes(ByteString value)Output only. The policy URL of the Rich Media Ads Company.
optional string policy_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for policyUrl to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaAdsCompany.Builder |
This builder for chaining. |