Class DisplayData (0.32.0)

public final class DisplayData extends GeneratedMessageV3 implements DisplayDataOrBuilder

Data provided with a pipeline or transform to provide descriptive info.

Protobuf type google.dataflow.v1beta3.DisplayData

Static Fields

BOOL_VALUE_FIELD_NUMBER

public static final int BOOL_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

DURATION_VALUE_FIELD_NUMBER

public static final int DURATION_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

FLOAT_VALUE_FIELD_NUMBER

public static final int FLOAT_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

INT64_VALUE_FIELD_NUMBER

public static final int INT64_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

JAVA_CLASS_VALUE_FIELD_NUMBER

public static final int JAVA_CLASS_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
TypeDescription
int

LABEL_FIELD_NUMBER

public static final int LABEL_FIELD_NUMBER
Field Value
TypeDescription
int

NAMESPACE_FIELD_NUMBER

public static final int NAMESPACE_FIELD_NUMBER
Field Value
TypeDescription
int

SHORT_STR_VALUE_FIELD_NUMBER

public static final int SHORT_STR_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

STR_VALUE_FIELD_NUMBER

public static final int STR_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

TIMESTAMP_VALUE_FIELD_NUMBER

public static final int TIMESTAMP_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

URL_FIELD_NUMBER

public static final int URL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DisplayData getDefaultInstance()
Returns
TypeDescription
DisplayData

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DisplayData.Builder newBuilder()
Returns
TypeDescription
DisplayData.Builder

newBuilder(DisplayData prototype)

public static DisplayData.Builder newBuilder(DisplayData prototype)
Parameter
NameDescription
prototypeDisplayData
Returns
TypeDescription
DisplayData.Builder

parseDelimitedFrom(InputStream input)

public static DisplayData parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DisplayData
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DisplayData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DisplayData
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DisplayData parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DisplayData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DisplayData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DisplayData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DisplayData parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DisplayData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DisplayData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DisplayData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DisplayData parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DisplayData
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DisplayData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DisplayData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DisplayData parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DisplayData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DisplayData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DisplayData
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DisplayData parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DisplayData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DisplayData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DisplayData
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DisplayData> parser()
Returns
TypeDescription
Parser<DisplayData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBoolValue()

public boolean getBoolValue()

Contains value if the data is of a boolean type.

bool bool_value = 10;

Returns
TypeDescription
boolean

The boolValue.

getDefaultInstanceForType()

public DisplayData getDefaultInstanceForType()
Returns
TypeDescription
DisplayData

getDurationValue()

public Duration getDurationValue()

Contains value if the data is of duration type.

.google.protobuf.Duration duration_value = 9;

Returns
TypeDescription
Duration

The durationValue.

getDurationValueOrBuilder()

public DurationOrBuilder getDurationValueOrBuilder()

Contains value if the data is of duration type.

.google.protobuf.Duration duration_value = 9;

Returns
TypeDescription
DurationOrBuilder

getFloatValue()

public float getFloatValue()

Contains value if the data is of float type.

float float_value = 6;

Returns
TypeDescription
float

The floatValue.

getInt64Value()

public long getInt64Value()

Contains value if the data is of int64 type.

int64 int64_value = 5;

Returns
TypeDescription
long

The int64Value.

getJavaClassValue()

public String getJavaClassValue()

Contains value if the data is of java class type.

string java_class_value = 7;

Returns
TypeDescription
String

The javaClassValue.

getJavaClassValueBytes()

public ByteString getJavaClassValueBytes()

Contains value if the data is of java class type.

string java_class_value = 7;

Returns
TypeDescription
ByteString

The bytes for javaClassValue.

getKey()

public String getKey()

The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.

string key = 1;

Returns
TypeDescription
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.

string key = 1;

Returns
TypeDescription
ByteString

The bytes for key.

getLabel()

public String getLabel()

An optional label to display in a dax UI for the element.

string label = 13;

Returns
TypeDescription
String

The label.

getLabelBytes()

public ByteString getLabelBytes()

An optional label to display in a dax UI for the element.

string label = 13;

Returns
TypeDescription
ByteString

The bytes for label.

getNamespace()

public String getNamespace()

The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.

string namespace = 2;

Returns
TypeDescription
String

The namespace.

getNamespaceBytes()

public ByteString getNamespaceBytes()

The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.

string namespace = 2;

Returns
TypeDescription
ByteString

The bytes for namespace.

getParserForType()

public Parser<DisplayData> getParserForType()
Returns
TypeDescription
Parser<DisplayData>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getShortStrValue()

public String getShortStrValue()

A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.

string short_str_value = 11;

Returns
TypeDescription
String

The shortStrValue.

getShortStrValueBytes()

public ByteString getShortStrValueBytes()

A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.

string short_str_value = 11;

Returns
TypeDescription
ByteString

The bytes for shortStrValue.

getStrValue()

public String getStrValue()

Contains value if the data is of string type.

string str_value = 4;

Returns
TypeDescription
String

The strValue.

getStrValueBytes()

public ByteString getStrValueBytes()

Contains value if the data is of string type.

string str_value = 4;

Returns
TypeDescription
ByteString

The bytes for strValue.

getTimestampValue()

public Timestamp getTimestampValue()

Contains value if the data is of timestamp type.

.google.protobuf.Timestamp timestamp_value = 8;

Returns
TypeDescription
Timestamp

The timestampValue.

getTimestampValueOrBuilder()

public TimestampOrBuilder getTimestampValueOrBuilder()

Contains value if the data is of timestamp type.

.google.protobuf.Timestamp timestamp_value = 8;

Returns
TypeDescription
TimestampOrBuilder

getUrl()

public String getUrl()

An optional full URL.

string url = 12;

Returns
TypeDescription
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

An optional full URL.

string url = 12;

Returns
TypeDescription
ByteString

The bytes for url.

getValueCase()

public DisplayData.ValueCase getValueCase()
Returns
TypeDescription
DisplayData.ValueCase

hasBoolValue()

public boolean hasBoolValue()

Contains value if the data is of a boolean type.

bool bool_value = 10;

Returns
TypeDescription
boolean

Whether the boolValue field is set.

hasDurationValue()

public boolean hasDurationValue()

Contains value if the data is of duration type.

.google.protobuf.Duration duration_value = 9;

Returns
TypeDescription
boolean

Whether the durationValue field is set.

hasFloatValue()

public boolean hasFloatValue()

Contains value if the data is of float type.

float float_value = 6;

Returns
TypeDescription
boolean

Whether the floatValue field is set.

hasInt64Value()

public boolean hasInt64Value()

Contains value if the data is of int64 type.

int64 int64_value = 5;

Returns
TypeDescription
boolean

Whether the int64Value field is set.

hasJavaClassValue()

public boolean hasJavaClassValue()

Contains value if the data is of java class type.

string java_class_value = 7;

Returns
TypeDescription
boolean

Whether the javaClassValue field is set.

hasStrValue()

public boolean hasStrValue()

Contains value if the data is of string type.

string str_value = 4;

Returns
TypeDescription
boolean

Whether the strValue field is set.

hasTimestampValue()

public boolean hasTimestampValue()

Contains value if the data is of timestamp type.

.google.protobuf.Timestamp timestamp_value = 8;

Returns
TypeDescription
boolean

Whether the timestampValue field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DisplayData.Builder newBuilderForType()
Returns
TypeDescription
DisplayData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DisplayData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DisplayData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DisplayData.Builder toBuilder()
Returns
TypeDescription
DisplayData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException