Class Network (0.16.0)

  public 
  
 final 
  
 class 
 Network 
  
 extends 
  
 GeneratedMessageV3 
  
 implements 
  
 NetworkOrBuilder 
 

The Network resource.

Protobuf type google.ads.admanager.v1.Network

Implements

NetworkOrBuilder

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 
 () 
 
Returns
Type
Description

getDescriptor()

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

newBuilder()

  public 
  
 static 
  
 Network 
 . 
 Builder 
  
 newBuilder 
 () 
 
Returns
Type
Description

newBuilder(Network prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

  public 
  
 boolean 
  
 equals 
 ( 
 Object 
  
 obj 
 ) 
 
Parameter
Name
Description
obj
Returns
Type
Description
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

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

The bytes for currencyCode.

getDefaultInstanceForType()

  public 
  
 Network 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

getDisplayName()

  public 
  
 String 
  
 getDisplayName 
 () 
 

Optional. Display name for Network.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The displayName.

getDisplayNameBytes()

  public 
  
 ByteString 
  
 getDisplayNameBytes 
 () 
 

Optional. Display name for Network.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

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

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

The bytes for effectiveRootAdUnit.

getName()

  public 
  
 String 
  
 getName 
 () 
 

Identifier. The resource name of the Network. Format: networks/{network_code}

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

Returns
Type
Description

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

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

The networkCode.

getNetworkCodeBytes()

  public 
  
 ByteString 
  
 getNetworkCodeBytes 
 () 
 

Output only. Network Code.

string network_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type
Description

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

The networkId.

getParserForType()

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

getPropertyCode()

  public 
  
 String 
  
 getPropertyCode 
 () 
 

Output only. Property code.

string property_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type
Description

The propertyCode.

getPropertyCodeBytes()

  public 
  
 ByteString 
  
 getPropertyCodeBytes 
 () 
 

Output only. Property code.

string property_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type
Description

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

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

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];

Returns
Type
Description

A list containing the secondaryCurrencyCodes.

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

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

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

The bytes for timeZone.

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 
  
 Network 
 . 
 Builder 
  
 newBuilderForType 
 () 
 
Returns
Type
Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

  protected 
  
 Network 
 . 
 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 
  
 Network 
 . 
 Builder 
  
 toBuilder 
 () 
 
Returns
Type
Description

writeTo(CodedOutputStream output)

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