Class ViewabilityProvider.Builder (0.58.0)

public static final class ViewabilityProvider.Builder extends GeneratedMessage.Builder<ViewabilityProvider.Builder> implements ViewabilityProviderOrBuilder

The ViewabilityProvider resource.

Represents a third-party company used to measure creative viewability.

Protobuf type google.ads.admanager.v1.ViewabilityProvider

Static Methods

getDescriptor()

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

Methods

addAllAppliedTeams(Iterable<String> values)

public ViewabilityProvider.Builder addAllAppliedTeams(Iterable<String> values)

Optional. The resource names of Teams that are directly associated with the ViewabilityProvider. Format: "networks/{network_code}/teams/{team_id}"

repeated string applied_teams = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
values Iterable<String>

The appliedTeams to add.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

addAppliedTeams(String value)

public ViewabilityProvider.Builder addAppliedTeams(String value)

Optional. The resource names of Teams that are directly associated with the ViewabilityProvider. Format: "networks/{network_code}/teams/{team_id}"

repeated string applied_teams = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The appliedTeams to add.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

addAppliedTeamsBytes(ByteString value)

public ViewabilityProvider.Builder addAppliedTeamsBytes(ByteString value)

Optional. The resource names of Teams that are directly associated with the ViewabilityProvider. Format: "networks/{network_code}/teams/{team_id}"

repeated string applied_teams = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes of the appliedTeams to add.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

build()

public ViewabilityProvider build()
Returns
Type Description
ViewabilityProvider

buildPartial()

public ViewabilityProvider buildPartial()
Returns
Type Description
ViewabilityProvider

clear()

public ViewabilityProvider.Builder clear()
Returns
Type Description
ViewabilityProvider.Builder
Overrides

clearAddress()

public ViewabilityProvider.Builder clearAddress()

Optional. The address of the ViewabilityProvider.

optional string address = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

clearAppliedTeams()

public ViewabilityProvider.Builder clearAppliedTeams()

Optional. The resource names of Teams that are directly associated with the ViewabilityProvider. Format: "networks/{network_code}/teams/{team_id}"

repeated string applied_teams = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

clearComment()

public ViewabilityProvider.Builder clearComment()

Optional. Comment about the ViewabilityProvider.

optional string comment = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

clearDisplayName()

public ViewabilityProvider.Builder clearDisplayName()

Required. The display name of the ViewabilityProvider.

optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

clearEmail()

public ViewabilityProvider.Builder clearEmail()

Optional. The email of the ViewabilityProvider.

optional string email = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

clearExternalId()

public ViewabilityProvider.Builder clearExternalId()

Optional. The external ID of the ViewabilityProvider.

optional string external_id = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

clearFax()

public ViewabilityProvider.Builder clearFax()

Optional. The fax number of the ViewabilityProvider.

optional string fax = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

clearName()

public ViewabilityProvider.Builder clearName()

Identifier. The resource name of the ViewabilityProvider. Format: networks/{network_code}/viewabilityProviders/{viewability_provider}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

clearPhone()

public ViewabilityProvider.Builder clearPhone()

Optional. The phone number of the ViewabilityProvider.

optional string phone = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

clearPrimaryContact()

public ViewabilityProvider.Builder clearPrimaryContact()

Optional. The resource name of primary Contact of the ViewabilityProvider. Format: "networks/{network_code}/contacts/{contact_id}"

optional string primary_contact = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

clearRejectionTrackerUrl()

public ViewabilityProvider.Builder clearRejectionTrackerUrl()

Optional. The URL that should be pinged if the verification script cannot be run.

optional string rejection_tracker_url = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

clearUpdateTime()

public ViewabilityProvider.Builder clearUpdateTime()

Output only. The time the ViewabilityProvider was last updated.

.google.protobuf.Timestamp update_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ViewabilityProvider.Builder

clearVendorKey()

public ViewabilityProvider.Builder clearVendorKey()

Required. The key for the ViewabilityProvider.

optional string vendor_key = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

clearVerificationScriptUrl()

public ViewabilityProvider.Builder clearVerificationScriptUrl()

Required. The URL that hosts the verification script for the ViewabilityProvider.

optional string verification_script_url = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

clearVerificationScriptUrlParameters()

public ViewabilityProvider.Builder clearVerificationScriptUrlParameters()

Optional. The URL parameters that will be passed to the verification script.

optional string verification_script_url_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

getAddress()

public String getAddress()

Optional. The address of the ViewabilityProvider.

optional string address = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The address.

getAddressBytes()

public ByteString getAddressBytes()

Optional. The address of the ViewabilityProvider.

optional string address = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for address.

