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 class
DisplayData.Builder
Data provided with a pipeline or transform to provide descriptive info.static class
DisplayData.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 int
BOOL_VALUE_FIELD_NUMBER
static int
DURATION_VALUE_FIELD_NUMBER
static int
FLOAT_VALUE_FIELD_NUMBER
static int
INT64_VALUE_FIELD_NUMBER
static int
JAVA_CLASS_VALUE_FIELD_NUMBER
static int
KEY_FIELD_NUMBER
static int
LABEL_FIELD_NUMBER
static int
NAMESPACE_FIELD_NUMBER
static int
SHORT_STR_VALUE_FIELD_NUMBER
static int
STR_VALUE_FIELD_NUMBER
static int
TIMESTAMP_VALUE_FIELD_NUMBER
static int
URL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
boolean
getBoolValue()
Contains value if the data is of a boolean type.static DisplayData
getDefaultInstance()
DisplayData
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Duration
getDurationValue()
Contains value if the data is of duration type.com.google.protobuf.DurationOrBuilder
getDurationValueOrBuilder()
Contains value if the data is of duration type.float
getFloatValue()
Contains value if the data is of float type.long
getInt64Value()
Contains value if the data is of int64 type.String
getJavaClassValue()
Contains value if the data is of java class type.com.google.protobuf.ByteString
getJavaClassValueBytes()
Contains value if the data is of java class type.String
getKey()
The key identifying the display data.com.google.protobuf.ByteString
getKeyBytes()
The key identifying the display data.String
getLabel()
An optional label to display in a dax UI for the element.com.google.protobuf.ByteString
getLabelBytes()
An optional label to display in a dax UI for the element.String
getNamespace()
The namespace for the key.com.google.protobuf.ByteString
getNamespaceBytes()
The namespace for the key.com.google.protobuf.Parser<DisplayData>
getParserForType()
int
getSerializedSize()
String
getShortStrValue()
A possible additional shorter value to display.com.google.protobuf.ByteString
getShortStrValueBytes()
A possible additional shorter value to display.String
getStrValue()
Contains value if the data is of string type.com.google.protobuf.ByteString
getStrValueBytes()
Contains value if the data is of string type.com.google.protobuf.Timestamp
getTimestampValue()
Contains value if the data is of timestamp type.com.google.protobuf.TimestampOrBuilder
getTimestampValueOrBuilder()
Contains value if the data is of timestamp type.String
getUrl()
An optional full URL.com.google.protobuf.ByteString
getUrlBytes()
An optional full URL.DisplayData.ValueCase
getValueCase()
boolean
hasBoolValue()
Contains value if the data is of a boolean type.boolean
hasDurationValue()
Contains value if the data is of duration type.boolean
hasFloatValue()
Contains value if the data is of float type.int
hashCode()
boolean
hasInt64Value()
Contains value if the data is of int64 type.boolean
hasJavaClassValue()
Contains value if the data is of java class type.boolean
hasStrValue()
Contains value if the data is of string type.boolean
hasTimestampValue()
Contains value if the data is of timestamp type.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static DisplayData.Builder
newBuilder()
static DisplayData.Builder
newBuilder(DisplayData prototype)
DisplayData.Builder
newBuilderForType()
protected DisplayData.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static DisplayData
parseDelimitedFrom(InputStream input)
static DisplayData
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DisplayData
parseFrom(byte[] data)
static DisplayData
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DisplayData
parseFrom(com.google.protobuf.ByteString data)
static DisplayData
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DisplayData
parseFrom(com.google.protobuf.CodedInputStream input)
static DisplayData
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DisplayData
parseFrom(InputStream input)
static DisplayData
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DisplayData
parseFrom(ByteBuffer data)
static DisplayData
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<DisplayData>
parser()
DisplayData.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getValueCase
public DisplayData.ValueCase getValueCase()
- Specified by:
getValueCase
in 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:
getKey
in 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:
getKeyBytes
in 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:
getNamespace
in 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:
getNamespaceBytes
in 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:
hasStrValue
in 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:
getStrValue
in 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:
getStrValueBytes
in 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:
hasInt64Value
in 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:
getInt64Value
in interfaceDisplayDataOrBuilder
- Returns:
- The int64Value.
-
hasFloatValue
public boolean hasFloatValue()
Contains value if the data is of float type.
float float_value = 6;
- Specified by:
hasFloatValue
in 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:
getFloatValue
in 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:
hasJavaClassValue
in 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:
getJavaClassValue
in 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:
getJavaClassValueBytes
in 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:
hasTimestampValue
in 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:
getTimestampValue
in 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:
getTimestampValueOrBuilder
in interfaceDisplayDataOrBuilder
-
hasDurationValue
public boolean hasDurationValue()
Contains value if the data is of duration type.
.google.protobuf.Duration duration_value = 9;
- Specified by:
hasDurationValue
in 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:
getDurationValue
in 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:
getDurationValueOrBuilder
in interfaceDisplayDataOrBuilder
-
hasBoolValue
public boolean hasBoolValue()
Contains value if the data is of a boolean type.
bool bool_value = 10;
- Specified by:
hasBoolValue
in 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:
getBoolValue
in 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:
getShortStrValue
in 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:
getShortStrValueBytes
in interfaceDisplayDataOrBuilder
- Returns:
- The bytes for shortStrValue.
-
getUrl
public String getUrl()
An optional full URL.
string url = 12;
- Specified by:
getUrl
in interfaceDisplayDataOrBuilder
- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()
An optional full URL.
string url = 12;
- Specified by:
getUrlBytes
in 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:
getLabel
in 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:
getLabelBytes
in interfaceDisplayDataOrBuilder
- Returns:
- The bytes for label.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DisplayData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DisplayData getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-