Show / Hide Table of Contents

Class TaskAttribute

Describes a task attribute as a key-value pair. The "key:value" string length cannot exceed 256 characters.

Inheritance
object
TaskAttribute
Implements
IMessage<TaskAttribute>
IEquatable<TaskAttribute>
IDeepCloneable<TaskAttribute>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Maps.FleetEngine.Delivery.V1
Assembly: Google.Maps.FleetEngine.Delivery.V1.dll
Syntax
public sealed class TaskAttribute : IMessage<TaskAttribute>, IEquatable<TaskAttribute>, IDeepCloneable<TaskAttribute>, IBufferMessage, IMessage

Constructors

TaskAttribute()

Declaration
public TaskAttribute()

TaskAttribute(TaskAttribute)

Declaration
public TaskAttribute(TaskAttribute other)
Parameters
Type Name Description
TaskAttribute other

Properties

BoolValue

Boolean typed attribute value.

Declaration
public bool BoolValue { get; set; }
Property Value
Type Description
bool

HasBoolValue

Gets whether the "bool_value" field is set

Declaration
public bool HasBoolValue { get; }
Property Value
Type Description
bool

HasNumberValue

Gets whether the "number_value" field is set

Declaration
public bool HasNumberValue { get; }
Property Value
Type Description
bool

HasStringValue

Gets whether the "string_value" field is set

Declaration
public bool HasStringValue { get; }
Property Value
Type Description
bool

Key

The attribute's key. Keys may not contain the colon character (:).

Declaration
public string Key { get; set; }
Property Value
Type Description
string

NumberValue

Double typed attribute value.

Declaration
public double NumberValue { get; set; }
Property Value
Type Description
double

StringValue

String typed attribute value.

Declaration
public string StringValue { get; set; }
Property Value
Type Description
string

TaskAttributeValueCase

Declaration
public TaskAttribute.TaskAttributeValueOneofCase TaskAttributeValueCase { get; }
Property Value
Type Description
TaskAttribute.TaskAttributeValueOneofCase
In this article
Back to top Generated by DocFX