Class InventoryUrl (0.62.0)

public final class InventoryUrl extends GeneratedMessage implements InventoryUrlOrBuilder

Represents a URL that is used for targeting.

Protobuf type google.ads.admanager.v1.InventoryUrl

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InventoryUrl getDefaultInstance()
Returns
Type Description
InventoryUrl

getDescriptor()

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

newBuilder()

public static InventoryUrl.Builder newBuilder()
Returns
Type Description
InventoryUrl.Builder

newBuilder(InventoryUrl prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public InventoryUrl getDefaultInstanceForType()
Returns
Type Description
InventoryUrl

getName()

public String getName()

Identifier. The resource name of the InventoryUrl. Format: networks/{network_code}/inventoryUrls/{inventory_url_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 InventoryUrl. Format: networks/{network_code}/inventoryUrls/{inventory_url_id}

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

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InventoryUrl.Builder newBuilderForType()
Returns
Type Description
InventoryUrl.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected InventoryUrl.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InventoryUrl.Builder
Overrides

toBuilder()

public InventoryUrl.Builder toBuilder()
Returns
Type Description
InventoryUrl.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException