Class AllocationDeliveryProfile.Builder (0.62.0)

public static final class AllocationDeliveryProfile.Builder extends GeneratedMessage.Builder<AllocationDeliveryProfile.Builder> implements AllocationDeliveryProfileOrBuilder

A profile that groups multiple allocation delivery settings.

Protobuf type google.ads.admanager.v1.AllocationDeliveryProfile

Static Methods

getDescriptor()

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

Methods

build()

public AllocationDeliveryProfile build()
Returns
Type Description
AllocationDeliveryProfile

buildPartial()

public AllocationDeliveryProfile buildPartial()
Returns
Type Description
AllocationDeliveryProfile

clear()

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

clearName()

public AllocationDeliveryProfile.Builder clearName()

Identifier. The resource name of the AllocationDeliveryProfile. Format: networks/{network_code}/allocationDeliveryProfiles/{allocation_delivery_profile_id}

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

Returns
Type Description
AllocationDeliveryProfile.Builder

This builder for chaining.

getDefaultInstanceForType()

public AllocationDeliveryProfile getDefaultInstanceForType()
Returns
Type Description
AllocationDeliveryProfile

getDescriptorForType()

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

getName()

public String getName()

Identifier. The resource name of the AllocationDeliveryProfile. Format: networks/{network_code}/allocationDeliveryProfiles/{allocation_delivery_profile_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 AllocationDeliveryProfile. Format: networks/{network_code}/allocationDeliveryProfiles/{allocation_delivery_profile_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(AllocationDeliveryProfile other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public AllocationDeliveryProfile.Builder setName(String value)

Identifier. The resource name of the AllocationDeliveryProfile. Format: networks/{network_code}/allocationDeliveryProfiles/{allocation_delivery_profile_id}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AllocationDeliveryProfile.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AllocationDeliveryProfile.Builder setNameBytes(ByteString value)

Identifier. The resource name of the AllocationDeliveryProfile. Format: networks/{network_code}/allocationDeliveryProfiles/{allocation_delivery_profile_id}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AllocationDeliveryProfile.Builder

This builder for chaining.