// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tensorflow/core/protobuf/composite_tensor_variant.proto

package org.tensorflow.proto.framework;

public final class CompositeTensorVariant {
  private CompositeTensorVariant() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface CompositeTensorVariantMetadataOrBuilder extends
      // @@protoc_insertion_point(interface_extends:tensorflow.CompositeTensorVariantMetadata)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.tensorflow.TypeSpecProto type_spec_proto = 1;</code>
     */
    boolean hasTypeSpecProto();
    /**
     * <code>.tensorflow.TypeSpecProto type_spec_proto = 1;</code>
     */
    org.tensorflow.proto.framework.TypeSpecProto getTypeSpecProto();
    /**
     * <code>.tensorflow.TypeSpecProto type_spec_proto = 1;</code>
     */
    org.tensorflow.proto.framework.TypeSpecProtoOrBuilder getTypeSpecProtoOrBuilder();
  }
  /**
   * <pre>
   * Metadata for CompositeTensorVariant, used when serializing as Variant.
   * We define a new message here (rather than directly using TypeSpecProto for
   * the metadata string) to retain flexibility to change the metadata encoding
   * to support additional features.
   * </pre>
   *
   * Protobuf type {@code tensorflow.CompositeTensorVariantMetadata}
   */
  public  static final class CompositeTensorVariantMetadata extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:tensorflow.CompositeTensorVariantMetadata)
      CompositeTensorVariantMetadataOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CompositeTensorVariantMetadata.newBuilder() to construct.
    private CompositeTensorVariantMetadata(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private CompositeTensorVariantMetadata() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CompositeTensorVariantMetadata(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              org.tensorflow.proto.framework.TypeSpecProto.Builder subBuilder = null;
              if (typeSpecProto_ != null) {
                subBuilder = typeSpecProto_.toBuilder();
              }
              typeSpecProto_ = input.readMessage(org.tensorflow.proto.framework.TypeSpecProto.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(typeSpecProto_);
                typeSpecProto_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.tensorflow.proto.framework.CompositeTensorVariant.internal_static_tensorflow_CompositeTensorVariantMetadata_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.tensorflow.proto.framework.CompositeTensorVariant.internal_static_tensorflow_CompositeTensorVariantMetadata_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata.class, org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata.Builder.class);
    }

    public static final int TYPE_SPEC_PROTO_FIELD_NUMBER = 1;
    private org.tensorflow.proto.framework.TypeSpecProto typeSpecProto_;
    /**
     * <code>.tensorflow.TypeSpecProto type_spec_proto = 1;</code>
     */
    public boolean hasTypeSpecProto() {
      return typeSpecProto_ != null;
    }
    /**
     * <code>.tensorflow.TypeSpecProto type_spec_proto = 1;</code>
     */
    public org.tensorflow.proto.framework.TypeSpecProto getTypeSpecProto() {
      return typeSpecProto_ == null ? org.tensorflow.proto.framework.TypeSpecProto.getDefaultInstance() : typeSpecProto_;
    }
    /**
     * <code>.tensorflow.TypeSpecProto type_spec_proto = 1;</code>
     */
    public org.tensorflow.proto.framework.TypeSpecProtoOrBuilder getTypeSpecProtoOrBuilder() {
      return getTypeSpecProto();
    }

    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 (typeSpecProto_ != null) {
        output.writeMessage(1, getTypeSpecProto());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (typeSpecProto_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getTypeSpecProto());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata)) {
        return super.equals(obj);
      }
      org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata other = (org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata) obj;

      if (hasTypeSpecProto() != other.hasTypeSpecProto()) return false;
      if (hasTypeSpecProto()) {
        if (!getTypeSpecProto()
            .equals(other.getTypeSpecProto())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasTypeSpecProto()) {
        hash = (37 * hash) + TYPE_SPEC_PROTO_FIELD_NUMBER;
        hash = (53 * hash) + getTypeSpecProto().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata 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 org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata 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 org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata 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(org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata 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>
     * Metadata for CompositeTensorVariant, used when serializing as Variant.
     * We define a new message here (rather than directly using TypeSpecProto for
     * the metadata string) to retain flexibility to change the metadata encoding
     * to support additional features.
     * </pre>
     *
     * Protobuf type {@code tensorflow.CompositeTensorVariantMetadata}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:tensorflow.CompositeTensorVariantMetadata)
        org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadataOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.tensorflow.proto.framework.CompositeTensorVariant.internal_static_tensorflow_CompositeTensorVariantMetadata_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.tensorflow.proto.framework.CompositeTensorVariant.internal_static_tensorflow_CompositeTensorVariantMetadata_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata.class, org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata.Builder.class);
      }

      // Construct using org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (typeSpecProtoBuilder_ == null) {
          typeSpecProto_ = null;
        } else {
          typeSpecProto_ = null;
          typeSpecProtoBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.tensorflow.proto.framework.CompositeTensorVariant.internal_static_tensorflow_CompositeTensorVariantMetadata_descriptor;
      }

      @java.lang.Override
      public org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata getDefaultInstanceForType() {
        return org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata.getDefaultInstance();
      }

      @java.lang.Override
      public org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata build() {
        org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata buildPartial() {
        org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata result = new org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata(this);
        if (typeSpecProtoBuilder_ == null) {
          result.typeSpecProto_ = typeSpecProto_;
        } else {
          result.typeSpecProto_ = typeSpecProtoBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @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 org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata) {
          return mergeFrom((org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata other) {
        if (other == org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata.getDefaultInstance()) return this;
        if (other.hasTypeSpecProto()) {
          mergeTypeSpecProto(other.getTypeSpecProto());
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private org.tensorflow.proto.framework.TypeSpecProto typeSpecProto_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.tensorflow.proto.framework.TypeSpecProto, org.tensorflow.proto.framework.TypeSpecProto.Builder, org.tensorflow.proto.framework.TypeSpecProtoOrBuilder> typeSpecProtoBuilder_;
      /**
       * <code>.tensorflow.TypeSpecProto type_spec_proto = 1;</code>
       */
      public boolean hasTypeSpecProto() {
        return typeSpecProtoBuilder_ != null || typeSpecProto_ != null;
      }
      /**
       * <code>.tensorflow.TypeSpecProto type_spec_proto = 1;</code>
       */
      public org.tensorflow.proto.framework.TypeSpecProto getTypeSpecProto() {
        if (typeSpecProtoBuilder_ == null) {
          return typeSpecProto_ == null ? org.tensorflow.proto.framework.TypeSpecProto.getDefaultInstance() : typeSpecProto_;
        } else {
          return typeSpecProtoBuilder_.getMessage();
        }
      }
      /**
       * <code>.tensorflow.TypeSpecProto type_spec_proto = 1;</code>
       */
      public Builder setTypeSpecProto(org.tensorflow.proto.framework.TypeSpecProto value) {
        if (typeSpecProtoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          typeSpecProto_ = value;
          onChanged();
        } else {
          typeSpecProtoBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.tensorflow.TypeSpecProto type_spec_proto = 1;</code>
       */
      public Builder setTypeSpecProto(
          org.tensorflow.proto.framework.TypeSpecProto.Builder builderForValue) {
        if (typeSpecProtoBuilder_ == null) {
          typeSpecProto_ = builderForValue.build();
          onChanged();
        } else {
          typeSpecProtoBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.tensorflow.TypeSpecProto type_spec_proto = 1;</code>
       */
      public Builder mergeTypeSpecProto(org.tensorflow.proto.framework.TypeSpecProto value) {
        if (typeSpecProtoBuilder_ == null) {
          if (typeSpecProto_ != null) {
            typeSpecProto_ =
              org.tensorflow.proto.framework.TypeSpecProto.newBuilder(typeSpecProto_).mergeFrom(value).buildPartial();
          } else {
            typeSpecProto_ = value;
          }
          onChanged();
        } else {
          typeSpecProtoBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.tensorflow.TypeSpecProto type_spec_proto = 1;</code>
       */
      public Builder clearTypeSpecProto() {
        if (typeSpecProtoBuilder_ == null) {
          typeSpecProto_ = null;
          onChanged();
        } else {
          typeSpecProto_ = null;
          typeSpecProtoBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.tensorflow.TypeSpecProto type_spec_proto = 1;</code>
       */
      public org.tensorflow.proto.framework.TypeSpecProto.Builder getTypeSpecProtoBuilder() {
        
        onChanged();
        return getTypeSpecProtoFieldBuilder().getBuilder();
      }
      /**
       * <code>.tensorflow.TypeSpecProto type_spec_proto = 1;</code>
       */
      public org.tensorflow.proto.framework.TypeSpecProtoOrBuilder getTypeSpecProtoOrBuilder() {
        if (typeSpecProtoBuilder_ != null) {
          return typeSpecProtoBuilder_.getMessageOrBuilder();
        } else {
          return typeSpecProto_ == null ?
              org.tensorflow.proto.framework.TypeSpecProto.getDefaultInstance() : typeSpecProto_;
        }
      }
      /**
       * <code>.tensorflow.TypeSpecProto type_spec_proto = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.tensorflow.proto.framework.TypeSpecProto, org.tensorflow.proto.framework.TypeSpecProto.Builder, org.tensorflow.proto.framework.TypeSpecProtoOrBuilder> 
          getTypeSpecProtoFieldBuilder() {
        if (typeSpecProtoBuilder_ == null) {
          typeSpecProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.tensorflow.proto.framework.TypeSpecProto, org.tensorflow.proto.framework.TypeSpecProto.Builder, org.tensorflow.proto.framework.TypeSpecProtoOrBuilder>(
                  getTypeSpecProto(),
                  getParentForChildren(),
                  isClean());
          typeSpecProto_ = null;
        }
        return typeSpecProtoBuilder_;
      }
      @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:tensorflow.CompositeTensorVariantMetadata)
    }

    // @@protoc_insertion_point(class_scope:tensorflow.CompositeTensorVariantMetadata)
    private static final org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata();
    }

    public static org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<CompositeTensorVariantMetadata>
        PARSER = new com.google.protobuf.AbstractParser<CompositeTensorVariantMetadata>() {
      @java.lang.Override
      public CompositeTensorVariantMetadata parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new CompositeTensorVariantMetadata(input, extensionRegistry);
      }
    };

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

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

    @java.lang.Override
    public org.tensorflow.proto.framework.CompositeTensorVariant.CompositeTensorVariantMetadata getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_tensorflow_CompositeTensorVariantMetadata_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_tensorflow_CompositeTensorVariantMetadata_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n7tensorflow/core/protobuf/composite_ten" +
      "sor_variant.proto\022\ntensorflow\032%tensorflo" +
      "w/core/protobuf/struct.proto\"T\n\036Composit" +
      "eTensorVariantMetadata\0222\n\017type_spec_prot" +
      "o\030\001 \001(\0132\031.tensorflow.TypeSpecProtoBw\n\036or" +
      "g.tensorflow.proto.frameworkZUgithub.com" +
      "/tensorflow/tensorflow/tensorflow/go/cor" +
      "e/protobuf/for_core_protos_go_protob\006pro" +
      "to3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          org.tensorflow.proto.framework.StructProtos.getDescriptor(),
        });
    internal_static_tensorflow_CompositeTensorVariantMetadata_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_tensorflow_CompositeTensorVariantMetadata_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_tensorflow_CompositeTensorVariantMetadata_descriptor,
        new java.lang.String[] { "TypeSpecProto", });
    org.tensorflow.proto.framework.StructProtos.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
