Interface SiteOrBuilder (0.39.0)

public interface SiteOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApprovalStatus()

public abstract SiteApprovalStatusEnum.SiteApprovalStatus getApprovalStatus()

Output only. Status of the review performed on the Site by Google.

optional .google.ads.admanager.v1.SiteApprovalStatusEnum.SiteApprovalStatus approval_status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SiteApprovalStatusEnum.SiteApprovalStatus

The approvalStatus.

getApprovalStatusUpdateTime()

public abstract Timestamp getApprovalStatusUpdateTime()

Output only. The latest Site approval status change time.

optional .google.protobuf.Timestamp approval_status_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The approvalStatusUpdateTime.

getApprovalStatusUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getApprovalStatusUpdateTimeOrBuilder()

Output only. The latest Site approval status change time.

optional .google.protobuf.Timestamp approval_status_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getApprovalStatusValue()

public abstract int getApprovalStatusValue()

Output only. Status of the review performed on the Site by Google.

optional .google.ads.admanager.v1.SiteApprovalStatusEnum.SiteApprovalStatus approval_status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for approvalStatus.

getChildNetworkCode()

public abstract String getChildNetworkCode()

Optional. The network code of the child if the Site is being managed for an MCM child network, or null if owned by this network.

optional string child_network_code = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The childNetworkCode.

getChildNetworkCodeBytes()

public abstract ByteString getChildNetworkCodeBytes()

Optional. The network code of the child if the Site is being managed for an MCM child network, or null if owned by this network.

optional string child_network_code = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for childNetworkCode.

getDisapprovalReasons(int index)

public abstract DisapprovalReason getDisapprovalReasons(int index)

Output only. Provides reasons for disapproving the Site. It is null when the Site is not disapproved.

repeated .google.ads.admanager.v1.DisapprovalReason disapproval_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DisapprovalReason

getDisapprovalReasonsCount()

public abstract int getDisapprovalReasonsCount()

Output only. Provides reasons for disapproving the Site. It is null when the Site is not disapproved.

repeated .google.ads.admanager.v1.DisapprovalReason disapproval_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getDisapprovalReasonsList()

public abstract List<DisapprovalReason> getDisapprovalReasonsList()

Output only. Provides reasons for disapproving the Site. It is null when the Site is not disapproved.

repeated .google.ads.admanager.v1.DisapprovalReason disapproval_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<DisapprovalReason>

getDisapprovalReasonsOrBuilder(int index)

public abstract DisapprovalReasonOrBuilder getDisapprovalReasonsOrBuilder(int index)

Output only. Provides reasons for disapproving the Site. It is null when the Site is not disapproved.

repeated .google.ads.admanager.v1.DisapprovalReason disapproval_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DisapprovalReasonOrBuilder

getDisapprovalReasonsOrBuilderList()

public abstract List<? extends DisapprovalReasonOrBuilder> getDisapprovalReasonsOrBuilderList()

Output only. Provides reasons for disapproving the Site. It is null when the Site is not disapproved.

repeated .google.ads.admanager.v1.DisapprovalReason disapproval_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.ads.admanager.v1.DisapprovalReasonOrBuilder>

getName()

public abstract String getName()

Identifier. The resource name of the Site. Format: networks/{network_code}/sites/{site_id}

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the Site. Format: networks/{network_code}/sites/{site_id}

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

Returns
Type Description
ByteString

The bytes for name.

getUrl()

public abstract String getUrl()

Required. The URL of the Site.

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

Returns
Type Description
String

The url.

getUrlBytes()

public abstract ByteString getUrlBytes()

Required. The URL of the Site.

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

Returns
Type Description
ByteString

The bytes for url.

hasApprovalStatus()

public abstract boolean hasApprovalStatus()

Output only. Status of the review performed on the Site by Google.

optional .google.ads.admanager.v1.SiteApprovalStatusEnum.SiteApprovalStatus approval_status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the approvalStatus field is set.

hasApprovalStatusUpdateTime()

public abstract boolean hasApprovalStatusUpdateTime()

Output only. The latest Site approval status change time.

optional .google.protobuf.Timestamp approval_status_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the approvalStatusUpdateTime field is set.

hasChildNetworkCode()

public abstract boolean hasChildNetworkCode()

Optional. The network code of the child if the Site is being managed for an MCM child network, or null if owned by this network.

optional string child_network_code = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the childNetworkCode field is set.

hasUrl()

public abstract boolean hasUrl()

Required. The URL of the Site.

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

Returns
Type Description
boolean

Whether the url field is set.