getAppliedTeams(int index)

public String getAppliedTeams(int index)

Optional. The resource names of Teams that are directly associated with the ViewabilityProvider. Format: "networks/{network_code}/teams/{team_id}"

repeated string applied_teams = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The appliedTeams at the given index.

getAppliedTeamsBytes(int index)

public ByteString getAppliedTeamsBytes(int index)

Optional. The resource names of Teams that are directly associated with the ViewabilityProvider. Format: "networks/{network_code}/teams/{team_id}"

repeated string applied_teams = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the appliedTeams at the given index.

getAppliedTeamsCount()

public int getAppliedTeamsCount()

Optional. The resource names of Teams that are directly associated with the ViewabilityProvider. Format: "networks/{network_code}/teams/{team_id}"

repeated string applied_teams = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of appliedTeams.

getAppliedTeamsList()

public ProtocolStringList getAppliedTeamsList()

Optional. The resource names of Teams that are directly associated with the ViewabilityProvider. Format: "networks/{network_code}/teams/{team_id}"

repeated string applied_teams = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the appliedTeams.

getComment()

public String getComment()

Optional. Comment about the ViewabilityProvider.

optional string comment = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The comment.

getCommentBytes()

public ByteString getCommentBytes()

Optional. Comment about the ViewabilityProvider.

optional string comment = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for comment.

getDefaultInstanceForType()

public ViewabilityProvider getDefaultInstanceForType()
Returns
Type Description
ViewabilityProvider

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. The display name of the ViewabilityProvider.

optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The display name of the ViewabilityProvider.

optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getEmail()

public String getEmail()

Optional. The email of the ViewabilityProvider.

optional string email = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Optional. The email of the ViewabilityProvider.

optional string email = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for email.

getExternalId()

public String getExternalId()

Optional. The external ID of the ViewabilityProvider.

optional string external_id = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The externalId.

getExternalIdBytes()

public ByteString getExternalIdBytes()

Optional. The external ID of the ViewabilityProvider.

optional string external_id = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for externalId.

getFax()

public String getFax()

Optional. The fax number of the ViewabilityProvider.

optional string fax = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The fax.

getFaxBytes()

public ByteString getFaxBytes()

Optional. The fax number of the ViewabilityProvider.

optional string fax = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for fax.

getName()

public String getName()

Identifier. The resource name of the ViewabilityProvider. Format: networks/{network_code}/viewabilityProviders/{viewability_provider}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the ViewabilityProvider. Format: networks/{network_code}/viewabilityProviders/{viewability_provider}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getPhone()

public String getPhone()

Optional. The phone number of the ViewabilityProvider.

optional string phone = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The phone.

getPhoneBytes()

public ByteString getPhoneBytes()

Optional. The phone number of the ViewabilityProvider.

optional string phone = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for phone.

getPrimaryContact()

public String getPrimaryContact()

Optional. The resource name of primary Contact of the ViewabilityProvider. Format: "networks/{network_code}/contacts/{contact_id}"

optional string primary_contact = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The primaryContact.

getPrimaryContactBytes()

public ByteString getPrimaryContactBytes()

Optional. The resource name of primary Contact of the ViewabilityProvider. Format: "networks/{network_code}/contacts/{contact_id}"

optional string primary_contact = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for primaryContact.

getRejectionTrackerUrl()

public String getRejectionTrackerUrl()

Optional. The URL that should be pinged if the verification script cannot be run.

optional string rejection_tracker_url = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The rejectionTrackerUrl.

getRejectionTrackerUrlBytes()

public ByteString getRejectionTrackerUrlBytes()

Optional. The URL that should be pinged if the verification script cannot be run.

optional string rejection_tracker_url = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for rejectionTrackerUrl.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time the ViewabilityProvider was last updated.

.google.protobuf.Timestamp update_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The time the ViewabilityProvider was last updated.

.google.protobuf.Timestamp update_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time the ViewabilityProvider was last updated.

.google.protobuf.Timestamp update_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getVendorKey()

public String getVendorKey()

Required. The key for the ViewabilityProvider.

optional string vendor_key = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The vendorKey.

getVendorKeyBytes()

public ByteString getVendorKeyBytes()

Required. The key for the ViewabilityProvider.

optional string vendor_key = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for vendorKey.

getVerificationScriptUrl()

public String getVerificationScriptUrl()

Required. The URL that hosts the verification script for the ViewabilityProvider.

optional string verification_script_url = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The verificationScriptUrl.

getVerificationScriptUrlBytes()

public ByteString getVerificationScriptUrlBytes()

Required. The URL that hosts the verification script for the ViewabilityProvider.

