Class 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.GeneratedMessageV3.Builder<DisplayData.Builder>
    implements DisplayDataOrBuilder
     Data provided with a pipeline or transform to provide descriptive info.
     
    Protobuf type google.dataflow.v1beta3.DisplayData
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DisplayData.Builder>
      • clear

        public DisplayData.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<DisplayData.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DisplayData.Builder>
      • getDefaultInstanceForType

        public DisplayData getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public DisplayData build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public DisplayData buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public DisplayData.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DisplayData.Builder>
      • setField

        public DisplayData.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                            Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<DisplayData.Builder>
      • clearField

        public DisplayData.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DisplayData.Builder>
      • clearOneof

        public DisplayData.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DisplayData.Builder>
      • setRepeatedField

        public DisplayData.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    int index,
                                                    Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DisplayData.Builder>
      • addRepeatedField

        public DisplayData.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DisplayData.Builder>
      • mergeFrom

        public DisplayData.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DisplayData.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DisplayData.Builder>
      • mergeFrom

        public DisplayData.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DisplayData.Builder>
        Throws:
        IOException
      • 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 interface DisplayDataOrBuilder
        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 interface DisplayDataOrBuilder
        Returns:
        The bytes for key.
      • setKey

        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;
        Parameters:
        value - The key to set.
        Returns:
        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:
        This builder for chaining.
      • setKeyBytes

        public DisplayData.Builder setKeyBytes​(com.google.protobuf.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;
        Parameters:
        value - The bytes for key to set.
        Returns:
        This builder for chaining.
      • 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 interface DisplayDataOrBuilder
        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 interface DisplayDataOrBuilder
        Returns:
        The bytes for namespace.
      • setNamespace

        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;
        Parameters:
        value - The namespace to set.
        Returns:
        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:
        This builder for chaining.
      • setNamespaceBytes

        public DisplayData.Builder setNamespaceBytes​(com.google.protobuf.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;
        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:
        hasStrValue in interface DisplayDataOrBuilder
        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 interface DisplayDataOrBuilder
        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 interface DisplayDataOrBuilder
        Returns:
        The bytes for strValue.
      • setStrValue

        public DisplayData.Builder setStrValue​(String value)
         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

        public DisplayData.Builder clearStrValue()
         Contains value if the data is of string type.
         
        string str_value = 4;
        Returns:
        This builder for chaining.
      • setStrValueBytes

        public DisplayData.Builder setStrValueBytes​(com.google.protobuf.ByteString value)
         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:
        hasInt64Value in interface DisplayDataOrBuilder
        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 interface DisplayDataOrBuilder
        Returns:
        The int64Value.
      • setInt64Value

        public DisplayData.Builder setInt64Value​(long value)
         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

        public DisplayData.Builder 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:
        hasFloatValue in interface DisplayDataOrBuilder
        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 interface DisplayDataOrBuilder
        Returns:
        The floatValue.
      • setFloatValue

        public DisplayData.Builder setFloatValue​(float value)
         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

        public DisplayData.Builder 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:
        hasJavaClassValue in interface DisplayDataOrBuilder
        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 interface DisplayDataOrBuilder
        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 interface DisplayDataOrBuilder
        Returns:
        The bytes for javaClassValue.
      • setJavaClassValue

        public DisplayData.Builder setJavaClassValue​(String value)
         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

        public DisplayData.Builder clearJavaClassValue()
         Contains value if the data is of java class type.
         
        string java_class_value = 7;
        Returns:
        This builder for chaining.
      • setJavaClassValueBytes

        public DisplayData.Builder setJavaClassValueBytes​(com.google.protobuf.ByteString value)
         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:
        hasTimestampValue in interface DisplayDataOrBuilder
        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 interface DisplayDataOrBuilder
        Returns:
        The timestampValue.
      • setTimestampValue

        public DisplayData.Builder setTimestampValue​(com.google.protobuf.Timestamp value)
         Contains value if the data is of timestamp type.
         
        .google.protobuf.Timestamp timestamp_value = 8;
      • setTimestampValue

        public DisplayData.Builder setTimestampValue​(com.google.protobuf.Timestamp.Builder builderForValue)
         Contains value if the data is of timestamp type.
         
        .google.protobuf.Timestamp timestamp_value = 8;
      • mergeTimestampValue

        public DisplayData.Builder mergeTimestampValue​(com.google.protobuf.Timestamp value)
         Contains value if the data is of timestamp type.
         
        .google.protobuf.Timestamp timestamp_value = 8;
      • clearTimestampValue

        public DisplayData.Builder 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:
        getTimestampValueOrBuilder in interface DisplayDataOrBuilder
      • hasDurationValue

        public boolean hasDurationValue()
         Contains value if the data is of duration type.
         
        .google.protobuf.Duration duration_value = 9;
        Specified by:
        hasDurationValue in interface DisplayDataOrBuilder
        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 interface DisplayDataOrBuilder
        Returns:
        The durationValue.
      • setDurationValue

        public DisplayData.Builder setDurationValue​(com.google.protobuf.Duration value)
         Contains value if the data is of duration type.
         
        .google.protobuf.Duration duration_value = 9;
      • setDurationValue

        public DisplayData.Builder setDurationValue​(com.google.protobuf.Duration.Builder builderForValue)
         Contains value if the data is of duration type.
         
        .google.protobuf.Duration duration_value = 9;
      • mergeDurationValue

        public DisplayData.Builder mergeDurationValue​(com.google.protobuf.Duration value)
         Contains value if the data is of duration type.
         
        .google.protobuf.Duration duration_value = 9;
      • clearDurationValue

        public DisplayData.Builder 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:
        getDurationValueOrBuilder in interface DisplayDataOrBuilder
      • hasBoolValue

        public boolean hasBoolValue()
         Contains value if the data is of a boolean type.
         
        bool bool_value = 10;
        Specified by:
        hasBoolValue in interface DisplayDataOrBuilder
        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 interface DisplayDataOrBuilder
        Returns:
        The boolValue.
      • setBoolValue

        public DisplayData.Builder setBoolValue​(boolean value)
         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

        public DisplayData.Builder clearBoolValue()
         Contains value if the data is of a boolean type.
         
        bool bool_value = 10;
        Returns:
        This builder for chaining.
      • 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 interface DisplayDataOrBuilder
        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 interface DisplayDataOrBuilder
        Returns:
        The bytes for shortStrValue.
      • setShortStrValue

        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;
        Parameters:
        value - The shortStrValue to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setShortStrValueBytes

        public DisplayData.Builder setShortStrValueBytes​(com.google.protobuf.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;
        Parameters:
        value - The bytes for shortStrValue to set.
        Returns:
        This builder for chaining.
      • getUrlBytes

        public com.google.protobuf.ByteString getUrlBytes()
         An optional full URL.
         
        string url = 12;
        Specified by:
        getUrlBytes in interface DisplayDataOrBuilder
        Returns:
        The bytes for url.
      • setUrl

        public DisplayData.Builder setUrl​(String value)
         An optional full URL.
         
        string url = 12;
        Parameters:
        value - The url to set.
        Returns:
        This builder for chaining.
      • clearUrl

        public DisplayData.Builder clearUrl()
         An optional full URL.
         
        string url = 12;
        Returns:
        This builder for chaining.
      • setUrlBytes

        public DisplayData.Builder setUrlBytes​(com.google.protobuf.ByteString value)
         An optional full URL.
         
        string url = 12;
        Parameters:
        value - The bytes for url to set.
        Returns:
        This builder for chaining.
      • getLabel

        public String getLabel()
         An optional label to display in a dax UI for the element.
         
        string label = 13;
        Specified by:
        getLabel in interface DisplayDataOrBuilder
        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 interface DisplayDataOrBuilder
        Returns:
        The bytes for label.
      • setLabel

        public DisplayData.Builder setLabel​(String value)
         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

        public DisplayData.Builder clearLabel()
         An optional label to display in a dax UI for the element.
         
        string label = 13;
        Returns:
        This builder for chaining.
      • setLabelBytes

        public DisplayData.Builder setLabelBytes​(com.google.protobuf.ByteString value)
         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.
      • setUnknownFields

        public final DisplayData.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DisplayData.Builder>
      • mergeUnknownFields

        public final DisplayData.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DisplayData.Builder>