Package com.google.dataflow.v1beta3
Class DisplayData.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DisplayData.Builder>
com.google.dataflow.v1beta3.DisplayData.Builder
- All Implemented Interfaces:
DisplayDataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DisplayData
public static final class DisplayData.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DisplayData.Builder>
implements DisplayDataOrBuilder
Data provided with a pipeline or transform to provide descriptive info.Protobuf type
google.dataflow.v1beta3.DisplayData-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Contains value if the data is of a boolean type.Contains value if the data is of duration type.Contains value if the data is of float type.Contains value if the data is of int64 type.Contains value if the data is of java class type.clearKey()The key identifying the display data.An optional label to display in a dax UI for the element.The namespace for the key.A possible additional shorter value to display.Contains value if the data is of string type.Contains value if the data is of timestamp type.clearUrl()An optional full URL.booleanContains value if the data is of a boolean type.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationContains value if the data is of duration type.com.google.protobuf.Duration.BuilderContains value if the data is of duration type.com.google.protobuf.DurationOrBuilderContains value if the data is of duration type.floatContains value if the data is of float type.longContains value if the data is of int64 type.Contains value if the data is of java class type.com.google.protobuf.ByteStringContains value if the data is of java class type.getKey()The key identifying the display data.com.google.protobuf.ByteStringThe key identifying the display data.getLabel()An optional label to display in a dax UI for the element.com.google.protobuf.ByteStringAn optional label to display in a dax UI for the element.The namespace for the key.com.google.protobuf.ByteStringThe namespace for the key.A possible additional shorter value to display.com.google.protobuf.ByteStringA possible additional shorter value to display.Contains value if the data is of string type.com.google.protobuf.ByteStringContains value if the data is of string type.com.google.protobuf.TimestampContains value if the data is of timestamp type.com.google.protobuf.Timestamp.BuilderContains value if the data is of timestamp type.com.google.protobuf.TimestampOrBuilderContains value if the data is of timestamp type.getUrl()An optional full URL.com.google.protobuf.ByteStringAn optional full URL.booleanContains value if the data is of a boolean type.booleanContains value if the data is of duration type.booleanContains value if the data is of float type.booleanContains value if the data is of int64 type.booleanContains value if the data is of java class type.booleanContains value if the data is of string type.booleanContains value if the data is of timestamp type.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDurationValue(com.google.protobuf.Duration value) Contains value if the data is of duration type.mergeFrom(DisplayData other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeTimestampValue(com.google.protobuf.Timestamp value) Contains value if the data is of timestamp type.setBoolValue(boolean value) Contains value if the data is of a boolean type.setDurationValue(com.google.protobuf.Duration value) Contains value if the data is of duration type.setDurationValue(com.google.protobuf.Duration.Builder builderForValue) Contains value if the data is of duration type.setFloatValue(float value) Contains value if the data is of float type.setInt64Value(long value) Contains value if the data is of int64 type.setJavaClassValue(String value) Contains value if the data is of java class type.setJavaClassValueBytes(com.google.protobuf.ByteString value) Contains value if the data is of java class type.The key identifying the display data.setKeyBytes(com.google.protobuf.ByteString value) The key identifying the display data.An optional label to display in a dax UI for the element.setLabelBytes(com.google.protobuf.ByteString value) An optional label to display in a dax UI for the element.setNamespace(String value) The namespace for the key.setNamespaceBytes(com.google.protobuf.ByteString value) The namespace for the key.setShortStrValue(String value) A possible additional shorter value to display.setShortStrValueBytes(com.google.protobuf.ByteString value) A possible additional shorter value to display.setStrValue(String value) Contains value if the data is of string type.setStrValueBytes(com.google.protobuf.ByteString value) Contains value if the data is of string type.setTimestampValue(com.google.protobuf.Timestamp value) Contains value if the data is of timestamp type.setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue) Contains value if the data is of timestamp type.An optional full URL.setUrlBytes(com.google.protobuf.ByteString value) An optional full URL.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DisplayData.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DisplayData.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DisplayData.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DisplayData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DisplayData.Builder>
-
mergeFrom
public DisplayData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DisplayData.Builder>- Throws:
IOException
-
getValueCase
- Specified by:
getValueCasein interfaceDisplayDataOrBuilder
-
clearValue
-
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;- Specified by:
getKeyin interfaceDisplayDataOrBuilder- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.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;- Specified by:
getKeyBytesin interfaceDisplayDataOrBuilder- Returns:
- The bytes for key.
-
setKey
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;- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setKeyBytes
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;- Parameters:
value- The bytes for key to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getNamespacein interfaceDisplayDataOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.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;- Specified by:
getNamespaceBytesin interfaceDisplayDataOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
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;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNamespaceBytes
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;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
hasStrValue
public boolean hasStrValue()Contains value if the data is of string type.
string str_value = 4;- Specified by:
hasStrValuein interfaceDisplayDataOrBuilder- Returns:
- Whether the strValue field is set.
-
getStrValue
Contains value if the data is of string type.
string str_value = 4;- Specified by:
getStrValuein interfaceDisplayDataOrBuilder- Returns:
- The strValue.
-
getStrValueBytes
public com.google.protobuf.ByteString getStrValueBytes()Contains value if the data is of string type.
string str_value = 4;- Specified by:
getStrValueBytesin interfaceDisplayDataOrBuilder- Returns:
- The bytes for strValue.
-
setStrValue
Contains value if the data is of string type.
string str_value = 4;- Parameters:
value- The strValue to set.- Returns:
- This builder for chaining.
-
clearStrValue
Contains value if the data is of string type.
string str_value = 4;- Returns:
- This builder for chaining.
-
setStrValueBytes
Contains value if the data is of string type.
string str_value = 4;- Parameters:
value- The bytes for strValue to set.- Returns:
- This builder for chaining.
-
hasInt64Value
public boolean hasInt64Value()Contains value if the data is of int64 type.
int64 int64_value = 5;- Specified by:
hasInt64Valuein interfaceDisplayDataOrBuilder- Returns:
- Whether the int64Value field is set.
-
getInt64Value
public long getInt64Value()Contains value if the data is of int64 type.
int64 int64_value = 5;- Specified by:
getInt64Valuein interfaceDisplayDataOrBuilder- Returns:
- The int64Value.
-
setInt64Value
Contains value if the data is of int64 type.
int64 int64_value = 5;- Parameters:
value- The int64Value to set.- Returns:
- This builder for chaining.
-
clearInt64Value
Contains value if the data is of int64 type.
int64 int64_value = 5;- Returns:
- This builder for chaining.
-
hasFloatValue
public boolean hasFloatValue()Contains value if the data is of float type.
float float_value = 6;- Specified by:
hasFloatValuein interfaceDisplayDataOrBuilder- Returns:
- Whether the floatValue field is set.
-
getFloatValue
public float getFloatValue()Contains value if the data is of float type.
float float_value = 6;- Specified by:
getFloatValuein interfaceDisplayDataOrBuilder- Returns:
- The floatValue.
-
setFloatValue
Contains value if the data is of float type.
float float_value = 6;- Parameters:
value- The floatValue to set.- Returns:
- This builder for chaining.
-
clearFloatValue
Contains value if the data is of float type.
float float_value = 6;- Returns:
- This builder for chaining.
-
hasJavaClassValue
public boolean hasJavaClassValue()Contains value if the data is of java class type.
string java_class_value = 7;- Specified by:
hasJavaClassValuein interfaceDisplayDataOrBuilder- Returns:
- Whether the javaClassValue field is set.
-
getJavaClassValue
Contains value if the data is of java class type.
string java_class_value = 7;- Specified by:
getJavaClassValuein interfaceDisplayDataOrBuilder- Returns:
- The javaClassValue.
-
getJavaClassValueBytes
public com.google.protobuf.ByteString getJavaClassValueBytes()Contains value if the data is of java class type.
string java_class_value = 7;- Specified by:
getJavaClassValueBytesin interfaceDisplayDataOrBuilder- Returns:
- The bytes for javaClassValue.
-
setJavaClassValue
Contains value if the data is of java class type.
string java_class_value = 7;- Parameters:
value- The javaClassValue to set.- Returns:
- This builder for chaining.
-
clearJavaClassValue
Contains value if the data is of java class type.
string java_class_value = 7;- Returns:
- This builder for chaining.
-
setJavaClassValueBytes
Contains value if the data is of java class type.
string java_class_value = 7;- Parameters:
value- The bytes for javaClassValue to set.- Returns:
- This builder for chaining.
-
hasTimestampValue
public boolean hasTimestampValue()Contains value if the data is of timestamp type.
.google.protobuf.Timestamp timestamp_value = 8;- Specified by:
hasTimestampValuein interfaceDisplayDataOrBuilder- Returns:
- Whether the timestampValue field is set.
-
getTimestampValue
public com.google.protobuf.Timestamp getTimestampValue()Contains value if the data is of timestamp type.
.google.protobuf.Timestamp timestamp_value = 8;- Specified by:
getTimestampValuein interfaceDisplayDataOrBuilder- Returns:
- The timestampValue.
-
setTimestampValue
Contains value if the data is of timestamp type.
.google.protobuf.Timestamp timestamp_value = 8; -
setTimestampValue
Contains value if the data is of timestamp type.
.google.protobuf.Timestamp timestamp_value = 8; -
mergeTimestampValue
Contains value if the data is of timestamp type.
.google.protobuf.Timestamp timestamp_value = 8; -
clearTimestampValue
Contains value if the data is of timestamp type.
.google.protobuf.Timestamp timestamp_value = 8; -
getTimestampValueBuilder
public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder()Contains value if the data is of timestamp type.
.google.protobuf.Timestamp timestamp_value = 8; -
getTimestampValueOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder()Contains value if the data is of timestamp type.
.google.protobuf.Timestamp timestamp_value = 8;- Specified by:
getTimestampValueOrBuilderin interfaceDisplayDataOrBuilder
-
hasDurationValue
public boolean hasDurationValue()Contains value if the data is of duration type.
.google.protobuf.Duration duration_value = 9;- Specified by:
hasDurationValuein interfaceDisplayDataOrBuilder- Returns:
- Whether the durationValue field is set.
-
getDurationValue
public com.google.protobuf.Duration getDurationValue()Contains value if the data is of duration type.
.google.protobuf.Duration duration_value = 9;- Specified by:
getDurationValuein interfaceDisplayDataOrBuilder- Returns:
- The durationValue.
-
setDurationValue
Contains value if the data is of duration type.
.google.protobuf.Duration duration_value = 9; -
setDurationValue
Contains value if the data is of duration type.
.google.protobuf.Duration duration_value = 9; -
mergeDurationValue
Contains value if the data is of duration type.
.google.protobuf.Duration duration_value = 9; -
clearDurationValue
Contains value if the data is of duration type.
.google.protobuf.Duration duration_value = 9; -
getDurationValueBuilder
public com.google.protobuf.Duration.Builder getDurationValueBuilder()Contains value if the data is of duration type.
.google.protobuf.Duration duration_value = 9; -
getDurationValueOrBuilder
public com.google.protobuf.DurationOrBuilder getDurationValueOrBuilder()Contains value if the data is of duration type.
.google.protobuf.Duration duration_value = 9;- Specified by:
getDurationValueOrBuilderin interfaceDisplayDataOrBuilder
-
hasBoolValue
public boolean hasBoolValue()Contains value if the data is of a boolean type.
bool bool_value = 10;- Specified by:
hasBoolValuein interfaceDisplayDataOrBuilder- Returns:
- Whether the boolValue field is set.
-
getBoolValue
public boolean getBoolValue()Contains value if the data is of a boolean type.
bool bool_value = 10;- Specified by:
getBoolValuein interfaceDisplayDataOrBuilder- Returns:
- The boolValue.
-
setBoolValue
Contains value if the data is of a boolean type.
bool bool_value = 10;- Parameters:
value- The boolValue to set.- Returns:
- This builder for chaining.
-
clearBoolValue
Contains value if the data is of a boolean type.
bool bool_value = 10;- Returns:
- This builder for chaining.
-
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;- Specified by:
getShortStrValuein interfaceDisplayDataOrBuilder- Returns:
- The shortStrValue.
-
getShortStrValueBytes
public com.google.protobuf.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;- Specified by:
getShortStrValueBytesin interfaceDisplayDataOrBuilder- Returns:
- The bytes for shortStrValue.
-
setShortStrValue
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;- Parameters:
value- The shortStrValue to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setShortStrValueBytes
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;- Parameters:
value- The bytes for shortStrValue to set.- Returns:
- This builder for chaining.
-
getUrl
An optional full URL.
string url = 12;- Specified by:
getUrlin interfaceDisplayDataOrBuilder- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()An optional full URL.
string url = 12;- Specified by:
getUrlBytesin interfaceDisplayDataOrBuilder- Returns:
- The bytes for url.
-
setUrl
An optional full URL.
string url = 12;- Parameters:
value- The url to set.- Returns:
- This builder for chaining.
-
clearUrl
An optional full URL.
string url = 12;- Returns:
- This builder for chaining.
-
setUrlBytes
An optional full URL.
string url = 12;- Parameters:
value- The bytes for url to set.- Returns:
- This builder for chaining.
-
getLabel
An optional label to display in a dax UI for the element.
string label = 13;- Specified by:
getLabelin interfaceDisplayDataOrBuilder- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()An optional label to display in a dax UI for the element.
string label = 13;- Specified by:
getLabelBytesin interfaceDisplayDataOrBuilder- Returns:
- The bytes for label.
-
setLabel
An optional label to display in a dax UI for the element.
string label = 13;- Parameters:
value- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
An optional label to display in a dax UI for the element.
string label = 13;- Returns:
- This builder for chaining.
-
setLabelBytes
An optional label to display in a dax UI for the element.
string label = 13;- Parameters:
value- The bytes for label to set.- Returns:
- This builder for chaining.
-