Represents a DisplayData.
Package
@google-cloud/dataflow!Constructors
(constructor)(properties)
constructor(properties?: google.dataflow.v1beta3.IDisplayData);
Constructs a new DisplayData.
Type | Name | Description |
---|---|---|
IDisplayData | properties |
Properties to set |
Properties
boolValue
public boolValue?: (boolean|null);
DisplayData boolValue.
Type | Description |
---|---|
(boolean|null) |
durationValue
public durationValue?: (google.protobuf.IDuration|null);
DisplayData durationValue.
Type | Description |
---|---|
(google.protobuf.IDuration|null) |
floatValue
public floatValue?: (number|null);
DisplayData floatValue.
Type | Description |
---|---|
(number|null) |
int64Value
public int64Value?: (number|Long|string|null);
DisplayData int64Value.
Type | Description |
---|---|
(number|Long|string|null) |
javaClassValue
public javaClassValue?: (string|null);
DisplayData javaClassValue.
Type | Description |
---|---|
(string|null) |
key
public key: string;
DisplayData key.
Type | Description |
---|---|
string |
label
public label: string;
DisplayData label.
Type | Description |
---|---|
string |
namespace
public namespace: string;
DisplayData namespace.
Type | Description |
---|---|
string |
shortStrValue
public shortStrValue: string;
DisplayData shortStrValue.
Type | Description |
---|---|
string |
strValue
public strValue?: (string|null);
DisplayData strValue.
Type | Description |
---|---|
(string|null) |
timestampValue
public timestampValue?: (google.protobuf.ITimestamp|null);
DisplayData timestampValue.
Type | Description |
---|---|
(google.protobuf.ITimestamp|null) |
url
public url: string;
DisplayData url.
Type | Description |
---|---|
string |
Value
public Value?: ("strValue"|"int64Value"|"floatValue"|"javaClassValue"|"timestampValue"|"durationValue"|"boolValue");
DisplayData Value.
Type | Description |
---|---|
("strValue"|"int64Value"|"floatValue"|"javaClassValue"|"timestampValue"|"durationValue"|"boolValue") |
Methods
create(properties)
public static create(properties?: google.dataflow.v1beta3.IDisplayData): google.dataflow.v1beta3.DisplayData;
Creates a new DisplayData instance using the specified properties.
Type | Name | Description |
---|---|---|
IDisplayData | properties |
Properties to set |
Type | Description |
---|---|
google.dataflow.v1beta3.DisplayData | DisplayData instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.dataflow.v1beta3.DisplayData;
Decodes a DisplayData message from the specified reader or buffer.
Type | Name | Description |
---|---|---|
($protobuf.Reader|Uint8Array) | reader |
Reader or buffer to decode from |
number | length |
Message length if known beforehand |
Type | Description |
---|---|
google.dataflow.v1beta3.DisplayData | DisplayData |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.dataflow.v1beta3.DisplayData;
Decodes a DisplayData message from the specified reader or buffer, length delimited.
Type | Name | Description |
---|---|---|
($protobuf.Reader|Uint8Array) | reader |
Reader or buffer to decode from |
Type | Description |
---|---|
google.dataflow.v1beta3.DisplayData | DisplayData |
encode(message, writer)
public static encode(message: google.dataflow.v1beta3.IDisplayData, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified DisplayData message. Does not implicitly messages.
Type | Name | Description |
---|---|---|
IDisplayData | message |
DisplayData message or plain object to encode |
$protobuf.Writer | writer |
Writer to encode to |
Type | Description |
---|---|
$protobuf.Writer | Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.dataflow.v1beta3.IDisplayData, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified DisplayData message, length delimited. Does not implicitly messages.
Type | Name | Description |
---|---|---|
IDisplayData | message |
DisplayData message or plain object to encode |
$protobuf.Writer | writer |
Writer to encode to |
Type | Description |
---|---|
$protobuf.Writer | Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.dataflow.v1beta3.DisplayData;
Creates a DisplayData message from a plain object. Also converts values to their respective internal types.
Type | Name | Description |
---|---|---|
{ [k: string]: any } | object |
Plain object |
Type | Description |
---|---|
google.dataflow.v1beta3.DisplayData | DisplayData |
toJSON()
public toJSON(): { [k: string]: any };
Converts this DisplayData to JSON.
Type | Description |
---|---|
{ [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.dataflow.v1beta3.DisplayData, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from a DisplayData message. Also converts values to other types if specified.
Type | Name | Description |
---|---|---|
google.dataflow.v1beta3.DisplayData | message |
DisplayData |
$protobuf.IConversionOptions | options |
Conversion options |
Type | Description |
---|---|
{ [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);
Verifies a DisplayData message.
Type | Name | Description |
---|---|---|
{ [k: string]: any } | message |
Plain object to verify |
Type | Description |
---|---|
(string|null) |
|