Package com.google.dataflow.v1beta3
Class DisplayData
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.dataflow.v1beta3.DisplayData
-
- All Implemented Interfaces:
DisplayDataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class DisplayData extends com.google.protobuf.GeneratedMessageV3 implements DisplayDataOrBuilder
Data provided with a pipeline or transform to provide descriptive info.
Protobuf typegoogle.dataflow.v1beta3.DisplayData- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDisplayData.BuilderData provided with a pipeline or transform to provide descriptive info.static classDisplayData.ValueCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBOOL_VALUE_FIELD_NUMBERstatic intDURATION_VALUE_FIELD_NUMBERstatic intFLOAT_VALUE_FIELD_NUMBERstatic intINT64_VALUE_FIELD_NUMBERstatic intJAVA_CLASS_VALUE_FIELD_NUMBERstatic intKEY_FIELD_NUMBERstatic intLABEL_FIELD_NUMBERstatic intNAMESPACE_FIELD_NUMBERstatic intSHORT_STR_VALUE_FIELD_NUMBERstatic intSTR_VALUE_FIELD_NUMBERstatic intTIMESTAMP_VALUE_FIELD_NUMBERstatic intURL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetBoolValue()Contains value if the data is of a boolean type.static DisplayDatagetDefaultInstance()DisplayDatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.DurationgetDurationValue()Contains value if the data is of duration type.com.google.protobuf.DurationOrBuildergetDurationValueOrBuilder()Contains value if the data is of duration type.floatgetFloatValue()Contains value if the data is of float type.longgetInt64Value()Contains value if the data is of int64 type.StringgetJavaClassValue()Contains value if the data is of java class type.com.google.protobuf.ByteStringgetJavaClassValueBytes()Contains value if the data is of java class type.StringgetKey()The key identifying the display data.com.google.protobuf.ByteStringgetKeyBytes()The key identifying the display data.StringgetLabel()An optional label to display in a dax UI for the element.com.google.protobuf.ByteStringgetLabelBytes()An optional label to display in a dax UI for the element.StringgetNamespace()The namespace for the key.com.google.protobuf.ByteStringgetNamespaceBytes()The namespace for the key.com.google.protobuf.Parser<DisplayData>getParserForType()intgetSerializedSize()StringgetShortStrValue()A possible additional shorter value to display.com.google.protobuf.ByteStringgetShortStrValueBytes()A possible additional shorter value to display.StringgetStrValue()Contains value if the data is of string type.com.google.protobuf.ByteStringgetStrValueBytes()Contains value if the data is of string type.com.google.protobuf.TimestampgetTimestampValue()Contains value if the data is of timestamp type.com.google.protobuf.TimestampOrBuildergetTimestampValueOrBuilder()Contains value if the data is of timestamp type.StringgetUrl()An optional full URL.com.google.protobuf.ByteStringgetUrlBytes()An optional full URL.DisplayData.ValueCasegetValueCase()booleanhasBoolValue()Contains value if the data is of a boolean type.booleanhasDurationValue()Contains value if the data is of duration type.booleanhasFloatValue()Contains value if the data is of float type.inthashCode()booleanhasInt64Value()Contains value if the data is of int64 type.booleanhasJavaClassValue()Contains value if the data is of java class type.booleanhasStrValue()Contains value if the data is of string type.booleanhasTimestampValue()Contains value if the data is of timestamp type.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DisplayData.BuildernewBuilder()static DisplayData.BuildernewBuilder(DisplayData prototype)DisplayData.BuildernewBuilderForType()protected DisplayData.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DisplayDataparseDelimitedFrom(InputStream input)static DisplayDataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DisplayDataparseFrom(byte[] data)static DisplayDataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DisplayDataparseFrom(com.google.protobuf.ByteString data)static DisplayDataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DisplayDataparseFrom(com.google.protobuf.CodedInputStream input)static DisplayDataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DisplayDataparseFrom(InputStream input)static DisplayDataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DisplayDataparseFrom(ByteBuffer data)static DisplayDataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DisplayData>parser()DisplayData.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STR_VALUE_FIELD_NUMBER
public static final int STR_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INT64_VALUE_FIELD_NUMBER
public static final int INT64_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLOAT_VALUE_FIELD_NUMBER
public static final int FLOAT_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JAVA_CLASS_VALUE_FIELD_NUMBER
public static final int JAVA_CLASS_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMESTAMP_VALUE_FIELD_NUMBER
public static final int TIMESTAMP_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DURATION_VALUE_FIELD_NUMBER
public static final int DURATION_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOL_VALUE_FIELD_NUMBER
public static final int BOOL_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHORT_STR_VALUE_FIELD_NUMBER
public static final int SHORT_STR_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
URL_FIELD_NUMBER
public static final int URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getValueCase
public DisplayData.ValueCase getValueCase()
- Specified by:
getValueCasein interfaceDisplayDataOrBuilder
-
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;- 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.
-
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;- 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.
-
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
public String 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.
-
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.
-
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.
-
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
public String 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.
-
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.
-
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.
-
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.
-
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;- 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.
-
getUrl
public String 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.
-
getLabel
public String 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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DisplayData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DisplayData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DisplayData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DisplayData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DisplayData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DisplayData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DisplayData parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DisplayData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DisplayData parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DisplayData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DisplayData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DisplayData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DisplayData.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DisplayData.Builder newBuilder()
-
newBuilder
public static DisplayData.Builder newBuilder(DisplayData prototype)
-
toBuilder
public DisplayData.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DisplayData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DisplayData getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DisplayData> parser()
-
getParserForType
public com.google.protobuf.Parser<DisplayData> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DisplayData getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-