Class Site (0.39.0)

  public 
  
 final 
  
 class 
 Site 
  
 extends 
  
 GeneratedMessageV3 
  
 implements 
  
 SiteOrBuilder 
 

A Site represents a domain owned or represented by a network. For a parent network managing other networks as part of Multiple Customer Management "Manage Inventory" model, it could be the child's domain.

Protobuf type google.ads.admanager.v1.Site

Implements

SiteOrBuilder

Static Fields

APPROVAL_STATUS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 APPROVAL_STATUS_FIELD_NUMBER 
 
Field Value
Type
Description
int

APPROVAL_STATUS_UPDATE_TIME_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 APPROVAL_STATUS_UPDATE_TIME_FIELD_NUMBER 
 
Field Value
Type
Description
int

CHILD_NETWORK_CODE_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 CHILD_NETWORK_CODE_FIELD_NUMBER 
 
Field Value
Type
Description
int

DISAPPROVAL_REASONS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 DISAPPROVAL_REASONS_FIELD_NUMBER 
 
Field Value
Type
Description
int

NAME_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 NAME_FIELD_NUMBER 
 
Field Value
Type
Description
int

URL_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 URL_FIELD_NUMBER 
 
Field Value
Type
Description
int

Static Methods

getDefaultInstance()

  public 
  
 static 
  
 Site 
  
 getDefaultInstance 
 () 
 
Returns
Type
Description

getDescriptor()

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

newBuilder()

  public 
  
 static 
  
 Site 
 . 
 Builder 
  
 newBuilder 
 () 
 
Returns
Type
Description

newBuilder(Site prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getApprovalStatus()

  public 
  
 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

getApprovalStatusUpdateTime()

  public 
  
 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

The approvalStatusUpdateTime.

getApprovalStatusUpdateTimeOrBuilder()

  public 
  
 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

getApprovalStatusValue()

  public 
  
 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 
  
 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

The childNetworkCode.

getChildNetworkCodeBytes()

  public 
  
 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

The bytes for childNetworkCode.

getDefaultInstanceForType()

  public 
  
 Site 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

getDisapprovalReasons(int index)

  public 
  
 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

getDisapprovalReasonsCount()

  public 
  
 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 
  
 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

getDisapprovalReasonsOrBuilder(int index)

  public 
  
 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

getDisapprovalReasonsOrBuilderList()

  public 
  
 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 
  
 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

The name.

getNameBytes()

  public 
  
 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

The bytes for name.

getParserForType()

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

getSerializedSize()

  public 
  
 int 
  
 getSerializedSize 
 () 
 
Returns
Type
Description
int
Overrides

getUrl()

  public 
  
 String 
  
 getUrl 
 () 
 

Required. The URL of the Site.

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

Returns
Type
Description

The url.

getUrlBytes()

  public 
  
 ByteString 
  
 getUrlBytes 
 () 
 

Required. The URL of the Site.

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

Returns
Type
Description

The bytes for url.

hasApprovalStatus()

  public 
  
 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

Whether the approvalStatus field is set.

hasApprovalStatusUpdateTime()

  public 
  
 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

Whether the approvalStatusUpdateTime field is set.

hasChildNetworkCode()

  public 
  
 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

Whether the childNetworkCode field is set.

hasUrl()

  public 
  
 boolean 
  
 hasUrl 
 () 
 

Required. The URL of the Site.

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

Returns
Type
Description

Whether the url field is set.

hashCode()

  public 
  
 int 
  
 hashCode 
 () 
 
Returns
Type
Description
int
Overrides

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessageV3 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

newBuilderForType()

  public 
  
 Site 
 . 
 Builder 
  
 newBuilderForType 
 () 
 
Returns
Type
Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

  protected 
  
 Site 
 . 
 Builder 
  
 newBuilderForType 
 ( 
 GeneratedMessageV3 
 . 
 BuilderParent 
  
 parent 
 ) 
 
Parameter
Name
Description
parent
Returns
Type
Description
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

  protected 
  
 Object 
  
 newInstance 
 ( 
 GeneratedMessageV3 
 . 
 UnusedPrivateParameter 
  
 unused 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Overrides

toBuilder()

  public 
  
 Site 
 . 
 Builder 
  
 toBuilder 
 () 
 
Returns
Type
Description

writeTo(CodedOutputStream output)

  public 
  
 void 
  
 writeTo 
 ( 
 CodedOutputStream 
  
 output 
 ) 
 
Parameter
Name
Description
Overrides
Exceptions
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: