Class ChildPublisher.Builder (0.52.0)

public static final class ChildPublisher.Builder extends GeneratedMessage.Builder<ChildPublisher.Builder> implements ChildPublisherOrBuilder

The ChildPublisher resource.

Protobuf type google.ads.admanager.v1.ChildPublisher

Static Methods

getDescriptor()

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

Methods

build()

public ChildPublisher build()
Returns
Type Description
ChildPublisher

buildPartial()

public ChildPublisher buildPartial()
Returns
Type Description
ChildPublisher

clear()

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

clearName()

public ChildPublisher.Builder clearName()

Identifier. The resource name of the ChildPublisher. Format: networks/{network_code}/childPublishers/{child_publisher_id}

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

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

getDefaultInstanceForType()

public ChildPublisher getDefaultInstanceForType()
Returns
Type Description
ChildPublisher

getDescriptorForType()

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

getName()

public String getName()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public ChildPublisher.Builder setName(String value)

Identifier. The resource name of the ChildPublisher. Format: networks/{network_code}/childPublishers/{child_publisher_id}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ChildPublisher.Builder setNameBytes(ByteString value)

Identifier. The resource name of the ChildPublisher. Format: networks/{network_code}/childPublishers/{child_publisher_id}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.