Class InventoryUrl.Builder (0.62.0)

public static final class InventoryUrl.Builder extends GeneratedMessage.Builder<InventoryUrl.Builder> implements InventoryUrlOrBuilder

Represents a URL that is used for targeting.

Protobuf type google.ads.admanager.v1.InventoryUrl

Static Methods

getDescriptor()

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

Methods

build()

public InventoryUrl build()
Returns
Type Description
InventoryUrl

buildPartial()

public InventoryUrl buildPartial()
Returns
Type Description
InventoryUrl

clear()

public InventoryUrl.Builder clear()
Returns
Type Description
InventoryUrl.Builder
Overrides

clearName()

public InventoryUrl.Builder clearName()

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
InventoryUrl.Builder

This builder for chaining.

getDefaultInstanceForType()

public InventoryUrl getDefaultInstanceForType()
Returns
Type Description
InventoryUrl

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InventoryUrl other)

public InventoryUrl.Builder mergeFrom(InventoryUrl other)
Parameter
Name Description
other InventoryUrl
Returns
Type Description
InventoryUrl.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InventoryUrl.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InventoryUrl.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InventoryUrl.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InventoryUrl.Builder
Overrides

setName(String value)

public InventoryUrl.Builder setName(String value)

Identifier. The resource name of the InventoryUrl. Format: networks/{network_code}/inventoryUrls/{inventory_url_id}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
InventoryUrl.Builder

This builder for chaining.

setNameBytes(ByteString value)

public InventoryUrl.Builder setNameBytes(ByteString value)

Identifier. The resource name of the InventoryUrl. Format: networks/{network_code}/inventoryUrls/{inventory_url_id}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
InventoryUrl.Builder

This builder for chaining.