Class RichMediaAdsCompany (0.52.0)

public final class RichMediaAdsCompany extends GeneratedMessage implements RichMediaAdsCompanyOrBuilder

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

Protobuf type google.ads.admanager.v1.RichMediaAdsCompany

Static Fields

COMPANY_GVL_ID_FIELD_NUMBER

public static final int COMPANY_GVL_ID_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

GDPR_STATUS_FIELD_NUMBER

public static final int GDPR_STATUS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

POLICY_URL_FIELD_NUMBER

public static final int POLICY_URL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RichMediaAdsCompany getDefaultInstance()
Returns
Type Description
RichMediaAdsCompany

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RichMediaAdsCompany.Builder newBuilder()
Returns
Type Description
RichMediaAdsCompany.Builder

newBuilder(RichMediaAdsCompany prototype)

public static RichMediaAdsCompany.Builder newBuilder(RichMediaAdsCompany prototype)
Parameter
Name Description
prototype RichMediaAdsCompany
Returns
Type Description
RichMediaAdsCompany.Builder

parseDelimitedFrom(InputStream input)

public static RichMediaAdsCompany parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RichMediaAdsCompany
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RichMediaAdsCompany parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RichMediaAdsCompany
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RichMediaAdsCompany parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RichMediaAdsCompany
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RichMediaAdsCompany parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RichMediaAdsCompany
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RichMediaAdsCompany parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RichMediaAdsCompany
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RichMediaAdsCompany parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RichMediaAdsCompany
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RichMediaAdsCompany parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RichMediaAdsCompany
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RichMediaAdsCompany parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RichMediaAdsCompany
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RichMediaAdsCompany parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RichMediaAdsCompany
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RichMediaAdsCompany parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RichMediaAdsCompany
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RichMediaAdsCompany parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RichMediaAdsCompany
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RichMediaAdsCompany parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RichMediaAdsCompany
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RichMediaAdsCompany> parser()
Returns
Type Description
Parser<RichMediaAdsCompany>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

getParserForType()

public Parser<RichMediaAdsCompany> getParserForType()
Returns
Type Description
Parser<RichMediaAdsCompany>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RichMediaAdsCompany.Builder newBuilderForType()
Returns
Type Description
RichMediaAdsCompany.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected RichMediaAdsCompany.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RichMediaAdsCompany.Builder
Overrides

toBuilder()

public RichMediaAdsCompany.Builder toBuilder()
Returns
Type Description
RichMediaAdsCompany.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException