code: public org.tensorflow.framework.TensorShapeProtoOrBuilder getShapeOrBuilder() {
      if (valueCase_ == 7) {
         return (org.tensorflow.framework.TensorShapeProto) value_;
      }
      return org.tensorflow.framework.TensorShapeProto.getDefaultInstance();
    }
docs: <pre>
  "shape"
  </pre>
  
  <code>optional .tensorflow.TensorShapeProto shape = 7;</code>