Class GetUserListDirectLicenseRequest.Builder (0.8.0)

public static final class GetUserListDirectLicenseRequest.Builder extends GeneratedMessage.Builder<GetUserListDirectLicenseRequest.Builder> implements GetUserListDirectLicenseRequestOrBuilder

Request to get a UserListDirectLicense resource.

Protobuf type google.ads.datamanager.v1.GetUserListDirectLicenseRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetUserListDirectLicenseRequest build()
Returns
Type Description
GetUserListDirectLicenseRequest

buildPartial()

public GetUserListDirectLicenseRequest buildPartial()
Returns
Type Description
GetUserListDirectLicenseRequest

clear()

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

clearName()

public GetUserListDirectLicenseRequest.Builder clearName()

Required. The resource name of the user list direct license.

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

Returns
Type Description
GetUserListDirectLicenseRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetUserListDirectLicenseRequest getDefaultInstanceForType()
Returns
Type Description
GetUserListDirectLicenseRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name of the user list direct license.

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 user list direct license.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetUserListDirectLicenseRequest.Builder setName(String value)

Required. The resource name of the user list direct license.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetUserListDirectLicenseRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetUserListDirectLicenseRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the user list direct license.

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

This builder for chaining.