Interface GetDeviceRequestOrBuilder (2.49.0)

public interface GetDeviceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFieldMask()

public abstract FieldMask getFieldMask()

The fields of the Device resource to be returned in the response. If the field mask is unset or empty, all fields are returned. Fields have to be provided in snake_case format, for example: last_heartbeat_time.

.google.protobuf.FieldMask field_mask = 2;

Returns
Type Description
FieldMask

The fieldMask.

getFieldMaskOrBuilder()

public abstract FieldMaskOrBuilder getFieldMaskOrBuilder()

The fields of the Device resource to be returned in the response. If the field mask is unset or empty, all fields are returned. Fields have to be provided in snake_case format, for example: last_heartbeat_time.

.google.protobuf.FieldMask field_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

getName()

public abstract String getName()

Required. The name of the device. For example, projects/p0/locations/us-central1/registries/registry0/devices/device0 or projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the device. For example, projects/p0/locations/us-central1/registries/registry0/devices/device0 or projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.

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

Returns
Type Description
ByteString

The bytes for name.

hasFieldMask()

public abstract boolean hasFieldMask()

The fields of the Device resource to be returned in the response. If the field mask is unset or empty, all fields are returned. Fields have to be provided in snake_case format, for example: last_heartbeat_time.

.google.protobuf.FieldMask field_mask = 2;

Returns
Type Description
boolean

Whether the fieldMask field is set.