/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/dataflow/v1beta3/jobs.proto

package com.google.dataflow.v1beta3;

/**
 *
 *
 * <pre>
 * Data provided with a pipeline or transform to provide descriptive info.
 * </pre>
 *
 * Protobuf type {@code google.dataflow.v1beta3.DisplayData}
 */
public final class DisplayData extends com.google.protobuf.GeneratedMessageV3
    implements
    // @@protoc_insertion_point(message_implements:google.dataflow.v1beta3.DisplayData)
    DisplayDataOrBuilder {
  private static final long serialVersionUID = 0L;
  // Use DisplayData.newBuilder() to construct.
  private DisplayData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }

  private DisplayData() {
    key_ = "";
    namespace_ = "";
    shortStrValue_ = "";
    url_ = "";
    label_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    return new DisplayData();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    return this.unknownFields;
  }

  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    return com.google.dataflow.v1beta3.JobsProto
        .internal_static_google_dataflow_v1beta3_DisplayData_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.google.dataflow.v1beta3.JobsProto
        .internal_static_google_dataflow_v1beta3_DisplayData_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.google.dataflow.v1beta3.DisplayData.class,
            com.google.dataflow.v1beta3.DisplayData.Builder.class);
  }

  private int valueCase_ = 0;
  private java.lang.Object value_;

  public enum ValueCase
      implements
          com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    STR_VALUE(4),
    INT64_VALUE(5),
    FLOAT_VALUE(6),
    JAVA_CLASS_VALUE(7),
    TIMESTAMP_VALUE(8),
    DURATION_VALUE(9),
    BOOL_VALUE(10),
    VALUE_NOT_SET(0);
    private final int value;

    private ValueCase(int value) {
      this.value = value;
    }
    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ValueCase valueOf(int value) {
      return forNumber(value);
    }

    public static ValueCase forNumber(int value) {
      switch (value) {
        case 4:
          return STR_VALUE;
        case 5:
          return INT64_VALUE;
        case 6:
          return FLOAT_VALUE;
        case 7:
          return JAVA_CLASS_VALUE;
        case 8:
          return TIMESTAMP_VALUE;
        case 9:
          return DURATION_VALUE;
        case 10:
          return BOOL_VALUE;
        case 0:
          return VALUE_NOT_SET;
        default:
          return null;
      }
    }

    public int getNumber() {
      return this.value;
    }
  };

  public ValueCase getValueCase() {
    return ValueCase.forNumber(valueCase_);
  }

  public static final int KEY_FIELD_NUMBER = 1;

  @SuppressWarnings("serial")
  private volatile java.lang.Object key_ = "";
  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>string key = 1;</code>
   *
   * @return The key.
   */
  @java.lang.Override
  public java.lang.String getKey() {
    java.lang.Object ref = key_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      key_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>string key = 1;</code>
   *
   * @return The bytes for key.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getKeyBytes() {
    java.lang.Object ref = key_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      key_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int NAMESPACE_FIELD_NUMBER = 2;

  @SuppressWarnings("serial")
  private volatile java.lang.Object namespace_ = "";
  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>string namespace = 2;</code>
   *
   * @return The namespace.
   */
  @java.lang.Override
  public java.lang.String getNamespace() {
    java.lang.Object ref = namespace_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      namespace_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>string namespace = 2;</code>
   *
   * @return The bytes for namespace.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getNamespaceBytes() {
    java.lang.Object ref = namespace_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      namespace_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int STR_VALUE_FIELD_NUMBER = 4;
  /**
   *
   *
   * <pre>
   * Contains value if the data is of string type.
   * </pre>
   *
   * <code>string str_value = 4;</code>
   *
   * @return Whether the strValue field is set.
   */
  public boolean hasStrValue() {
    return valueCase_ == 4;
  }
  /**
   *
   *
   * <pre>
   * Contains value if the data is of string type.
   * </pre>
   *
   * <code>string str_value = 4;</code>
   *
   * @return The strValue.
   */
  public java.lang.String getStrValue() {
    java.lang.Object ref = "";
    if (valueCase_ == 4) {
      ref = value_;
    }
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      if (valueCase_ == 4) {
        value_ = s;
      }
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Contains value if the data is of string type.
   * </pre>
   *
   * <code>string str_value = 4;</code>
   *
   * @return The bytes for strValue.
   */
  public com.google.protobuf.ByteString getStrValueBytes() {
    java.lang.Object ref = "";
    if (valueCase_ == 4) {
      ref = value_;
    }
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      if (valueCase_ == 4) {
        value_ = b;
      }
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int INT64_VALUE_FIELD_NUMBER = 5;
  /**
   *
   *
   * <pre>
   * Contains value if the data is of int64 type.
   * </pre>
   *
   * <code>int64 int64_value = 5;</code>
   *
   * @return Whether the int64Value field is set.
   */
  @java.lang.Override
  public boolean hasInt64Value() {
    return valueCase_ == 5;
  }
  /**
   *
   *
   * <pre>
   * Contains value if the data is of int64 type.
   * </pre>
   *
   * <code>int64 int64_value = 5;</code>
   *
   * @return The int64Value.
   */
  @java.lang.Override
  public long getInt64Value() {
    if (valueCase_ == 5) {
      return (java.lang.Long) value_;
    }
    return 0L;
  }

  public static final int FLOAT_VALUE_FIELD_NUMBER = 6;
  /**
   *
   *
   * <pre>
   * Contains value if the data is of float type.
   * </pre>
   *
   * <code>float float_value = 6;</code>
   *
   * @return Whether the floatValue field is set.
   */
  @java.lang.Override
  public boolean hasFloatValue() {
    return valueCase_ == 6;
  }
  /**
   *
   *
   * <pre>
   * Contains value if the data is of float type.
   * </pre>
   *
   * <code>float float_value = 6;</code>
   *
   * @return The floatValue.
   */
  @java.lang.Override
  public float getFloatValue() {
    if (valueCase_ == 6) {
      return (java.lang.Float) value_;
    }
    return 0F;
  }

  public static final int JAVA_CLASS_VALUE_FIELD_NUMBER = 7;
  /**
   *
   *
   * <pre>
   * Contains value if the data is of java class type.
   * </pre>
   *
   * <code>string java_class_value = 7;</code>
   *
   * @return Whether the javaClassValue field is set.
   */
  public boolean hasJavaClassValue() {
    return valueCase_ == 7;
  }
  /**
   *
   *
   * <pre>
   * Contains value if the data is of java class type.
   * </pre>
   *
   * <code>string java_class_value = 7;</code>
   *
   * @return The javaClassValue.
   */
  public java.lang.String getJavaClassValue() {
    java.lang.Object ref = "";
    if (valueCase_ == 7) {
      ref = value_;
    }
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      if (valueCase_ == 7) {
        value_ = s;
      }
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Contains value if the data is of java class type.
   * </pre>
   *
   * <code>string java_class_value = 7;</code>
   *
   * @return The bytes for javaClassValue.
   */
  public com.google.protobuf.ByteString getJavaClassValueBytes() {
    java.lang.Object ref = "";
    if (valueCase_ == 7) {
      ref = value_;
    }
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      if (valueCase_ == 7) {
        value_ = b;
      }
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 8;
  /**
   *
   *
   * <pre>
   * Contains value if the data is of timestamp type.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp timestamp_value = 8;</code>
   *
   * @return Whether the timestampValue field is set.
   */
  @java.lang.Override
  public boolean hasTimestampValue() {
    return valueCase_ == 8;
  }
  /**
   *
   *
   * <pre>
   * Contains value if the data is of timestamp type.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp timestamp_value = 8;</code>
   *
   * @return The timestampValue.
   */
  @java.lang.Override
  public com.google.protobuf.Timestamp getTimestampValue() {
    if (valueCase_ == 8) {
      return (com.google.protobuf.Timestamp) value_;
    }
    return com.google.protobuf.Timestamp.getDefaultInstance();
  }
  /**
   *
   *
   * <pre>
   * Contains value if the data is of timestamp type.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp timestamp_value = 8;</code>
   */
  @java.lang.Override
  public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
    if (valueCase_ == 8) {
      return (com.google.protobuf.Timestamp) value_;
    }
    return com.google.protobuf.Timestamp.getDefaultInstance();
  }

  public static final int DURATION_VALUE_FIELD_NUMBER = 9;
  /**
   *
   *
   * <pre>
   * Contains value if the data is of duration type.
   * </pre>
   *
   * <code>.google.protobuf.Duration duration_value = 9;</code>
   *
   * @return Whether the durationValue field is set.
   */
  @java.lang.Override
  public boolean hasDurationValue() {
    return valueCase_ == 9;
  }
  /**
   *
   *
   * <pre>
   * Contains value if the data is of duration type.
   * </pre>
   *
   * <code>.google.protobuf.Duration duration_value = 9;</code>
   *
   * @return The durationValue.
   */
  @java.lang.Override
  public com.google.protobuf.Duration getDurationValue() {
    if (valueCase_ == 9) {
      return (com.google.protobuf.Duration) value_;
    }
    return com.google.protobuf.Duration.getDefaultInstance();
  }
  /**
   *
   *
   * <pre>
   * Contains value if the data is of duration type.
   * </pre>
   *
   * <code>.google.protobuf.Duration duration_value = 9;</code>
   */
  @java.lang.Override
  public com.google.protobuf.DurationOrBuilder getDurationValueOrBuilder() {
    if (valueCase_ == 9) {
      return (com.google.protobuf.Duration) value_;
    }
    return com.google.protobuf.Duration.getDefaultInstance();
  }

  public static final int BOOL_VALUE_FIELD_NUMBER = 10;
  /**
   *
   *
   * <pre>
   * Contains value if the data is of a boolean type.
   * </pre>
   *
   * <code>bool bool_value = 10;</code>
   *
   * @return Whether the boolValue field is set.
   */
  @java.lang.Override
  public boolean hasBoolValue() {
    return valueCase_ == 10;
  }
  /**
   *
   *
   * <pre>
   * Contains value if the data is of a boolean type.
   * </pre>
   *
   * <code>bool bool_value = 10;</code>
   *
   * @return The boolValue.
   */
  @java.lang.Override
  public boolean getBoolValue() {
    if (valueCase_ == 10) {
      return (java.lang.Boolean) value_;
    }
    return false;
  }

  public static final int SHORT_STR_VALUE_FIELD_NUMBER = 11;

  @SuppressWarnings("serial")
  private volatile java.lang.Object shortStrValue_ = "";
  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>string short_str_value = 11;</code>
   *
   * @return The shortStrValue.
   */
  @java.lang.Override
  public java.lang.String getShortStrValue() {
    java.lang.Object ref = shortStrValue_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      shortStrValue_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>string short_str_value = 11;</code>
   *
   * @return The bytes for shortStrValue.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getShortStrValueBytes() {
    java.lang.Object ref = shortStrValue_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      shortStrValue_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int URL_FIELD_NUMBER = 12;

  @SuppressWarnings("serial")
  private volatile java.lang.Object url_ = "";
  /**
   *
   *
   * <pre>
   * An optional full URL.
   * </pre>
   *
   * <code>string url = 12;</code>
   *
   * @return The url.
   */
  @java.lang.Override
  public java.lang.String getUrl() {
    java.lang.Object ref = url_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      url_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * An optional full URL.
   * </pre>
   *
   * <code>string url = 12;</code>
   *
   * @return The bytes for url.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getUrlBytes() {
    java.lang.Object ref = url_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      url_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int LABEL_FIELD_NUMBER = 13;

  @SuppressWarnings("serial")
  private volatile java.lang.Object label_ = "";
  /**
   *
   *
   * <pre>
   * An optional label to display in a dax UI for the element.
   * </pre>
   *
   * <code>string label = 13;</code>
   *
   * @return The label.
   */
  @java.lang.Override
  public java.lang.String getLabel() {
    java.lang.Object ref = label_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      label_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * An optional label to display in a dax UI for the element.
   * </pre>
   *
   * <code>string label = 13;</code>
   *
   * @return The bytes for label.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getLabelBytes() {
    java.lang.Object ref = label_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      label_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  private byte memoizedIsInitialized = -1;

  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, namespace_);
    }
    if (valueCase_ == 4) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, value_);
    }
    if (valueCase_ == 5) {
      output.writeInt64(5, (long) ((java.lang.Long) value_));
    }
    if (valueCase_ == 6) {
      output.writeFloat(6, (float) ((java.lang.Float) value_));
    }
    if (valueCase_ == 7) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, value_);
    }
    if (valueCase_ == 8) {
      output.writeMessage(8, (com.google.protobuf.Timestamp) value_);
    }
    if (valueCase_ == 9) {
      output.writeMessage(9, (com.google.protobuf.Duration) value_);
    }
    if (valueCase_ == 10) {
      output.writeBool(10, (boolean) ((java.lang.Boolean) value_));
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shortStrValue_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, shortStrValue_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, url_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(label_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, label_);
    }
    getUnknownFields().writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, namespace_);
    }
    if (valueCase_ == 4) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, value_);
    }
    if (valueCase_ == 5) {
      size +=
          com.google.protobuf.CodedOutputStream.computeInt64Size(
              5, (long) ((java.lang.Long) value_));
    }
    if (valueCase_ == 6) {
      size +=
          com.google.protobuf.CodedOutputStream.computeFloatSize(
              6, (float) ((java.lang.Float) value_));
    }
    if (valueCase_ == 7) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, value_);
    }
    if (valueCase_ == 8) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              8, (com.google.protobuf.Timestamp) value_);
    }
    if (valueCase_ == 9) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              9, (com.google.protobuf.Duration) value_);
    }
    if (valueCase_ == 10) {
      size +=
          com.google.protobuf.CodedOutputStream.computeBoolSize(
              10, (boolean) ((java.lang.Boolean) value_));
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shortStrValue_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, shortStrValue_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, url_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(label_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, label_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.dataflow.v1beta3.DisplayData)) {
      return super.equals(obj);
    }
    com.google.dataflow.v1beta3.DisplayData other = (com.google.dataflow.v1beta3.DisplayData) obj;

    if (!getKey().equals(other.getKey())) return false;
    if (!getNamespace().equals(other.getNamespace())) return false;
    if (!getShortStrValue().equals(other.getShortStrValue())) return false;
    if (!getUrl().equals(other.getUrl())) return false;
    if (!getLabel().equals(other.getLabel())) return false;
    if (!getValueCase().equals(other.getValueCase())) return false;
    switch (valueCase_) {
      case 4:
        if (!getStrValue().equals(other.getStrValue())) return false;
        break;
      case 5:
        if (getInt64Value() != other.getInt64Value()) return false;
        break;
      case 6:
        if (java.lang.Float.floatToIntBits(getFloatValue())
            != java.lang.Float.floatToIntBits(other.getFloatValue())) return false;
        break;
      case 7:
        if (!getJavaClassValue().equals(other.getJavaClassValue())) return false;
        break;
      case 8:
        if (!getTimestampValue().equals(other.getTimestampValue())) return false;
        break;
      case 9:
        if (!getDurationValue().equals(other.getDurationValue())) return false;
        break;
      case 10:
        if (getBoolValue() != other.getBoolValue()) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + KEY_FIELD_NUMBER;
    hash = (53 * hash) + getKey().hashCode();
    hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
    hash = (53 * hash) + getNamespace().hashCode();
    hash = (37 * hash) + SHORT_STR_VALUE_FIELD_NUMBER;
    hash = (53 * hash) + getShortStrValue().hashCode();
    hash = (37 * hash) + URL_FIELD_NUMBER;
    hash = (53 * hash) + getUrl().hashCode();
    hash = (37 * hash) + LABEL_FIELD_NUMBER;
    hash = (53 * hash) + getLabel().hashCode();
    switch (valueCase_) {
      case 4:
        hash = (37 * hash) + STR_VALUE_FIELD_NUMBER;
        hash = (53 * hash) + getStrValue().hashCode();
        break;
      case 5:
        hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInt64Value());
        break;
      case 6:
        hash = (37 * hash) + FLOAT_VALUE_FIELD_NUMBER;
        hash = (53 * hash) + java.lang.Float.floatToIntBits(getFloatValue());
        break;
      case 7:
        hash = (37 * hash) + JAVA_CLASS_VALUE_FIELD_NUMBER;
        hash = (53 * hash) + getJavaClassValue().hashCode();
        break;
      case 8:
        hash = (37 * hash) + TIMESTAMP_VALUE_FIELD_NUMBER;
        hash = (53 * hash) + getTimestampValue().hashCode();
        break;
      case 9:
        hash = (37 * hash) + DURATION_VALUE_FIELD_NUMBER;
        hash = (53 * hash) + getDurationValue().hashCode();
        break;
      case 10:
        hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBoolValue());
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.google.dataflow.v1beta3.DisplayData parseFrom(java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.dataflow.v1beta3.DisplayData parseFrom(
      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.dataflow.v1beta3.DisplayData parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.dataflow.v1beta3.DisplayData parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.dataflow.v1beta3.DisplayData parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.dataflow.v1beta3.DisplayData parseFrom(
      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.dataflow.v1beta3.DisplayData parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
  }

  public static com.google.dataflow.v1beta3.DisplayData parseFrom(
      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        PARSER, input, extensionRegistry);
  }

  public static com.google.dataflow.v1beta3.DisplayData parseDelimitedFrom(
      java.io.InputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
  }

  public static com.google.dataflow.v1beta3.DisplayData parseDelimitedFrom(
      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
        PARSER, input, extensionRegistry);
  }

  public static com.google.dataflow.v1beta3.DisplayData parseFrom(
      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
  }

  public static com.google.dataflow.v1beta3.DisplayData parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() {
    return newBuilder();
  }

  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }

  public static Builder newBuilder(com.google.dataflow.v1beta3.DisplayData prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }

  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   *
   *
   * <pre>
   * Data provided with a pipeline or transform to provide descriptive info.
   * </pre>
   *
   * Protobuf type {@code google.dataflow.v1beta3.DisplayData}
   */
  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
      implements
      // @@protoc_insertion_point(builder_implements:google.dataflow.v1beta3.DisplayData)
      com.google.dataflow.v1beta3.DisplayDataOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.dataflow.v1beta3.JobsProto
          .internal_static_google_dataflow_v1beta3_DisplayData_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.dataflow.v1beta3.JobsProto
          .internal_static_google_dataflow_v1beta3_DisplayData_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.dataflow.v1beta3.DisplayData.class,
              com.google.dataflow.v1beta3.DisplayData.Builder.class);
    }

    // Construct using com.google.dataflow.v1beta3.DisplayData.newBuilder()
    private Builder() {}

    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
    }

    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      key_ = "";
      namespace_ = "";
      if (timestampValueBuilder_ != null) {
        timestampValueBuilder_.clear();
      }
      if (durationValueBuilder_ != null) {
        durationValueBuilder_.clear();
      }
      shortStrValue_ = "";
      url_ = "";
      label_ = "";
      valueCase_ = 0;
      value_ = null;
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
      return com.google.dataflow.v1beta3.JobsProto
          .internal_static_google_dataflow_v1beta3_DisplayData_descriptor;
    }

    @java.lang.Override
    public com.google.dataflow.v1beta3.DisplayData getDefaultInstanceForType() {
      return com.google.dataflow.v1beta3.DisplayData.getDefaultInstance();
    }

    @java.lang.Override
    public com.google.dataflow.v1beta3.DisplayData build() {
      com.google.dataflow.v1beta3.DisplayData result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.google.dataflow.v1beta3.DisplayData buildPartial() {
      com.google.dataflow.v1beta3.DisplayData result =
          new com.google.dataflow.v1beta3.DisplayData(this);
      if (bitField0_ != 0) {
        buildPartial0(result);
      }
      buildPartialOneofs(result);
      onBuilt();
      return result;
    }

    private void buildPartial0(com.google.dataflow.v1beta3.DisplayData result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.key_ = key_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.namespace_ = namespace_;
      }
      if (((from_bitField0_ & 0x00000200) != 0)) {
        result.shortStrValue_ = shortStrValue_;
      }
      if (((from_bitField0_ & 0x00000400) != 0)) {
        result.url_ = url_;
      }
      if (((from_bitField0_ & 0x00000800) != 0)) {
        result.label_ = label_;
      }
    }

    private void buildPartialOneofs(com.google.dataflow.v1beta3.DisplayData result) {
      result.valueCase_ = valueCase_;
      result.value_ = this.value_;
      if (valueCase_ == 8 && timestampValueBuilder_ != null) {
        result.value_ = timestampValueBuilder_.build();
      }
      if (valueCase_ == 9 && durationValueBuilder_ != null) {
        result.value_ = durationValueBuilder_.build();
      }
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }

    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
      return super.setField(field, value);
    }

    @java.lang.Override
    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }

    @java.lang.Override
    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }

    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }

    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }

    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.google.dataflow.v1beta3.DisplayData) {
        return mergeFrom((com.google.dataflow.v1beta3.DisplayData) other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.google.dataflow.v1beta3.DisplayData other) {
      if (other == com.google.dataflow.v1beta3.DisplayData.getDefaultInstance()) return this;
      if (!other.getKey().isEmpty()) {
        key_ = other.key_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (!other.getNamespace().isEmpty()) {
        namespace_ = other.namespace_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (!other.getShortStrValue().isEmpty()) {
        shortStrValue_ = other.shortStrValue_;
        bitField0_ |= 0x00000200;
        onChanged();
      }
      if (!other.getUrl().isEmpty()) {
        url_ = other.url_;
        bitField0_ |= 0x00000400;
        onChanged();
      }
      if (!other.getLabel().isEmpty()) {
        label_ = other.label_;
        bitField0_ |= 0x00000800;
        onChanged();
      }
      switch (other.getValueCase()) {
        case STR_VALUE:
          {
            valueCase_ = 4;
            value_ = other.value_;
            onChanged();
            break;
          }
        case INT64_VALUE:
          {
            setInt64Value(other.getInt64Value());
            break;
          }
        case FLOAT_VALUE:
          {
            setFloatValue(other.getFloatValue());
            break;
          }
        case JAVA_CLASS_VALUE:
          {
            valueCase_ = 7;
            value_ = other.value_;
            onChanged();
            break;
          }
        case TIMESTAMP_VALUE:
          {
            mergeTimestampValue(other.getTimestampValue());
            break;
          }
        case DURATION_VALUE:
          {
            mergeDurationValue(other.getDurationValue());
            break;
          }
        case BOOL_VALUE:
          {
            setBoolValue(other.getBoolValue());
            break;
          }
        case VALUE_NOT_SET:
          {
            break;
          }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10:
              {
                key_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
            case 18:
              {
                namespace_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000002;
                break;
              } // case 18
            case 34:
              {
                java.lang.String s = input.readStringRequireUtf8();
                valueCase_ = 4;
                value_ = s;
                break;
              } // case 34
            case 40:
              {
                value_ = input.readInt64();
                valueCase_ = 5;
                break;
              } // case 40
            case 53:
              {
                value_ = input.readFloat();
                valueCase_ = 6;
                break;
              } // case 53
            case 58:
              {
                java.lang.String s = input.readStringRequireUtf8();
                valueCase_ = 7;
                value_ = s;
                break;
              } // case 58
            case 66:
              {
                input.readMessage(getTimestampValueFieldBuilder().getBuilder(), extensionRegistry);
                valueCase_ = 8;
                break;
              } // case 66
            case 74:
              {
                input.readMessage(getDurationValueFieldBuilder().getBuilder(), extensionRegistry);
                valueCase_ = 9;
                break;
              } // case 74
            case 80:
              {
                value_ = input.readBool();
                valueCase_ = 10;
                break;
              } // case 80
            case 90:
              {
                shortStrValue_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000200;
                break;
              } // case 90
            case 98:
              {
                url_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000400;
                break;
              } // case 98
            case 106:
              {
                label_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000800;
                break;
              } // case 106
            default:
              {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }

    private int valueCase_ = 0;
    private java.lang.Object value_;

    public ValueCase getValueCase() {
      return ValueCase.forNumber(valueCase_);
    }

    public Builder clearValue() {
      valueCase_ = 0;
      value_ = null;
      onChanged();
      return this;
    }

    private int bitField0_;

    private java.lang.Object key_ = "";
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>string key = 1;</code>
     *
     * @return The key.
     */
    public java.lang.String getKey() {
      java.lang.Object ref = key_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        key_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>string key = 1;</code>
     *
     * @return The bytes for key.
     */
    public com.google.protobuf.ByteString getKeyBytes() {
      java.lang.Object ref = key_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        key_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>string key = 1;</code>
     *
     * @param value The key to set.
     * @return This builder for chaining.
     */
    public Builder setKey(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      key_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>string key = 1;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearKey() {
      key_ = getDefaultInstance().getKey();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>string key = 1;</code>
     *
     * @param value The bytes for key to set.
     * @return This builder for chaining.
     */
    public Builder setKeyBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      key_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

    private java.lang.Object namespace_ = "";
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>string namespace = 2;</code>
     *
     * @return The namespace.
     */
    public java.lang.String getNamespace() {
      java.lang.Object ref = namespace_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        namespace_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>string namespace = 2;</code>
     *
     * @return The bytes for namespace.
     */
    public com.google.protobuf.ByteString getNamespaceBytes() {
      java.lang.Object ref = namespace_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        namespace_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>string namespace = 2;</code>
     *
     * @param value The namespace to set.
     * @return This builder for chaining.
     */
    public Builder setNamespace(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      namespace_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>string namespace = 2;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearNamespace() {
      namespace_ = getDefaultInstance().getNamespace();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>string namespace = 2;</code>
     *
     * @param value The bytes for namespace to set.
     * @return This builder for chaining.
     */
    public Builder setNamespaceBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      namespace_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }

    /**
     *
     *
     * <pre>
     * Contains value if the data is of string type.
     * </pre>
     *
     * <code>string str_value = 4;</code>
     *
     * @return Whether the strValue field is set.
     */
    @java.lang.Override
    public boolean hasStrValue() {
      return valueCase_ == 4;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of string type.
     * </pre>
     *
     * <code>string str_value = 4;</code>
     *
     * @return The strValue.
     */
    @java.lang.Override
    public java.lang.String getStrValue() {
      java.lang.Object ref = "";
      if (valueCase_ == 4) {
        ref = value_;
      }
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (valueCase_ == 4) {
          value_ = s;
        }
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of string type.
     * </pre>
     *
     * <code>string str_value = 4;</code>
     *
     * @return The bytes for strValue.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getStrValueBytes() {
      java.lang.Object ref = "";
      if (valueCase_ == 4) {
        ref = value_;
      }
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        if (valueCase_ == 4) {
          value_ = b;
        }
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of string type.
     * </pre>
     *
     * <code>string str_value = 4;</code>
     *
     * @param value The strValue to set.
     * @return This builder for chaining.
     */
    public Builder setStrValue(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      valueCase_ = 4;
      value_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of string type.
     * </pre>
     *
     * <code>string str_value = 4;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearStrValue() {
      if (valueCase_ == 4) {
        valueCase_ = 0;
        value_ = null;
        onChanged();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of string type.
     * </pre>
     *
     * <code>string str_value = 4;</code>
     *
     * @param value The bytes for strValue to set.
     * @return This builder for chaining.
     */
    public Builder setStrValueBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      valueCase_ = 4;
      value_ = value;
      onChanged();
      return this;
    }

    /**
     *
     *
     * <pre>
     * Contains value if the data is of int64 type.
     * </pre>
     *
     * <code>int64 int64_value = 5;</code>
     *
     * @return Whether the int64Value field is set.
     */
    public boolean hasInt64Value() {
      return valueCase_ == 5;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of int64 type.
     * </pre>
     *
     * <code>int64 int64_value = 5;</code>
     *
     * @return The int64Value.
     */
    public long getInt64Value() {
      if (valueCase_ == 5) {
        return (java.lang.Long) value_;
      }
      return 0L;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of int64 type.
     * </pre>
     *
     * <code>int64 int64_value = 5;</code>
     *
     * @param value The int64Value to set.
     * @return This builder for chaining.
     */
    public Builder setInt64Value(long value) {

      valueCase_ = 5;
      value_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of int64 type.
     * </pre>
     *
     * <code>int64 int64_value = 5;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearInt64Value() {
      if (valueCase_ == 5) {
        valueCase_ = 0;
        value_ = null;
        onChanged();
      }
      return this;
    }

    /**
     *
     *
     * <pre>
     * Contains value if the data is of float type.
     * </pre>
     *
     * <code>float float_value = 6;</code>
     *
     * @return Whether the floatValue field is set.
     */
    public boolean hasFloatValue() {
      return valueCase_ == 6;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of float type.
     * </pre>
     *
     * <code>float float_value = 6;</code>
     *
     * @return The floatValue.
     */
    public float getFloatValue() {
      if (valueCase_ == 6) {
        return (java.lang.Float) value_;
      }
      return 0F;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of float type.
     * </pre>
     *
     * <code>float float_value = 6;</code>
     *
     * @param value The floatValue to set.
     * @return This builder for chaining.
     */
    public Builder setFloatValue(float value) {

      valueCase_ = 6;
      value_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of float type.
     * </pre>
     *
     * <code>float float_value = 6;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFloatValue() {
      if (valueCase_ == 6) {
        valueCase_ = 0;
        value_ = null;
        onChanged();
      }
      return this;
    }

    /**
     *
     *
     * <pre>
     * Contains value if the data is of java class type.
     * </pre>
     *
     * <code>string java_class_value = 7;</code>
     *
     * @return Whether the javaClassValue field is set.
     */
    @java.lang.Override
    public boolean hasJavaClassValue() {
      return valueCase_ == 7;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of java class type.
     * </pre>
     *
     * <code>string java_class_value = 7;</code>
     *
     * @return The javaClassValue.
     */
    @java.lang.Override
    public java.lang.String getJavaClassValue() {
      java.lang.Object ref = "";
      if (valueCase_ == 7) {
        ref = value_;
      }
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (valueCase_ == 7) {
          value_ = s;
        }
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of java class type.
     * </pre>
     *
     * <code>string java_class_value = 7;</code>
     *
     * @return The bytes for javaClassValue.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getJavaClassValueBytes() {
      java.lang.Object ref = "";
      if (valueCase_ == 7) {
        ref = value_;
      }
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        if (valueCase_ == 7) {
          value_ = b;
        }
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of java class type.
     * </pre>
     *
     * <code>string java_class_value = 7;</code>
     *
     * @param value The javaClassValue to set.
     * @return This builder for chaining.
     */
    public Builder setJavaClassValue(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      valueCase_ = 7;
      value_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of java class type.
     * </pre>
     *
     * <code>string java_class_value = 7;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearJavaClassValue() {
      if (valueCase_ == 7) {
        valueCase_ = 0;
        value_ = null;
        onChanged();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of java class type.
     * </pre>
     *
     * <code>string java_class_value = 7;</code>
     *
     * @param value The bytes for javaClassValue to set.
     * @return This builder for chaining.
     */
    public Builder setJavaClassValueBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      valueCase_ = 7;
      value_ = value;
      onChanged();
      return this;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        timestampValueBuilder_;
    /**
     *
     *
     * <pre>
     * Contains value if the data is of timestamp type.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp timestamp_value = 8;</code>
     *
     * @return Whether the timestampValue field is set.
     */
    @java.lang.Override
    public boolean hasTimestampValue() {
      return valueCase_ == 8;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of timestamp type.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp timestamp_value = 8;</code>
     *
     * @return The timestampValue.
     */
    @java.lang.Override
    public com.google.protobuf.Timestamp getTimestampValue() {
      if (timestampValueBuilder_ == null) {
        if (valueCase_ == 8) {
          return (com.google.protobuf.Timestamp) value_;
        }
        return com.google.protobuf.Timestamp.getDefaultInstance();
      } else {
        if (valueCase_ == 8) {
          return timestampValueBuilder_.getMessage();
        }
        return com.google.protobuf.Timestamp.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of timestamp type.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp timestamp_value = 8;</code>
     */
    public Builder setTimestampValue(com.google.protobuf.Timestamp value) {
      if (timestampValueBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        value_ = value;
        onChanged();
      } else {
        timestampValueBuilder_.setMessage(value);
      }
      valueCase_ = 8;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of timestamp type.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp timestamp_value = 8;</code>
     */
    public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue) {
      if (timestampValueBuilder_ == null) {
        value_ = builderForValue.build();
        onChanged();
      } else {
        timestampValueBuilder_.setMessage(builderForValue.build());
      }
      valueCase_ = 8;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of timestamp type.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp timestamp_value = 8;</code>
     */
    public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) {
      if (timestampValueBuilder_ == null) {
        if (valueCase_ == 8 && value_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
          value_ =
              com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) value_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          value_ = value;
        }
        onChanged();
      } else {
        if (valueCase_ == 8) {
          timestampValueBuilder_.mergeFrom(value);
        } else {
          timestampValueBuilder_.setMessage(value);
        }
      }
      valueCase_ = 8;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of timestamp type.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp timestamp_value = 8;</code>
     */
    public Builder clearTimestampValue() {
      if (timestampValueBuilder_ == null) {
        if (valueCase_ == 8) {
          valueCase_ = 0;
          value_ = null;
          onChanged();
        }
      } else {
        if (valueCase_ == 8) {
          valueCase_ = 0;
          value_ = null;
        }
        timestampValueBuilder_.clear();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of timestamp type.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp timestamp_value = 8;</code>
     */
    public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() {
      return getTimestampValueFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of timestamp type.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp timestamp_value = 8;</code>
     */
    @java.lang.Override
    public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
      if ((valueCase_ == 8) && (timestampValueBuilder_ != null)) {
        return timestampValueBuilder_.getMessageOrBuilder();
      } else {
        if (valueCase_ == 8) {
          return (com.google.protobuf.Timestamp) value_;
        }
        return com.google.protobuf.Timestamp.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of timestamp type.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp timestamp_value = 8;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        getTimestampValueFieldBuilder() {
      if (timestampValueBuilder_ == null) {
        if (!(valueCase_ == 8)) {
          value_ = com.google.protobuf.Timestamp.getDefaultInstance();
        }
        timestampValueBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Timestamp,
                com.google.protobuf.Timestamp.Builder,
                com.google.protobuf.TimestampOrBuilder>(
                (com.google.protobuf.Timestamp) value_, getParentForChildren(), isClean());
        value_ = null;
      }
      valueCase_ = 8;
      onChanged();
      return timestampValueBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Duration,
            com.google.protobuf.Duration.Builder,
            com.google.protobuf.DurationOrBuilder>
        durationValueBuilder_;
    /**
     *
     *
     * <pre>
     * Contains value if the data is of duration type.
     * </pre>
     *
     * <code>.google.protobuf.Duration duration_value = 9;</code>
     *
     * @return Whether the durationValue field is set.
     */
    @java.lang.Override
    public boolean hasDurationValue() {
      return valueCase_ == 9;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of duration type.
     * </pre>
     *
     * <code>.google.protobuf.Duration duration_value = 9;</code>
     *
     * @return The durationValue.
     */
    @java.lang.Override
    public com.google.protobuf.Duration getDurationValue() {
      if (durationValueBuilder_ == null) {
        if (valueCase_ == 9) {
          return (com.google.protobuf.Duration) value_;
        }
        return com.google.protobuf.Duration.getDefaultInstance();
      } else {
        if (valueCase_ == 9) {
          return durationValueBuilder_.getMessage();
        }
        return com.google.protobuf.Duration.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of duration type.
     * </pre>
     *
     * <code>.google.protobuf.Duration duration_value = 9;</code>
     */
    public Builder setDurationValue(com.google.protobuf.Duration value) {
      if (durationValueBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        value_ = value;
        onChanged();
      } else {
        durationValueBuilder_.setMessage(value);
      }
      valueCase_ = 9;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of duration type.
     * </pre>
     *
     * <code>.google.protobuf.Duration duration_value = 9;</code>
     */
    public Builder setDurationValue(com.google.protobuf.Duration.Builder builderForValue) {
      if (durationValueBuilder_ == null) {
        value_ = builderForValue.build();
        onChanged();
      } else {
        durationValueBuilder_.setMessage(builderForValue.build());
      }
      valueCase_ = 9;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of duration type.
     * </pre>
     *
     * <code>.google.protobuf.Duration duration_value = 9;</code>
     */
    public Builder mergeDurationValue(com.google.protobuf.Duration value) {
      if (durationValueBuilder_ == null) {
        if (valueCase_ == 9 && value_ != com.google.protobuf.Duration.getDefaultInstance()) {
          value_ =
              com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) value_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          value_ = value;
        }
        onChanged();
      } else {
        if (valueCase_ == 9) {
          durationValueBuilder_.mergeFrom(value);
        } else {
          durationValueBuilder_.setMessage(value);
        }
      }
      valueCase_ = 9;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of duration type.
     * </pre>
     *
     * <code>.google.protobuf.Duration duration_value = 9;</code>
     */
    public Builder clearDurationValue() {
      if (durationValueBuilder_ == null) {
        if (valueCase_ == 9) {
          valueCase_ = 0;
          value_ = null;
          onChanged();
        }
      } else {
        if (valueCase_ == 9) {
          valueCase_ = 0;
          value_ = null;
        }
        durationValueBuilder_.clear();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of duration type.
     * </pre>
     *
     * <code>.google.protobuf.Duration duration_value = 9;</code>
     */
    public com.google.protobuf.Duration.Builder getDurationValueBuilder() {
      return getDurationValueFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of duration type.
     * </pre>
     *
     * <code>.google.protobuf.Duration duration_value = 9;</code>
     */
    @java.lang.Override
    public com.google.protobuf.DurationOrBuilder getDurationValueOrBuilder() {
      if ((valueCase_ == 9) && (durationValueBuilder_ != null)) {
        return durationValueBuilder_.getMessageOrBuilder();
      } else {
        if (valueCase_ == 9) {
          return (com.google.protobuf.Duration) value_;
        }
        return com.google.protobuf.Duration.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of duration type.
     * </pre>
     *
     * <code>.google.protobuf.Duration duration_value = 9;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Duration,
            com.google.protobuf.Duration.Builder,
            com.google.protobuf.DurationOrBuilder>
        getDurationValueFieldBuilder() {
      if (durationValueBuilder_ == null) {
        if (!(valueCase_ == 9)) {
          value_ = com.google.protobuf.Duration.getDefaultInstance();
        }
        durationValueBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Duration,
                com.google.protobuf.Duration.Builder,
                com.google.protobuf.DurationOrBuilder>(
                (com.google.protobuf.Duration) value_, getParentForChildren(), isClean());
        value_ = null;
      }
      valueCase_ = 9;
      onChanged();
      return durationValueBuilder_;
    }

    /**
     *
     *
     * <pre>
     * Contains value if the data is of a boolean type.
     * </pre>
     *
     * <code>bool bool_value = 10;</code>
     *
     * @return Whether the boolValue field is set.
     */
    public boolean hasBoolValue() {
      return valueCase_ == 10;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of a boolean type.
     * </pre>
     *
     * <code>bool bool_value = 10;</code>
     *
     * @return The boolValue.
     */
    public boolean getBoolValue() {
      if (valueCase_ == 10) {
        return (java.lang.Boolean) value_;
      }
      return false;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of a boolean type.
     * </pre>
     *
     * <code>bool bool_value = 10;</code>
     *
     * @param value The boolValue to set.
     * @return This builder for chaining.
     */
    public Builder setBoolValue(boolean value) {

      valueCase_ = 10;
      value_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Contains value if the data is of a boolean type.
     * </pre>
     *
     * <code>bool bool_value = 10;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearBoolValue() {
      if (valueCase_ == 10) {
        valueCase_ = 0;
        value_ = null;
        onChanged();
      }
      return this;
    }

    private java.lang.Object shortStrValue_ = "";
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>string short_str_value = 11;</code>
     *
     * @return The shortStrValue.
     */
    public java.lang.String getShortStrValue() {
      java.lang.Object ref = shortStrValue_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        shortStrValue_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>string short_str_value = 11;</code>
     *
     * @return The bytes for shortStrValue.
     */
    public com.google.protobuf.ByteString getShortStrValueBytes() {
      java.lang.Object ref = shortStrValue_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        shortStrValue_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>string short_str_value = 11;</code>
     *
     * @param value The shortStrValue to set.
     * @return This builder for chaining.
     */
    public Builder setShortStrValue(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      shortStrValue_ = value;
      bitField0_ |= 0x00000200;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>string short_str_value = 11;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearShortStrValue() {
      shortStrValue_ = getDefaultInstance().getShortStrValue();
      bitField0_ = (bitField0_ & ~0x00000200);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>string short_str_value = 11;</code>
     *
     * @param value The bytes for shortStrValue to set.
     * @return This builder for chaining.
     */
    public Builder setShortStrValueBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      shortStrValue_ = value;
      bitField0_ |= 0x00000200;
      onChanged();
      return this;
    }

    private java.lang.Object url_ = "";
    /**
     *
     *
     * <pre>
     * An optional full URL.
     * </pre>
     *
     * <code>string url = 12;</code>
     *
     * @return The url.
     */
    public java.lang.String getUrl() {
      java.lang.Object ref = url_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        url_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * An optional full URL.
     * </pre>
     *
     * <code>string url = 12;</code>
     *
     * @return The bytes for url.
     */
    public com.google.protobuf.ByteString getUrlBytes() {
      java.lang.Object ref = url_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        url_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * An optional full URL.
     * </pre>
     *
     * <code>string url = 12;</code>
     *
     * @param value The url to set.
     * @return This builder for chaining.
     */
    public Builder setUrl(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      url_ = value;
      bitField0_ |= 0x00000400;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * An optional full URL.
     * </pre>
     *
     * <code>string url = 12;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearUrl() {
      url_ = getDefaultInstance().getUrl();
      bitField0_ = (bitField0_ & ~0x00000400);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * An optional full URL.
     * </pre>
     *
     * <code>string url = 12;</code>
     *
     * @param value The bytes for url to set.
     * @return This builder for chaining.
     */
    public Builder setUrlBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      url_ = value;
      bitField0_ |= 0x00000400;
      onChanged();
      return this;
    }

    private java.lang.Object label_ = "";
    /**
     *
     *
     * <pre>
     * An optional label to display in a dax UI for the element.
     * </pre>
     *
     * <code>string label = 13;</code>
     *
     * @return The label.
     */
    public java.lang.String getLabel() {
      java.lang.Object ref = label_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        label_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * An optional label to display in a dax UI for the element.
     * </pre>
     *
     * <code>string label = 13;</code>
     *
     * @return The bytes for label.
     */
    public com.google.protobuf.ByteString getLabelBytes() {
      java.lang.Object ref = label_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        label_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * An optional label to display in a dax UI for the element.
     * </pre>
     *
     * <code>string label = 13;</code>
     *
     * @param value The label to set.
     * @return This builder for chaining.
     */
    public Builder setLabel(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      label_ = value;
      bitField0_ |= 0x00000800;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * An optional label to display in a dax UI for the element.
     * </pre>
     *
     * <code>string label = 13;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearLabel() {
      label_ = getDefaultInstance().getLabel();
      bitField0_ = (bitField0_ & ~0x00000800);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * An optional label to display in a dax UI for the element.
     * </pre>
     *
     * <code>string label = 13;</code>
     *
     * @param value The bytes for label to set.
     * @return This builder for chaining.
     */
    public Builder setLabelBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      label_ = value;
      bitField0_ |= 0x00000800;
      onChanged();
      return this;
    }

    @java.lang.Override
    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }

    // @@protoc_insertion_point(builder_scope:google.dataflow.v1beta3.DisplayData)
  }

  // @@protoc_insertion_point(class_scope:google.dataflow.v1beta3.DisplayData)
  private static final com.google.dataflow.v1beta3.DisplayData DEFAULT_INSTANCE;

  static {
    DEFAULT_INSTANCE = new com.google.dataflow.v1beta3.DisplayData();
  }

  public static com.google.dataflow.v1beta3.DisplayData getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<DisplayData> PARSER =
      new com.google.protobuf.AbstractParser<DisplayData>() {
        @java.lang.Override
        public DisplayData parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          Builder builder = newBuilder();
          try {
            builder.mergeFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.setUnfinishedMessage(builder.buildPartial());
          } catch (com.google.protobuf.UninitializedMessageException e) {
            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
          } catch (java.io.IOException e) {
            throw new com.google.protobuf.InvalidProtocolBufferException(e)
                .setUnfinishedMessage(builder.buildPartial());
          }
          return builder.buildPartial();
        }
      };

  public static com.google.protobuf.Parser<DisplayData> parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser<DisplayData> getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.dataflow.v1beta3.DisplayData getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }
}
