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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 |
Site |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Site.Builder newBuilder()
newBuilder(Site prototype)
public static Site.Builder newBuilder(Site prototype)
| Parameter |
| Name |
Description |
prototype |
Site
|
public static Site parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
Site |
|
public static Site parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Site |
|
parseFrom(byte[] data)
public static Site parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Site |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Site parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Site |
|
parseFrom(ByteString data)
public static Site parseFrom(ByteString data)
| Returns |
| Type |
Description |
Site |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Site parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Site |
|
public static Site parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
Site |
|
public static Site parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Site |
|
public static Site parseFrom(InputStream input)
| Returns |
| Type |
Description |
Site |
|
public static Site parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Site |
|
parseFrom(ByteBuffer data)
public static Site parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
Site |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Site parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Site |
|
parser()
public static Parser<Site> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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];
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 |
Timestamp |
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];
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 |
String |
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 |
ByteString |
The bytes for childNetworkCode.
|
getDefaultInstanceForType()
public Site getDefaultInstanceForType()
| Returns |
| Type |
Description |
Site |
|
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
|
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];
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
|
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()
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 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.
|
getParserForType()
public Parser<Site> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getUrl()
Required. The URL of the Site.
optional string url = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The url.
|
getUrlBytes()
public 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 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 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 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()
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Site.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Site.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public Site.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides