public final class Network extends GeneratedMessageV3 implements NetworkOrBuilder
The Network resource.
Protobuf type google.ads.admanager.v1.Network
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
CURRENCY_CODE_FIELD_NUMBER
public static final int CURRENCY_CODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EFFECTIVE_ROOT_AD_UNIT_FIELD_NUMBER
public static final int EFFECTIVE_ROOT_AD_UNIT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NETWORK_CODE_FIELD_NUMBER
public static final int NETWORK_CODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NETWORK_ID_FIELD_NUMBER
public static final int NETWORK_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROPERTY_CODE_FIELD_NUMBER
public static final int PROPERTY_CODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SECONDARY_CURRENCY_CODES_FIELD_NUMBER
public static final int SECONDARY_CURRENCY_CODES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TEST_NETWORK_FIELD_NUMBER
public static final int TEST_NETWORK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TIME_ZONE_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Network getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Network.Builder newBuilder()
newBuilder(Network prototype)
public static Network.Builder newBuilder(Network prototype)
Parameter |
Name |
Description |
prototype |
Network
|
public static Network parseDelimitedFrom(InputStream input)
public static Network parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Network parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Network parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Network parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Network parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Network parseFrom(CodedInputStream input)
public static Network parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Network parseFrom(InputStream input)
public static Network parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Network parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Network parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Network> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCurrencyCode()
public String getCurrencyCode()
Output only. Primary currency code, in ISO-4217 format.
string currency_code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The currencyCode.
|
getCurrencyCodeBytes()
public ByteString getCurrencyCodeBytes()
Output only. Primary currency code, in ISO-4217 format.
string currency_code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for currencyCode.
|
getDefaultInstanceForType()
public Network getDefaultInstanceForType()
getDisplayName()
public String getDisplayName()
Optional. Display name for Network.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. Display name for Network.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
getEffectiveRootAdUnit()
public String getEffectiveRootAdUnit()
Output only. Top most Ad Unit to which
descendant Ad Units can be added.
Format: networks/{network_code}/adUnit/{ad_unit_id}
string effective_root_ad_unit = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The effectiveRootAdUnit.
|
getEffectiveRootAdUnitBytes()
public ByteString getEffectiveRootAdUnitBytes()
Output only. Top most Ad Unit to which
descendant Ad Units can be added.
Format: networks/{network_code}/adUnit/{ad_unit_id}
string effective_root_ad_unit = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for effectiveRootAdUnit.
|
getName()
Identifier. The resource name of the Network.
Format: networks/{network_code}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. The resource name of the Network.
Format: networks/{network_code}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getNetworkCode()
public String getNetworkCode()
Output only. Network Code.
string network_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The networkCode.
|
getNetworkCodeBytes()
public ByteString getNetworkCodeBytes()
Output only. Network Code.
string network_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for networkCode.
|
getNetworkId()
public long getNetworkId()
Output only. Network ID.
int64 network_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
long |
The networkId.
|
getParserForType()
public Parser<Network> getParserForType()
Overrides
getPropertyCode()
public String getPropertyCode()
Output only. Property code.
string property_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The propertyCode.
|
getPropertyCodeBytes()
public ByteString getPropertyCodeBytes()
Output only. Property code.
string property_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for propertyCode.
|
getSecondaryCurrencyCodes(int index)
public String getSecondaryCurrencyCodes(int index)
Optional. Currency codes that can be used as an alternative to the primary
currency code for trafficking Line Items.
repeated string secondary_currency_codes = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The secondaryCurrencyCodes at the given index.
|
getSecondaryCurrencyCodesBytes(int index)
public ByteString getSecondaryCurrencyCodesBytes(int index)
Optional. Currency codes that can be used as an alternative to the primary
currency code for trafficking Line Items.
repeated string secondary_currency_codes = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the secondaryCurrencyCodes at the given index.
|
getSecondaryCurrencyCodesCount()
public int getSecondaryCurrencyCodesCount()
Optional. Currency codes that can be used as an alternative to the primary
currency code for trafficking Line Items.
repeated string secondary_currency_codes = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The count of secondaryCurrencyCodes.
|
getSecondaryCurrencyCodesList()
public ProtocolStringList getSecondaryCurrencyCodesList()
Optional. Currency codes that can be used as an alternative to the primary
currency code for trafficking Line Items.
repeated string secondary_currency_codes = 7 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTestNetwork()
public boolean getTestNetwork()
Output only. Whether this is a test network.
bool test_network = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
The testNetwork.
|
getTimeZone()
public String getTimeZone()
Output only. Time zone associated with the delivery of orders and
reporting.
string time_zone = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The timeZone.
|
getTimeZoneBytes()
public ByteString getTimeZoneBytes()
Output only. Time zone associated with the delivery of orders and
reporting.
string time_zone = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for timeZone.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Network.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Network.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Network.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides