Interface LinkedDeviceOrBuilder (0.52.0)

public interface LinkedDeviceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayName()

public abstract String getDisplayName()

Required. The display name of the LinkedDevice.

optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. The display name of the LinkedDevice.

optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public abstract String getName()

Identifier. The resource name of the LinkedDevice. Format: networks/{network_code}/linkedDevices/{linked_device_id}

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the LinkedDevice. Format: networks/{network_code}/linkedDevices/{linked_device_id}

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

Returns
Type Description
ByteString

The bytes for name.

getOwner()

public abstract String getOwner()

Output only. The user who owns this device linking. Format: networks/{network_code}/users/{user}

optional string owner = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The owner.

getOwnerBytes()

public abstract ByteString getOwnerBytes()

Output only. The user who owns this device linking. Format: networks/{network_code}/users/{user}

optional string owner = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for owner.

getVisibility()

public abstract LinkedDeviceVisibilityEnum.LinkedDeviceVisibility getVisibility()

Optional. The visibility of the device.

optional .google.ads.admanager.v1.LinkedDeviceVisibilityEnum.LinkedDeviceVisibility visibility = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LinkedDeviceVisibilityEnum.LinkedDeviceVisibility

The visibility.

getVisibilityValue()

public abstract int getVisibilityValue()

Optional. The visibility of the device.

optional .google.ads.admanager.v1.LinkedDeviceVisibilityEnum.LinkedDeviceVisibility visibility = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for visibility.

hasDisplayName()

public abstract boolean hasDisplayName()

Required. The display name of the LinkedDevice.

optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the displayName field is set.

hasOwner()

public abstract boolean hasOwner()

Output only. The user who owns this device linking. Format: networks/{network_code}/users/{user}

optional string owner = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the owner field is set.

hasVisibility()

public abstract boolean hasVisibility()

Optional. The visibility of the device.

optional .google.ads.admanager.v1.LinkedDeviceVisibilityEnum.LinkedDeviceVisibility visibility = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the visibility field is set.