public final class Network extends GeneratedMessage implements NetworkOrBuilder
The Network resource.
Protobuf type google.ads.admanager.v1.Network
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,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.
optional 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.
optional 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.
optional string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. Display name for Network.
optional 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}/adUnits/{ad_unit}
optional 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}/adUnits/{ad_unit}
optional 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.
optional string network_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The networkCode.
|
getNetworkCodeBytes()
public ByteString getNetworkCodeBytes()
Output only. Network Code.
optional 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.
optional 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.
optional string property_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The propertyCode.
|
getPropertyCodeBytes()
public ByteString getPropertyCodeBytes()
Output only. Property code.
optional 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.
optional 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.
optional 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.
optional string time_zone = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for timeZone.
|
hasCurrencyCode()
public boolean hasCurrencyCode()
Output only. Primary currency code, in ISO-4217 format.
optional string currency_code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the currencyCode field is set.
|
hasDisplayName()
public boolean hasDisplayName()
Optional. Display name for Network.
optional string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the displayName field is set.
|
hasEffectiveRootAdUnit()
public boolean hasEffectiveRootAdUnit()
Output only. Top most Ad Unit to which
descendant Ad Units can be added.
Format: networks/{network_code}/adUnits/{ad_unit}
optional string effective_root_ad_unit = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
boolean |
Whether the effectiveRootAdUnit field is set.
|
hasNetworkCode()
public boolean hasNetworkCode()
Output only. Network Code.
optional string network_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the networkCode field is set.
|
hasNetworkId()
public boolean hasNetworkId()
Output only. Network ID.
optional int64 network_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the networkId field is set.
|
hasPropertyCode()
public boolean hasPropertyCode()
Output only. Property code.
optional string property_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the propertyCode field is set.
|
hasTestNetwork()
public boolean hasTestNetwork()
Output only. Whether this is a test network.
optional bool test_network = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the testNetwork field is set.
|
hasTimeZone()
public boolean hasTimeZone()
Output only. Time zone associated with the delivery of orders and
reporting.
optional string time_zone = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the timeZone field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Network.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Network.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Network.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides