Class RichMediaAdsCompany.Builder (0.52.0)

public static final class RichMediaAdsCompany.Builder extends GeneratedMessage.Builder<RichMediaAdsCompany.Builder> implements RichMediaAdsCompanyOrBuilder

Represents a Rich Media Ads Company, typically used for vendor compliance.

Protobuf type google.ads.admanager.v1.RichMediaAdsCompany

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RichMediaAdsCompany.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RichMediaAdsCompany.Builder
Overrides

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 long

The 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 String

The 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 ByteString

The 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.RichMediaAdsCompanyGdprStatus

The 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 int

The 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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for policyUrl to set.

Returns
Type Description
RichMediaAdsCompany.Builder

This builder for chaining.