Class GetDeviceManufacturerRequest.Builder (0.44.0)

public static final class GetDeviceManufacturerRequest.Builder extends GeneratedMessage.Builder<GetDeviceManufacturerRequest.Builder> implements GetDeviceManufacturerRequestOrBuilder

Request object for GetDeviceManufacturer method.

Protobuf type google.ads.admanager.v1.GetDeviceManufacturerRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetDeviceManufacturerRequest build()
Returns
Type Description
GetDeviceManufacturerRequest

buildPartial()

public GetDeviceManufacturerRequest buildPartial()
Returns
Type Description
GetDeviceManufacturerRequest

clear()

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

clearName()

public GetDeviceManufacturerRequest.Builder clearName()

Required. The resource name of the DeviceManufacturer. Format: networks/{network_code}/deviceManufacturers/{device_manufacturer_id}

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

Returns
Type Description
GetDeviceManufacturerRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetDeviceManufacturerRequest getDefaultInstanceForType()
Returns
Type Description
GetDeviceManufacturerRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name of the DeviceManufacturer. Format: networks/{network_code}/deviceManufacturers/{device_manufacturer_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 DeviceManufacturer. Format: networks/{network_code}/deviceManufacturers/{device_manufacturer_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(GetDeviceManufacturerRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetDeviceManufacturerRequest.Builder setName(String value)

Required. The resource name of the DeviceManufacturer. Format: networks/{network_code}/deviceManufacturers/{device_manufacturer_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
GetDeviceManufacturerRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetDeviceManufacturerRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the DeviceManufacturer. Format: networks/{network_code}/deviceManufacturers/{device_manufacturer_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
GetDeviceManufacturerRequest.Builder

This builder for chaining.