Class DisplayData.Builder (0.27.0)

public static final class DisplayData.Builder extends GeneratedMessageV3.Builder<DisplayData.Builder> implements DisplayDataOrBuilder

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

Protobuf type google.dataflow.v1beta3.DisplayData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DisplayData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DisplayData.Builder
Overrides

build()

public DisplayData build()
Returns
TypeDescription
DisplayData

buildPartial()

public DisplayData buildPartial()
Returns
TypeDescription
DisplayData

clear()

public DisplayData.Builder clear()
Returns
TypeDescription
DisplayData.Builder
Overrides

clearBoolValue()

public DisplayData.Builder clearBoolValue()

Contains value if the data is of a boolean type.

bool bool_value = 10;

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

clearDurationValue()

public DisplayData.Builder clearDurationValue()

Contains value if the data is of duration type.

.google.protobuf.Duration duration_value = 9;

Returns
TypeDescription
DisplayData.Builder

clearField(Descriptors.FieldDescriptor field)

public DisplayData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DisplayData.Builder
Overrides

clearFloatValue()

public DisplayData.Builder clearFloatValue()

Contains value if the data is of float type.

float float_value = 6;

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

clearInt64Value()

public DisplayData.Builder clearInt64Value()

Contains value if the data is of int64 type.

int64 int64_value = 5;

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

clearJavaClassValue()

public DisplayData.Builder clearJavaClassValue()

Contains value if the data is of java class type.

string java_class_value = 7;

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

clearKey()

public DisplayData.Builder clearKey()

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
DisplayData.Builder

This builder for chaining.

clearLabel()

public DisplayData.Builder clearLabel()

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

string label = 13;

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

clearNamespace()

public DisplayData.Builder clearNamespace()

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
DisplayData.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DisplayData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DisplayData.Builder
Overrides

clearShortStrValue()

public DisplayData.Builder clearShortStrValue()

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
DisplayData.Builder

This builder for chaining.

clearStrValue()

public DisplayData.Builder clearStrValue()

Contains value if the data is of string type.

string str_value = 4;

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

clearTimestampValue()

public DisplayData.Builder clearTimestampValue()

Contains value if the data is of timestamp type.

.google.protobuf.Timestamp timestamp_value = 8;

Returns
TypeDescription
DisplayData.Builder

clearUrl()

public DisplayData.Builder clearUrl()

An optional full URL.

string url = 12;

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

clearValue()

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

clone()

public DisplayData.Builder clone()
Returns
TypeDescription
DisplayData.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDurationValue()

public Duration getDurationValue()

Contains value if the data is of duration type.

.google.protobuf.Duration duration_value = 9;

Returns
TypeDescription
Duration

The durationValue.

getDurationValueBuilder()

public Duration.Builder getDurationValueBuilder()

Contains value if the data is of duration type.

.google.protobuf.Duration duration_value = 9;

Returns
TypeDescription
Builder

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.

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.

getTimestampValueBuilder()

public Timestamp.Builder getTimestampValueBuilder()

Contains value if the data is of timestamp type.

.google.protobuf.Timestamp timestamp_value = 8;

Returns
TypeDescription
Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDurationValue(Duration value)

public DisplayData.Builder mergeDurationValue(Duration value)

Contains value if the data is of duration type.

.google.protobuf.Duration duration_value = 9;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
DisplayData.Builder

mergeFrom(DisplayData other)

public DisplayData.Builder mergeFrom(DisplayData other)
Parameter
NameDescription
otherDisplayData
Returns
TypeDescription
DisplayData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DisplayData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DisplayData.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DisplayData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DisplayData.Builder
Overrides

mergeTimestampValue(Timestamp value)

public DisplayData.Builder mergeTimestampValue(Timestamp value)

Contains value if the data is of timestamp type.

.google.protobuf.Timestamp timestamp_value = 8;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DisplayData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DisplayData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DisplayData.Builder
Overrides

setBoolValue(boolean value)

public DisplayData.Builder setBoolValue(boolean value)

Contains value if the data is of a boolean type.

bool bool_value = 10;

