Class GetContentBundleRequest.Builder (0.44.0)

public static final class GetContentBundleRequest.Builder extends GeneratedMessage.Builder<GetContentBundleRequest.Builder> implements GetContentBundleRequestOrBuilder

Request object for GetContentBundle method.

Protobuf type google.ads.admanager.v1.GetContentBundleRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetContentBundleRequest build()
Returns
Type Description
GetContentBundleRequest

buildPartial()

public GetContentBundleRequest buildPartial()
Returns
Type Description
GetContentBundleRequest

clear()

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

clearName()

public GetContentBundleRequest.Builder clearName()

Required. The resource name of the ContentBundle. Format: networks/{network_code}/contentBundles/{content_bundle_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetContentBundleRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetContentBundleRequest getDefaultInstanceForType()
Returns
Type Description
GetContentBundleRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name of the ContentBundle. Format: networks/{network_code}/contentBundles/{content_bundle_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the ContentBundle. Format: networks/{network_code}/contentBundles/{content_bundle_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

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(GetContentBundleRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetContentBundleRequest.Builder setName(String value)

Required. The resource name of the ContentBundle. Format: networks/{network_code}/contentBundles/{content_bundle_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetContentBundleRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetContentBundleRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the ContentBundle. Format: networks/{network_code}/contentBundles/{content_bundle_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetContentBundleRequest.Builder

This builder for chaining.