optional string verification_script_url = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for verificationScriptUrl.

getVerificationScriptUrlParameters()

public String getVerificationScriptUrlParameters()

Optional. The URL parameters that will be passed to the verification script.

optional string verification_script_url_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The verificationScriptUrlParameters.

getVerificationScriptUrlParametersBytes()

public ByteString getVerificationScriptUrlParametersBytes()

Optional. The URL parameters that will be passed to the verification script.

optional string verification_script_url_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for verificationScriptUrlParameters.

hasAddress()

public boolean hasAddress()

Optional. The address of the ViewabilityProvider.

optional string address = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the address field is set.

hasComment()

public boolean hasComment()

Optional. Comment about the ViewabilityProvider.

optional string comment = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the comment field is set.

hasDisplayName()

public boolean hasDisplayName()

Required. The display name of the ViewabilityProvider.

optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the displayName field is set.

hasEmail()

public boolean hasEmail()

Optional. The email of the ViewabilityProvider.

optional string email = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the email field is set.

hasExternalId()

public boolean hasExternalId()

Optional. The external ID of the ViewabilityProvider.

optional string external_id = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the externalId field is set.

hasFax()

public boolean hasFax()

Optional. The fax number of the ViewabilityProvider.

optional string fax = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the fax field is set.

hasPhone()

public boolean hasPhone()

Optional. The phone number of the ViewabilityProvider.

optional string phone = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the phone field is set.

hasPrimaryContact()

public boolean hasPrimaryContact()

Optional. The resource name of primary Contact of the ViewabilityProvider. Format: "networks/{network_code}/contacts/{contact_id}"

optional string primary_contact = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the primaryContact field is set.

hasRejectionTrackerUrl()

public boolean hasRejectionTrackerUrl()

Optional. The URL that should be pinged if the verification script cannot be run.

optional string rejection_tracker_url = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the rejectionTrackerUrl field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time the ViewabilityProvider was last updated.

.google.protobuf.Timestamp update_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hasVendorKey()

public boolean hasVendorKey()

Required. The key for the ViewabilityProvider.

optional string vendor_key = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the vendorKey field is set.

hasVerificationScriptUrl()

public boolean hasVerificationScriptUrl()

Required. The URL that hosts the verification script for the ViewabilityProvider.

optional string verification_script_url = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the verificationScriptUrl field is set.

hasVerificationScriptUrlParameters()

public boolean hasVerificationScriptUrlParameters()

Optional. The URL parameters that will be passed to the verification script.

optional string verification_script_url_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the verificationScriptUrlParameters field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ViewabilityProvider other)

public ViewabilityProvider.Builder mergeFrom(ViewabilityProvider other)
Parameter
Name Description
other ViewabilityProvider
Returns
Type Description
ViewabilityProvider.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ViewabilityProvider.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ViewabilityProvider.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUpdateTime(Timestamp value)

public ViewabilityProvider.Builder mergeUpdateTime(Timestamp value)

Output only. The time the ViewabilityProvider was last updated.

.google.protobuf.Timestamp update_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ViewabilityProvider.Builder

setAddress(String value)

public ViewabilityProvider.Builder setAddress(String value)

Optional. The address of the ViewabilityProvider.

optional string address = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The address to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setAddressBytes(ByteString value)

public ViewabilityProvider.Builder setAddressBytes(ByteString value)

Optional. The address of the ViewabilityProvider.

optional string address = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for address to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setAppliedTeams(int index, String value)

public ViewabilityProvider.Builder setAppliedTeams(int index, String value)

Optional. The resource names of Teams that are directly associated with the ViewabilityProvider. Format: "networks/{network_code}/teams/{team_id}"

repeated string applied_teams = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameters
Name Description
index int

The index to set the value at.

value String

The appliedTeams to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setComment(String value)

public ViewabilityProvider.Builder setComment(String value)

Optional. Comment about the ViewabilityProvider.

optional string comment = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The comment to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setCommentBytes(ByteString value)

public ViewabilityProvider.Builder setCommentBytes(ByteString value)

Optional. Comment about the ViewabilityProvider.

optional string comment = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for comment to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setDisplayName(String value)

public ViewabilityProvider.Builder setDisplayName(String value)

Required. The display name of the ViewabilityProvider.

optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public ViewabilityProvider.Builder setDisplayNameBytes(ByteString value)

Required. The display name of the ViewabilityProvider.

optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setEmail(String value)

public ViewabilityProvider.Builder setEmail(String value)

Optional. The email of the ViewabilityProvider.

optional string email = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The email to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setEmailBytes(ByteString value)

public ViewabilityProvider.Builder setEmailBytes(ByteString value)

Optional. The email of the ViewabilityProvider.

optional string email = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for email to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setExternalId(String value)

public ViewabilityProvider.Builder setExternalId(String value)

Optional. The external ID of the ViewabilityProvider.

optional string external_id = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The externalId to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setExternalIdBytes(ByteString value)

public ViewabilityProvider.Builder setExternalIdBytes(ByteString value)

Optional. The external ID of the ViewabilityProvider.

optional string external_id = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for externalId to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setFax(String value)

public ViewabilityProvider.Builder setFax(String value)

Optional. The fax number of the ViewabilityProvider.

optional string fax = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The fax to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setFaxBytes(ByteString value)

public ViewabilityProvider.Builder setFaxBytes(ByteString value)

Optional. The fax number of the ViewabilityProvider.

optional string fax = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for fax to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setName(String value)

public ViewabilityProvider.Builder setName(String value)

Identifier. The resource name of the ViewabilityProvider. Format: networks/{network_code}/viewabilityProviders/{viewability_provider}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ViewabilityProvider.Builder setNameBytes(ByteString value)

Identifier. The resource name of the ViewabilityProvider. Format: networks/{network_code}/viewabilityProviders/{viewability_provider}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setPhone(String value)

public ViewabilityProvider.Builder setPhone(String value)

Optional. The phone number of the ViewabilityProvider.

optional string phone = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The phone to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setPhoneBytes(ByteString value)

public ViewabilityProvider.Builder setPhoneBytes(ByteString value)

Optional. The phone number of the ViewabilityProvider.

optional string phone = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for phone to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setPrimaryContact(String value)

public ViewabilityProvider.Builder setPrimaryContact(String value)

Optional. The resource name of primary Contact of the ViewabilityProvider. Format: "networks/{network_code}/contacts/{contact_id}"

optional string primary_contact = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The primaryContact to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setPrimaryContactBytes(ByteString value)

public ViewabilityProvider.Builder setPrimaryContactBytes(ByteString value)

Optional. The resource name of primary Contact of the ViewabilityProvider. Format: "networks/{network_code}/contacts/{contact_id}"

optional string primary_contact = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for primaryContact to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setRejectionTrackerUrl(String value)

public ViewabilityProvider.Builder setRejectionTrackerUrl(String value)

Optional. The URL that should be pinged if the verification script cannot be run.

optional string rejection_tracker_url = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The rejectionTrackerUrl to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setRejectionTrackerUrlBytes(ByteString value)

public ViewabilityProvider.Builder setRejectionTrackerUrlBytes(ByteString value)

Optional. The URL that should be pinged if the verification script cannot be run.

optional string rejection_tracker_url = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for rejectionTrackerUrl to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setUpdateTime(Timestamp value)

public ViewabilityProvider.Builder setUpdateTime(Timestamp value)

Output only. The time the ViewabilityProvider was last updated.

.google.protobuf.Timestamp update_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ViewabilityProvider.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ViewabilityProvider.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time the ViewabilityProvider was last updated.

.google.protobuf.Timestamp update_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ViewabilityProvider.Builder

setVendorKey(String value)

public ViewabilityProvider.Builder setVendorKey(String value)

Required. The key for the ViewabilityProvider.

optional string vendor_key = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The vendorKey to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setVendorKeyBytes(ByteString value)

public ViewabilityProvider.Builder setVendorKeyBytes(ByteString value)

Required. The key for the ViewabilityProvider.

optional string vendor_key = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for vendorKey to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setVerificationScriptUrl(String value)

public ViewabilityProvider.Builder setVerificationScriptUrl(String value)

Required. The URL that hosts the verification script for the ViewabilityProvider.

optional string verification_script_url = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The verificationScriptUrl to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setVerificationScriptUrlBytes(ByteString value)

public ViewabilityProvider.Builder setVerificationScriptUrlBytes(ByteString value)

Required. The URL that hosts the verification script for the ViewabilityProvider.

optional string verification_script_url = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for verificationScriptUrl to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setVerificationScriptUrlParameters(String value)

public ViewabilityProvider.Builder setVerificationScriptUrlParameters(String value)

Optional. The URL parameters that will be passed to the verification script.

optional string verification_script_url_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The verificationScriptUrlParameters to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.

setVerificationScriptUrlParametersBytes(ByteString value)

public ViewabilityProvider.Builder setVerificationScriptUrlParametersBytes(ByteString value)

Optional. The URL parameters that will be passed to the verification script.

optional string verification_script_url_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for verificationScriptUrlParameters to set.

Returns
Type Description
ViewabilityProvider.Builder

This builder for chaining.