Parameter
NameDescription
valueboolean

The boolValue to set.

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

setDurationValue(Duration value)

public DisplayData.Builder setDurationValue(Duration value)

Contains value if the data is of duration type.

.google.protobuf.Duration duration_value = 9;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
DisplayData.Builder

setDurationValue(Duration.Builder builderForValue)

public DisplayData.Builder setDurationValue(Duration.Builder builderForValue)

Contains value if the data is of duration type.

.google.protobuf.Duration duration_value = 9;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
DisplayData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DisplayData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DisplayData.Builder
Overrides

setFloatValue(float value)

public DisplayData.Builder setFloatValue(float value)

Contains value if the data is of float type.

float float_value = 6;

Parameter
NameDescription
valuefloat

The floatValue to set.

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

setInt64Value(long value)

public DisplayData.Builder setInt64Value(long value)

Contains value if the data is of int64 type.

int64 int64_value = 5;

Parameter
NameDescription
valuelong

The int64Value to set.

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

setJavaClassValue(String value)

public DisplayData.Builder setJavaClassValue(String value)

Contains value if the data is of java class type.

string java_class_value = 7;

Parameter
NameDescription
valueString

The javaClassValue to set.

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

setJavaClassValueBytes(ByteString value)

public DisplayData.Builder setJavaClassValueBytes(ByteString value)

Contains value if the data is of java class type.

string java_class_value = 7;

Parameter
NameDescription
valueByteString

The bytes for javaClassValue to set.

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

setKey(String value)

public DisplayData.Builder setKey(String value)

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;

Parameter
NameDescription
valueString

The key to set.

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

setKeyBytes(ByteString value)

public DisplayData.Builder setKeyBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for key to set.

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

setLabel(String value)

public DisplayData.Builder setLabel(String value)

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

string label = 13;

Parameter
NameDescription
valueString

The label to set.

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

setLabelBytes(ByteString value)

public DisplayData.Builder setLabelBytes(ByteString value)

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

string label = 13;

Parameter
NameDescription
valueByteString

The bytes for label to set.

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

setNamespace(String value)

public DisplayData.Builder setNamespace(String value)

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;

Parameter
NameDescription
valueString

The namespace to set.

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

setNamespaceBytes(ByteString value)

public DisplayData.Builder setNamespaceBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for namespace to set.

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DisplayData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DisplayData.Builder
Overrides

setShortStrValue(String value)

public DisplayData.Builder setShortStrValue(String value)

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;

Parameter
NameDescription
valueString

The shortStrValue to set.

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

setShortStrValueBytes(ByteString value)

public DisplayData.Builder setShortStrValueBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for shortStrValue to set.

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

setStrValue(String value)

public DisplayData.Builder setStrValue(String value)

Contains value if the data is of string type.

string str_value = 4;

Parameter
NameDescription
valueString

The strValue to set.

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

setStrValueBytes(ByteString value)

public DisplayData.Builder setStrValueBytes(ByteString value)

Contains value if the data is of string type.

string str_value = 4;

Parameter
NameDescription
valueByteString

The bytes for strValue to set.

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

setTimestampValue(Timestamp value)

public DisplayData.Builder setTimestampValue(Timestamp value)

Contains value if the data is of timestamp type.

.google.protobuf.Timestamp timestamp_value = 8;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DisplayData.Builder

setTimestampValue(Timestamp.Builder builderForValue)

public DisplayData.Builder setTimestampValue(Timestamp.Builder builderForValue)

Contains value if the data is of timestamp type.

.google.protobuf.Timestamp timestamp_value = 8;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
DisplayData.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DisplayData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DisplayData.Builder
Overrides

setUrl(String value)

public DisplayData.Builder setUrl(String value)

An optional full URL.

string url = 12;

Parameter
NameDescription
valueString

The url to set.

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.

setUrlBytes(ByteString value)

public DisplayData.Builder setUrlBytes(ByteString value)

An optional full URL.

string url = 12;

Parameter
NameDescription
valueByteString

The bytes for url to set.

Returns
TypeDescription
DisplayData.Builder

This builder for chaining.