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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SiteImplements
SiteOrBuilderStatic Fields
APPROVAL_STATUS_FIELD_NUMBER
public
static
final
int
APPROVAL_STATUS_FIELD_NUMBER
APPROVAL_STATUS_UPDATE_TIME_FIELD_NUMBER
public
static
final
int
APPROVAL_STATUS_UPDATE_TIME_FIELD_NUMBER
CHILD_NETWORK_CODE_FIELD_NUMBER
public
static
final
int
CHILD_NETWORK_CODE_FIELD_NUMBER
DISAPPROVAL_REASONS_FIELD_NUMBER
public
static
final
int
DISAPPROVAL_REASONS_FIELD_NUMBER
NAME_FIELD_NUMBER
public
static
final
int
NAME_FIELD_NUMBER
URL_FIELD_NUMBER
public
static
final
int
URL_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
Site
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
Site
.
Builder
newBuilder
()
newBuilder(Site prototype)
public
static
Site
.
Builder
newBuilder
(
Site
prototype
)
parseDelimitedFrom(InputStream input)
public
static
Site
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Site
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
Site
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
Site
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
Site
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
Site
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
Site
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Site
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
Site
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Site
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
Site
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
Site
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<Site>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
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];
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];
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];
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];
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];
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];
getDefaultInstanceForType()
public
Site
getDefaultInstanceForType
()
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];
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];
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];
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];
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];
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];
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];
getParserForType()
public
Parser<Site>
getParserForType
()
getSerializedSize()
public
int
getSerializedSize
()
getUrl()
public
String
getUrl
()
Required. The URL of the Site.
optional string url = 3 [(.google.api.field_behavior) = REQUIRED];
getUrlBytes()
public
ByteString
getUrlBytes
()
Required. The URL of the Site.
optional string url = 3 [(.google.api.field_behavior) = REQUIRED];
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];
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];
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];
hasUrl()
public
boolean
hasUrl
()
Required. The URL of the Site.
optional string url = 3 [(.google.api.field_behavior) = REQUIRED];
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
Site
.
Builder
newBuilderForType
()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected
Site
.
Builder
newBuilderForType
(
GeneratedMessageV3
.
BuilderParent
parent
)
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected
Object
newInstance
(
GeneratedMessageV3
.
UnusedPrivateParameter
unused
)
toBuilder()
public
Site
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)

